Problem in Running Trigger

View: New views
1 Messages — Rating Filter:   Alert me  

Problem in Running Trigger

by Vishwadeep :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Hsqldb-user mailing list
Hsqldb-user@...
https://lists.sourceforge.net/lists/listinfo/hsqldb-user
LightInTheBox - Buy quality products at wholesale price