have you tried adding the entities to your persistence.xml?

  | <persistence>
  | 
  |     <persistence-unit name="database" transaction-type="RESOURCE_LOCAL">
  |     <jta-data-source>java:/MySqlDS</jta-data-source>
  | 
  |         <!-- LIST ENTITIES HERE -->
  |         <class> com.kukinbuk.hibernate.RecipePicture</class>
  | 
  |         <properties>
  |          <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
  |          <property name="hibernate.dialect" 
value="org.hibernate.dialect.MySQLDialect"/>
  |  </properties>
  | 
  | 
  | </persistence-unit>
  | 
  | 
  | 
  | </persistence>      

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067496#4067496

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067496
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to