Re: EntityManagerFactory configure - Update!!

2007-10-01 Thread Patrick Linskey
you know what has happened! > >> > > >> > Janap > >> > > >> > > >> > > >> > Alessandro Ferrucci-3 wrote: > >> >> > >> >> There is no obligatory contract between the EntityManagerFactory and > >

Re: EntityManagerFactory configure - Update!!

2007-10-01 Thread Janap
EntityManagerFactory and >> >> whatever container/environment you are in. The EntityManagerFactory >> >> is...just that..a factory of EntityManagers. Read: >> >> >> http://openjpa.apache.org/docs/latest/manual/manual.html#jpa_overview_emfactory_obtainto >&g

Re: EntityManagerFactory configure - Update!!

2007-10-01 Thread Patrick Linskey
gt;>- > >> > >>openjpa.ConnectionPassword > >>- > >> > >> openjpa.ConnectionRetainMode > >>- > >> > >>openjpa.TransactionMode > >>- > >> > >>openjpa., where * * is any JavaBean property of > >>the > >> org.apache.openjpa.persistence.OpenJPAEntityManager<http://openjpa.apache.org/docs/latest/javadoc/org/apache/openjpa/persistence/OpenJPAEntityManager.html>. > >> > >> > >> Also of importance is this: > >> > >> http://openjpa.apache.org/docs/latest/manual/manual.html#jpa_overview_persistence_xml > >> > >> this tells you how to configure a certain factory in non-EE settings. > >> > >> > >> HTH > >> > >> Alessandro Ferrucci. > >> > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/EntityManagerFactory-configure-tf4547543.html#a12980798 > Sent from the OpenJPA Users mailing list archive at Nabble.com. > > -- Patrick Linskey 202 669 5907

Re: EntityManagerFactory configure - Update!!

2007-10-01 Thread Janap
<http://openjpa.apache.org/docs/latest/javadoc/org/apache/openjpa/persistence/OpenJPAEntityManager.html>. >> >> >> Also of importance is this: >> >> http://openjpa.apache.org/docs/latest/manual/manual.html#jpa_overview_persistence_xml >> >> this tells you how to configure a certain factory in non-EE settings. >> >> >> HTH >> >> Alessandro Ferrucci. >> >> >> > > -- View this message in context: http://www.nabble.com/EntityManagerFactory-configure-tf4547543.html#a12980798 Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: EntityManagerFactory configure

2007-10-01 Thread Janap
ve the connection username and >> password beforehand. All authentication takes place after user logs in(no >> connection pooling!) >> >> can someone plz suggest how to use OpenJPA in this context?? >> >> thx in advance >> Janap > > > -- View this message in context: http://www.nabble.com/EntityManagerFactory-configure-tf4547543.html#a12978170 Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: EntityManagerFactory configure

2007-10-01 Thread Janap
ml>. > > > Also of importance is this: > > http://openjpa.apache.org/docs/latest/manual/manual.html#jpa_overview_persistence_xml > > this tells you how to configure a certain factory in non-EE settings. > > > HTH > > Alessandro Ferrucci. > > >

Re: EntityManagerFactory configure

2007-10-01 Thread Ognjen Blagojevic
Hello Janap, Maybe you can try comething like this: public static EntityManagerFactory createEntityManagerFactory(String persistenceUnitName, Map properties) "Create and return an EntityManagerFactory for the named persistence unit using the given properties." Put username, password an

Re: EntityManagerFactory configure

2007-10-01 Thread Alessandro Ferrucci
ction username and password > beforehand. All authentication takes place after user logs in(no > connection > pooling!) > > can someone plz suggest how to use OpenJPA in this context?? > > thx in advance > Janap > -- > View this message in context: > http://www.nabble.com/E

EntityManagerFactory configure

2007-10-01 Thread Janap
: http://www.nabble.com/EntityManagerFactory-configure-tf4547543.html#a12976940 Sent from the OpenJPA Users mailing list archive at Nabble.com.