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 21:27:51 GMT
> I've been fighting for some time now with my OpenJPA configuration  
> and just
> discovered why. It seems that you *either* consider the  
> persistence.xml file
> *or* the map passed as parameter of  
> Persistence.createEntityManagerFactory.
> If you look at PersistenceProductDerivation.load(String rsrc,  
> String name,
> Map m) (line 151), if the configuration provider can find a  
> configuration
> file then the configuration is returned as is and the provided  
> configuration
> Map doesn't even gets considered.

I don't see this.  The Map is passed along to the method that loads  
the configuration file, which passes it along to the configuration  
parser, which sets its entries over the properties it parses.
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