openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <>
Subject RE: Problem with sequence trying to commit inside a JTA tx
Date Wed, 04 Oct 2006 16:21:00 GMT
> Following the advice there (and elsewhere) I managed to get my  
> example working!!! The main step appears to be including a non-jta  
> datasource.


> I'm still unable to figure out how to get the tables auto-created.   
> Putting properties in persistence.xml or feeding them to  
> persistenceProvider.createContainerEntityManagerFactory doesn't seem  
> to have any discernable effect.  Any advice on how to figure 
> out what  
> is going on?

Have you set the SynchronizeMappings property?

> Is there an m2 plugin for running the tools for e.g. creating 
> tables,  
> db scripts, etc?

Not currently, no.

> Also, it appears that the documentation generally says 
> property names  
> are e.g. openjpa.jdbc.kernel.PropertyName whereas there is some  
> indication in the code that they are the more correct  
> org.apache.openjpa.jdbc.kernel.PropertyName.  Which is right?  If  
> they are actually as per the docs shouldn't they be changed pronto?

Actually, generally they're of the form openjpa.PropertyName for
general-purpose (non-JDBC-specific) properties, and
openjpa.jdbc.PropertyName for JDBC-specific stuff.

Personally, I think that adding the org.apache. to the beginning is more
noisy than anything else. But obviously, it'd be possible to do so.

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