See [1] for a complete example. But in short, you need to add the following property to your persistence.xml properties
<property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema"/> [1] http://plunchete.wordpress.com/2007/05/06/using-openjpa/ -Judes On Fri, Jul 3, 2009 at 6:16 AM, C N Davies <[email protected]> wrote: > Hi, > > > > What do I need to set to have tables automatically generated by OpenJPA? > > > > Thanks > > > > Chris > >
