Hi All, I kept getting this exception in my application. Except change the the JDBC Drive (I am using the MS Version), is there any other way to solve this?
I have an Employee entity, a Project entity and every Employee manage a list of his favorite projects as MyProject list. And in the mapping, MyProject has many-to-one relationship to both Employee and Project. But when I try to delete one record from the MyProject list, the above exception is thrown. try { tx = session.beginTransaction(); MyProject mp=(MyProject)session.load(MyProject.class, new Long(myProject_id)); session.delete(mp); tx.commit(); } catch ( HibernateException e ) { if ( tx != null ) { tx.rollback(); } System.err.println(e.getMessage()); } Appreciate so much your help, best, Jack ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel