Everything seems OK. I can call create() to create records and find the records. However, when I used other tools (Oracle client DBA and JBuiler DB Client tool), I didn't find any records in the table. Strangely, after I restarted the JBoss Server, I still can find the records from the Entity Bean. Where are those records? Do I need to configure a "commit" command or something?
Any help? Thanks.
Can you post your config files so we can have a look.
It sounds like you are inserting into a different database. Have you made changes to tell jboss which database to use?