users@glassfish.java.net

Re: JoinTable not always updated!!!???

From: <glassfish_at_javadesktop.org>
Date: Mon, 25 Jun 2007 13:36:07 PDT

> In the initial example, what is
> garageEntityBeanFacade?
>
> Is it an actual EntittyManager, or is it something
> else? If it is somethign else, what does the "find"
> method do?

Using the design pattern implemented in NetBeans for accessing EntityBeans


@Stateless
public class GarageEntityBeanFacade implements GarageEntityBeanFacadeLocal
public GarageEntityBean find(Object pk) {
      return (GarageEntityBean) em.find(GarageEntityBean.class, pk);
   }


@Local
public interface GarageEntityBeanFacadeLocal
[Message sent by forum member 'samdoyle' (samdoyle)]

http://forums.java.net/jive/thread.jspa?messageID=223856