openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: Propblem with OpenEJB + Toplink unit tests
Date Tue, 05 Aug 2008 05:10:25 GMT

On Aug 4, 2008, at 6:51 PM, David Blevins wrote:

> Marcin,
>
> Do you happen to know what the TopLink property is for automatically  
> creating all the required tables?
>
> In OpenJPA it's:
>      <property name="openjpa.jdbc.SynchronizeMappings"  
> value="buildSchema(ForeignKeys=true)"/>
>
> In Hibernate it's:
>      <property name="hibernate.hbm2ddl.auto" value="create-drop"/>

Got it (for EclipseLink anyway):

     <properties>
       <property name="eclipselink.target-database"  
value="org.eclipse.persistence.platform.database.HSQLPlatform"/>
       <property name="eclipselink.ddl-generation" value="create- 
tables"/>
       <property name="eclipselink.ddl-generation.output-mode"  
value="database"/>
     </properties>

-David


Mime
View raw message