[jboss-user] [EJB 3.0] - encapsulating the Persist in a POJO

dyahav do-not-reply at jboss.com
Sun Nov 9 12:39:07 EST 2008


Hi all,
I was thinking of encapsulating the Persist operation in a POJO. for example:
class MyEnt{

public void myPersist()
{
     entityManager.persist(this);
}

Is it reasonable?
Thanks
Dyahav

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187970#4187970

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187970



More information about the jboss-user mailing list