geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: svn commit: r551608 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/bin/ maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/
Date Fri, 29 Jun 2007 12:58:36 GMT

On Jun 28, 2007, at 5:54 PM, David Jencks wrote:

> This looks to me like a dreadful approach.  Did you try including  
> the property in defaultPersistenceUnitProperties in the persistence  
> builder config
>
> <module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
>
>     <gbean name="PersistenceUnitBuilder"  
> class="org.apache.geronimo.persistence.builder.PersistenceUnitBuilder" 
> >
>         <attribute  
> name="defaultPersistenceProviderClassName">org.apache.openjpa.persiste 
> nce.PersistenceProviderImpl</attribute>
>         <attribute name="extendedEntityManagerRegistryName">? 
> name=ExtendedEntityManagerRegistry#org.apache.geronimo.persistence.Ext 
> endedEntityManagerRegistry</attribute>
>         <attribute name="defaultPersistenceUnitProperties">
>             openjpa.Log=commons
>             openjpa.ClassTransformerOptions=ScanDevPath=true
>              
> openjpa.jdbc.DBDictionary=org.apache.openjpa.jdbc.sql.DerbyDictionary
>             openjpa.jdbc.SynchronizeMappings=buildSchema 
> (ForeignKeys=true,SchemaAction='add,deleteTableContents')
>             openjpa.Sequence=table(Table=OPENJPASEQ, Increment=100)
>         </attribute>
>         <xml-attribute name="defaultEnvironment">
>             <environment xmlns="http://geronimo.apache.org/xml/ns/ 
> deployment-1.1">
>                 <dependencies>
>                     <dependency>
>                         <groupId>org.apache.geronimo.configs</groupId>
>                         <artifactId>openjpa</artifactId>
>                         <type>car</type>
>                     </dependency>
>                 </dependencies>
>             </environment>
>         </xml-attribute>
>     </gbean>
>

Setting the property on defaultPersistenceUnitProperties doesn't  
work. Setting the property in CmpJpaConversion.java in OpenEJB didn't  
work, either. I'll dig further. First, however, I'll have a look at  
remaining tck problems...

--kevan

Mime
View raw message