Im using a different database and Im using process based database. Other then that I don't see a difference. On Nov 24, 2009, at 12:40 AM, crispyoz [via OpenJPA] wrote:
> Your properties look different to mine: > > <property name="openjpa.ConnectionDriverName" > value="com.mysql.jdbc.Driver" /> > <property name="openjpa.ConnectionURL" > value="jdbc:mysql://localhost:3306/trm" /> > <property name="openjpa.ConnectionUserName" > value="root" /> > <property name="openjpa.ConnectionPassword" > value="password" /> > <property name="openjpa.jdbc.SynchronizeMappings" > value="buildSchema(ForeignKeys=true)" /> > <property name="openjpa.Log" > value="DefaultLevel=ERROR, Tool=ERROR" /> > > -----Original Message----- > From: Thomas Polliard [mailto:[hidden email]] > Sent: Tuesday, 24 November 2009 3:54 PM > To: [hidden email] > Subject: RE: Schema wont create > > > Here is my persistence.xml. Yes the classes are specified. > > <?xml version="1.0" encoding="UTF-8"?> > <persistence version="1.0" > xmlns="http://java.sun.com/xml/ns/persistence" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://java.sun.com/xml/ns/persistence > http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"> > <persistence-unit name="icloud"> > > <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider> > > <class>com.trukoda.icloud.Article</class> > <class>com.trukoda.icloud.Author</class> > <class>com.trukoda.icloud.Tag</class> > > <properties> > <property name="openjpa.ConnectionUserName" > value="SA"/> > <property name="openjpa.ConnectionPassword" > value=""/> > <property name="openjpa.ConnectionURL" > value="jdbc:hsqldb:file:/Users/polliard/Workspace/iCloud/build/db/personal;s > hutdown=true"/> > <property name="openjpa.ConnectionDriverName" > value="org.hsqldb.jdbcDriver"/> > <property name="openjpa.ConnectionFactoryProperties" > value="PrettyPrint=true, > PrettyPrintLineLength=80"/> > <property name="openjpa.jdbc.SynchronizeMappings" > value="buildSchema(ForeignKeys=true)"/> > > </properties> > </persistence-unit> > </persistence> > -- > View this message in context: > http://n2.nabble.com/Schema-wont-create-tp4055690p4055866.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. > > > > View message @ http://n2.nabble.com/Schema-wont-create-tp4055690p4055973.html > To unsubscribe from RE: Schema wont create, click here. > -- View this message in context: http://n2.nabble.com/Schema-wont-create-tp4055690p4055979.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
