[JBoss-user] [EJB 3.0] - Re: Database overwritten at each JBoss startup once again.

2005-12-10 Thread jmoring
Solved my problem Sorry I didn't search the forums before posting this (emotions were running high:) ). The default Persistence.properties in Ebj3/deployer contained the SchemaUpdate option. I removed it and now my tables are unchanged at start up. View the original post : http://www.jbo

[JBoss-user] [EJB 3.0] - Re: Database overwritten at each JBoss startup once again.

2005-12-10 Thread jmoring
How do you get JBoss/Hibernate to never generate DDL? I left the option out of the persistence.xml file and it seems the default is to create the tables on startup and drop them on shutdown. If this is true it is insane. Who would ever want that option let alone have it as the default. Hopefully

[JBoss-user] [EJB 3.0] - Re: Database overwritten at each JBoss startup once again.

2005-12-09 Thread silviu.marcu
it is reading ... you should have: in xyz.ejb3 file you can have a META-INF/persistence.xml this is read at ejb3 deploy time ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911826#3911826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[JBoss-user] [EJB 3.0] - Re: Database overwritten at each JBoss startup once again.

2005-12-09 Thread tzablock
I've managed to fix this issue at last. I'm using Oracle Express database. Unfortunately JBoss is not reading this hbm2dll property while deploying the application. I had to configure the persistance.properties file in the ejb3.deployer folder. That was the solution... View the original post :

[JBoss-user] [EJB 3.0] - Re: Database overwritten at each JBoss startup once again.

2005-12-09 Thread silviu.marcu
what db are you using ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911816#3911816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911816 --- This SF.net email is