Hi,
I am using HSQLDB for JUNIT test coverage of my project.
The problem i am facing is,
We have our main database is in MSSQL, where in each and every table we are having default date field.
Means as we insert any row MSSQL fill the date coloumn.
So for that date field in our hibernate mapping file we are having property insert/update = false.
Now for junit test these mapping files are creating tables. and using these mapping files only we insert data.
but here i am getting problem since for date field property is insert/update = false in mapping files.
so i am not able set date and getting error cannot insert null in non - nullable coulmn.
is there any other way in HSQLDB to resolve this issue.
Thanks in Advance
Vishwa
|