on 03-21-2008 11:10 AM
Hi
How can i obtain a EntityManagerFactory in the NW CE 7.1.
My object is not a container managed object (it's a simple POJO) so container injection want work in that case, so i guess the only way to get EntityManagerFactory in this case ( according to the JPA spec) is through jndi lookup, but
i cant find its jndi name on jndi browser tab in the SAP NetWeaver Administrator panel.
Maybe it because of the malformed presistence.xml file - perhaps a property missing.
My persistence.xml consists of the following entries
<persistence-unit name="test1" transaction-type="JTA">
<jta-data-source>testDataSource</jta-data-source>
<class>test.TestEntity</class>
<jta-data-source>
<persistence-unit>
Br
PF
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.