you know what has happened!
> >> >
> >> > Janap
> >> >
> >> >
> >> >
> >> > Alessandro Ferrucci-3 wrote:
> >> >>
> >> >> There is no obligatory contract between the EntityManagerFactory and
> >
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
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
<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.
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.
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.
>
>
>
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
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
:
http://www.nabble.com/EntityManagerFactory-configure-tf4547543.html#a12976940
Sent from the OpenJPA Users mailing list archive at Nabble.com.