Results 1 to 1 of 1
- 10-08-2010, 05:49 AM #1Member
- Join Date
- Oct 2010
- Rep Power
Am using hibernate in my project.
I had configured like,
<id name="id" column="REPORTUSER_ID" type="java.lang.Integer">
Also i have hibernate_sequence in my database(Oracle 9i).
I had deployed my application in apache tomcat 6.0.
But wen i try to insert a new record sequence is not running.
Instead null value is set in the place. See the query below.
Hibernate: insert into REPORT_USER (NAME, PASSWORD, EXTERNAL_ID, EMAIL_ADDRESS, PDF_EXPORT_TYPE, DEFAULT_REPORT_ID, REPORTUSER_ID) values (?, ?, ?, ?, ?, ?, null).
What could be the problem??
Awaiting for the responses.