This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database changes vanish after jboss closed

 
gina das
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic