Hi,
I am getting a problem loading objects with hibernate. I am using hibernate 2.1.1.
In my application, each interface command has its own session. The session is started at the begin and closed at the end of the commnad.
I am trying to so two commands: create and consult an object.
In the first command, when I store the object in the database, everything goes fine, and I can see the object in the database with the mysql shell.
In the second command, when I try to load the stored objects, hibernate does not find the object stored in the previous command.
Does anyone know what might be the problem?
Thanks in advance,
Joao Rangel
|