The moose likes JBoss/WildFly and the fly likes Database changes vanish after jboss closed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Database changes vanish after jboss closed" Watch "Database changes vanish after jboss closed" New topic
Author

Database changes vanish after jboss closed

gina das
Greenhorn

Joined: Sep 21, 2007
Posts: 1
hi

first of all, apologies for the vagueness and potential dumbness of this question! I?ve got oracle xe set up with jboss 4.0.5 and i'm using ejb3 annotations to get everything chatting

in my database, i've a table that i'm trying to map to, the first problem is that jboss seems to go and create a neew table instead of work with my current one, iit just creates onee, with the same name but capitalised

But the more concerning problem is that as soon as i shut down jboss, all my entries vanish, new table included, and i'd like the changes to be permanent, i'm using the .flush method, but probably rather unintelligibly as it seems to make no difference. i've read about extend transaction contexts, but i'm not sure if that would solve my problem

here are my files and the most relevant seeming section of my server log



&



&





persistence.xml:



my oracle-ds file:




and server log


as you cann see when i shutdown the server, there is a bit of a hoopla in the log about my beans too






thanks in advance for any help and for reading thus far!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Database changes vanish after jboss closed