This content has been marked as final. 
    
Show                 5 replies
    
- 
        1. Re: CRUDabchilla Nov 7, 2006 8:11 AM (in response to chl-cert)Hi, 
 i am also facing problems with the CRUD example, as i posted in http://jboss.com/index.html?module=bb&op=viewtopic&t=94106
 Does the inserting work, or do you also become the same errors?
 [/url]
- 
        2. Re: CRUDpmuir Nov 7, 2006 8:43 AM (in response to chl-cert)Just use <property name="hibernate.hbm2ddl.auto" value="create-drop" /> in your peristence.xml so that the tables are automatically created by hibernate
- 
        3. Re: CRUDchl-cert Nov 7, 2006 9:07 AM (in response to chl-cert)I have the problem that I don't have the tables in database, and so I cant test the reengeneering. 
 Can you send me the create table commands with the foreign key constraints?
- 
        4. Re: CRUDpmuir Nov 7, 2006 9:21 AM (in response to chl-cert)No. Hibernate will create the tables for you if you use create-drop (and of course the user has permission to create tables). 
- 
        5. Re: CRUDchl-cert Nov 7, 2006 10:07 AM (in response to chl-cert)"petemuir" wrote: 
 No. Hibernate will create the tables for you if you use create-drop (and of course the user has permission to create tables).
 But the reengeniereing for the seam crud application works out of the mysql database schema -> Or am I false
 
     
    