openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abe White <awh...@bea.com>
Subject Re: Configuration: either / or ?
Date Wed, 03 Jan 2007 22:20:01 GMT
> But if I don't provide openjpa.ConnectionDriverName the call to
> createEntityManager fails with an exception saying that  
> ConnectionDriverName
> should be provided (coming from DataSourceFactory):

You need to provide it to createEntityManagerFactory.  Not to  
createEntityManager.  You shouldn't be passing anything to  
createEntityManager.  Use the no-args version.
_______________________________________________________________________
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.

Mime
View raw message