[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: MySqlDS: lost all tables (and data)!

giaulo do-not-reply at jboss.com
Tue Jul 15 03:20:43 EDT 2008


Yes, I'm using JPA in my code.
This is the persistence.xml:
<?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="AddressBook-ejbPU" transaction-type="JTA">
  |     <jta-data-source>java:/DefaultDS</jta-data-source>
  |     <properties>
  |       <property name="hibernate.hbm2ddl.auto" value="update"/>         
  |     </properties>
  |   </persistence-unit>
  | </persistence>

Help me...

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164397



More information about the jboss-user mailing list