• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where is the record?  RSS feed

 
Arfoo Huang
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm running an CMP Entity bean on JBoss 3.0. From the client, I can call create() to add records and find the records. However, I don't know where is the record stored. I did configure the Oracle connection in oracle-service.xml, but there is no records found in the table. Strangely, I can still find the records even the server was restarted. Any help? Thanks.
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are you sure you're looking at the correct database? LOL, this is strange...
 
Arfoo Huang
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It was because the jboss.xml and jbosscmp-jdbc.xml were not added to the JAR file. It confused me that even without these 2 files. JBoss can still create the table using default database. I guess it uses the field names as the column names.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!