RE: name of JDBCPersistenceProductDerivation

2006-09-01 Thread Patrick Linskey
> > One more: why is there no openjpa.xml? I saw that it can provide  
> > globals (constants?) while bootstrapping but i can find 
> none in the  
> > source tree.
> 
> Because you can use the JPA-standard persistence.xml instead, which  
> is loaded by default whenever no explicit alternate is provided,  
> according to the JPA spec.  The JDO spec doesn't have a default  
> properties file location, so kodo.properties is somewhat useful  
> there, but we don't expect many users to want an openjpa.xml globals  
> file.

Meanwhile, we (BEA) are working on a XML configuration file format for
configuring Kodo in a WebLogic Server environment. Currently, we're
calling this file "persistence-configuration.xml"; the basic idea is
that all the non-JPA-standard information will be in
persistence-configuration.xml, and people will not need to use the
name-value pairs in the persistence.xml. We (BEA) would love to get this
format or something like it into OpenJPA -- I should send out an email
outlining what we've done so far one of these days.

-Patrick
___
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.


Re: name of JDBCPersistenceProductDerivation

2006-09-01 Thread Abe White


Now i wonder how good the name "JDBCPersistenceProductDerivation"  
is because it says nothing about the spec it uses


The package name of JPA is javax.persistence.  So any time there's a  
class/package in OpenJPA that has "persistence" in it, it's referring  
to JPA.  For the JDO equivalent in Kodo, replace "persistence" with  
"JDO".


We had to name these things while the spec was still called "EJB 3",  
so just be thankful we didn't wind up with "EJB" everywhere :)


One more: why is there no openjpa.xml? I saw that it can provide  
globals (constants?) while bootstrapping but i can find none in the  
source tree.


Because you can use the JPA-standard persistence.xml instead, which  
is loaded by default whenever no explicit alternate is provided,  
according to the JPA spec.  The JDO spec doesn't have a default  
properties file location, so kodo.properties is somewhat useful  
there, but we don't expect many users to want an openjpa.xml globals  
file.

___
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.