Hello All,
I am newbie to Hibernate. Today, I am assigned one issue to fix is ASAP. Whenever i execute following query against Oracle database and schema1
[b]session.createQuery("from " + objectName + orderBy)[/b]
i am getting following exception.
[b]org.hibernate.ObjectNotFoundException: No row with the given identifier exists:[/b]
But the same code works fine with schema2. As i have been assigned this task today, i purchases a Hibernate book and started reading it. But its going to take fews days to under stand hibernate. As people wants me to fix this issue ASAP, i will appreciate any pointers or help.
Thanks
Prashant
|