[JBoss-user] [EJB 3.0] - Database overwritten at each JBoss startup.

2005-12-09 Thread tzablock
Hi i'm having this kind of issue:
I'm using JBOSS AS 4.0.3 and Oracle 10g Express Database. I'm preparing a test 
applilcation with persistance mechanism in EJB3.

The problem is that whenever I shutdown and run the server, the database data 
(tables, rows etc) is overwritten with new ones, so everything that was 
inserted into the tables is deleted.

The second issue is that I don't want Jboss to create the database each time it 
gets up - I'd just like to map @Entities to the existing DB schema.

I'd be grateful for any help.

tzablock.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911724#3911724

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911724


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-12-09 Thread tzablock
Although i have his line in my persistance.xml file

property name=hibernate.hbm2ddl.auto value=update / 

the database gets recreated each time the application is deployed or the server 
is shutdown.

Any clue on what is the reason?

tzablock

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911769#3911769

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911769


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user