openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abe White <>
Subject Re: Configuration: either / or ?
Date Wed, 03 Jan 2007 22:04:30 GMT
> When execute, for each of the Map key I'm passing I'm getting:
> <4|false|0.9.6-incubating-SNAPSHOT>
> org.apache.openjpa.persistence.ArgumentException: Missing getter for
> property "ConnectionDriverName" in type "class
> org.apache.openjpa.persistence.EntityManagerImpl".

Because you shouldn't be passing your property map to the  
createEntityManager call.  That call takes EntityManager properties,  
not EntityManagerFactory settings.
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

View raw message