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;shutdown=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.