From: Urberg, J. <ju...@ve...> - 2002-08-15 13:09:35
|
> Whoooaahh: > > >> session.update(entry); > > This line is a bit confusing.... That was left over from when I was passing the whole entry over. I took it out and the problem continues. I've attached the output from the TRACE below. I'll have to check with my manager to see if I can send you the code. Regards, John 0 [main] INFO <cirrus.hibernate.helpers.XMLHelper> Parsing XML: unknown system id 31 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> trying to locate http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath under cirrus/hibernate/ 31 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> found http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath 281 [main] DEBUG <cirrus.hibernate.map.Root> Root class: domain.MessageBox -> message_box 312 [main] INFO <cirrus.hibernate.helpers.XMLHelper> Parsing XML: unknown system id 312 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> trying to locate http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath under cirrus/hibernate/ 312 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> found http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath 344 [main] DEBUG <cirrus.hibernate.map.Root> Root class: domain.MessageBoxEntry -> message_box_entry 344 [main] INFO <cirrus.hibernate.helpers.XMLHelper> Parsing XML: unknown system id 359 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> trying to locate http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath under cirrus/hibernate/ 359 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> found http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath 406 [main] DEBUG <cirrus.hibernate.map.Root> Root class: domain.MessageBoxEntryView -> message_view_list 406 [main] INFO <cirrus.hibernate.helpers.XMLHelper> Parsing XML: unknown system id 406 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> trying to locate http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath under cirrus/hibernate/ 422 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> found http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath log4j:ERROR No appenders could be found for category (org.apache.jcs.engine.control.CompositeCacheManager). log4j:ERROR Please initialize the log4j system properly. 578 [main] DEBUG <cirrus.hibernate.map.Root> Root class: domain.Message -> message_table 578 [main] INFO <cirrus.hibernate.helpers.XMLHelper> Parsing XML: unknown system id 594 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> trying to locate http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath under cirrus/hibernate/ 594 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> found http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath 609 [main] DEBUG <cirrus.hibernate.map.Root> Root class: domain.MessageAddressee -> message_addressee 609 [main] INFO <cirrus.hibernate.helpers.XMLHelper> Parsing XML: unknown system id 609 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> trying to locate http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath under cirrus/hibernate/ 625 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> found http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath 672 [main] DEBUG <cirrus.hibernate.map.Root> Root class: domain.AddresseeGroup -> addressee_group 672 [main] INFO <cirrus.hibernate.helpers.XMLHelper> Parsing XML: unknown system id 672 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> trying to locate http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath under cirrus/hibernate/ 672 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> found http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath 703 [main] DEBUG <cirrus.hibernate.map.Root> Root class: domain.AddresseeGroupEntry -> addressee_group_entry 703 [main] INFO <cirrus.hibernate.helpers.XMLHelper> Parsing XML: unknown system id 719 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> trying to locate http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath under cirrus/hibernate/ 719 [main] DEBUG <cirrus.hibernate.helpers.DTDEntityResolver> found http://hibernate.sourceforge.net/hibernate-mapping.dtd in classpath 734 [main] DEBUG <cirrus.hibernate.map.Root> Root class: domain.StaffImpl -> staff 765 [main] INFO <cirrus.hibernate.Environment> loaded properties from resource hibernate.properties 765 [main] INFO <cirrus.hibernate.Environment> echoing all SQL to stdout 765 [main] INFO <cirrus.hibernate.Environment> JVM proxy support: true 781 [main] DEBUG <cirrus.hibernate.impl.SessionFactoryImpl> Instantiating session factory 781 [main] INFO <cirrus.hibernate.sql.Dialect> Using dialect: class cirrus.hibernate.sql.SybaseDialect 859 [main] INFO <cirrus.hibernate.connection.DriverManagerConnectionProvider> Hibernate connection pool size: 2 875 [main] INFO <cirrus.hibernate.connection.DriverManagerConnectionProvider> Using driver: com.sybase.jdbc2.jdbc.SybDriver at URL: jdbc:sybase:Tds:localhost:2638 906 [main] INFO <cirrus.hibernate.ps.PreparedStatementCache> prepared statement cache size: 100 906 [main] INFO <cirrus.hibernate.impl.SessionFactoryImpl> Use outer join fetching: true 906 [main] INFO <cirrus.hibernate.impl.SessionFactoryImpl> Use JDBC 2 API: true 1094 [main] WARN <cirrus.hibernate.impl.SessionFactoryImpl> no JDNI name configured 1094 [main] DEBUG <cirrus.hibernate.impl.SessionFactoryObjectFactory> initializing class SessionFactoryObjectFactory 1109 [main] DEBUG <cirrus.hibernate.impl.SessionFactoryObjectFactory> registered: 2c93abb5efae079800efae079bf00000 (unnamed) 1109 [main] INFO <cirrus.hibernate.impl.SessionFactoryImpl> Query language substitutions: {true=1, yes='Y', false=0, no='N'} 1109 [main] DEBUG <cirrus.hibernate.impl.SessionFactoryImpl> Instantiated session factory 1109 [main] DEBUG <cirrus.hibernate.connection.DriverManagerConnectionProvider> Opening new JDBC connection 1484 [main] DEBUG <cirrus.hibernate.connection.DriverManagerConnectionProvider> Created connection to: jdbc:sybase:Tds:localhost:2638, Isolation Level: 2 1531 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> opened session 1531 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.MessageBoxEntry#475 1531 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.MessageBoxEntry#475 1531 [main] DEBUG <cirrus.hibernate.impl.SessionFactoryImpl> prepared statement get: SELECT message_box1.id AS id0, message_box1.description AS description0, message_table2.id AS id1, message_table2.subject AS subject1, message_table2.message_text AS message_text1, message_table2.date_sent AS date_sent1, message_table2.staff_id AS staff_id1, staff3.id AS id2, staff3.staffid AS staffid2, staff3.firstname AS firstname2, staff3.middleinitial AS middleinitial2, staff3.lastname AS lastname2, staff3.privilege_level AS privilege_level2, staff4.id AS id3, staff4.staffid AS staffid3, staff4.firstname AS firstname3, staff4.middleinitial AS middleinitial3, staff4.lastname AS lastname3, staff4.privilege_level AS privilege_level3, message_box_entry0.id AS id4, message_box_entry0.message_box_id AS message_box_id4, message_box_entry0.message_id AS message_id4, message_box_entry0.staff_id AS staff_id4, message_box_entry0.read_flag AS read_flag4 FROM message_box_entry message_box_entry0 LEFT OUTER JOIN message_box message_box1 ON message_box_entry0.message_box_id=message_box1.id LEFT OUTER JOIN message_table message_table2 ON message_box_entry0.message_id=message_table2.id LEFT OUTER JOIN staff staff3 ON message_table2.staff_id=staff3.id LEFT OUTER JOIN staff staff4 ON message_box_entry0.staff_id=staff4.id WHERE message_box_entry0.id = ? Hibernate: SELECT message_box1.id AS id0, message_box1.description AS description0, message_table2.id AS id1, message_table2.subject AS subject1, message_table2.message_text AS message_text1, message_table2.date_sent AS date_sent1, message_table2.staff_id AS staff_id1, staff3.id AS id2, staff3.staffid AS staffid2, staff3.firstname AS firstname2, staff3.middleinitial AS middleinitial2, staff3.lastname AS lastname2, staff3.privilege_level AS privilege_level2, staff4.id AS id3, staff4.staffid AS staffid3, staff4.firstname AS firstname3, staff4.middleinitial AS middleinitial3, staff4.lastname AS lastname3, staff4.privilege_level AS privilege_level3, message_box_entry0.id AS id4, message_box_entry0.message_box_id AS message_box_id4, message_box_entry0.message_id AS message_id4, message_box_entry0.staff_id AS staff_id4, message_box_entry0.read_flag AS read_flag4 FROM message_box_entry message_box_entry0 LEFT OUTER JOIN message_box message_box1 ON message_box_entry0.message_box_id=message_box1.id LEFT OUTER JOIN message_table message_table2 ON message_box_entry0.message_id=message_table2.id LEFT OUTER JOIN staff staff3 ON message_table2.staff_id=staff3.id LEFT OUTER JOIN staff staff4 ON message_box_entry0.staff_id=staff4.id WHERE message_box_entry0.id = ? 1531 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> Preparing statement: SELECT message_box1.id AS id0, message_box1.description AS description0, message_table2.id AS id1, message_table2.subject AS subject1, message_table2.message_text AS message_text1, message_table2.date_sent AS date_sent1, message_table2.staff_id AS staff_id1, staff3.id AS id2, staff3.staffid AS staffid2, staff3.firstname AS firstname2, staff3.middleinitial AS middleinitial2, staff3.lastname AS lastname2, staff3.privilege_level AS privilege_level2, staff4.id AS id3, staff4.staffid AS staffid3, staff4.firstname AS firstname3, staff4.middleinitial AS middleinitial3, staff4.lastname AS lastname3, staff4.privilege_level AS privilege_level3, message_box_entry0.id AS id4, message_box_entry0.message_box_id AS message_box_id4, message_box_entry0.message_id AS message_id4, message_box_entry0.staff_id AS staff_id4, message_box_entry0.read_flag AS read_flag4 FROM message_box_entry message_box_entry0 LEFT OUTER JOIN message_box message_box1 ON message_box_entry0.message_box_id=message_box1.id LEFT OUTER JOIN message_table message_table2 ON message_box_entry0.message_id=message_table2.id LEFT OUTER JOIN staff staff3 ON message_table2.staff_id=staff3.id LEFT OUTER JOIN staff staff4 ON message_box_entry0.staff_id=staff4.id WHERE message_box_entry0.id = ? 1547 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> Initializing object from ResultSet: 2 1547 [main] DEBUG <cirrus.hibernate.impl.ClassPersister> Hydrating entity: domain.MessageBox#2 1547 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> Initializing object from ResultSet: 359 1547 [main] DEBUG <cirrus.hibernate.impl.ClassPersister> Hydrating entity: domain.Message#359 1578 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.StaffImpl#49 1578 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.StaffImpl#49 1578 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Cache lookup: 359 1578 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Cache miss: 359 1594 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> Initializing object from ResultSet: 49 1594 [main] DEBUG <cirrus.hibernate.impl.ClassPersister> Hydrating entity: domain.StaffImpl#49 1594 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Caching: 49 1594 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Cached: 49 1594 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> Initializing object from ResultSet: 475 1594 [main] DEBUG <cirrus.hibernate.impl.ClassPersister> Hydrating entity: domain.MessageBoxEntry#475 1594 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.MessageBox#2 1609 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.MessageBox#2 1609 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.Message#359 1609 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.Message#359 1609 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.StaffImpl#49 1609 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.StaffImpl#49 1609 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> recaching 1609 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> flushing session 1609 [main] DEBUG <cirrus.hibernate.impl.ClassPersister> domain.MessageBoxEntry.read is dirty 1609 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> Updating entity: domain.MessageBoxEntry#475 1625 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing collection Message.addresseeEntries#359 1625 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> find: SELECT y FROM x IN CLASS domain.Message, y IN x.addresseeEntries.elements WHERE x = ? 1625 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> parameters: 359 1640 [main] DEBUG <cirrus.hibernate.query.QueryTranslator> compiling query 1656 [main] DEBUG <cirrus.hibernate.query.QueryTranslator> HQL: SELECT y FROM x IN CLASS domain.Message, y IN x.addresseeEntries.elements WHERE x = ? 1656 [main] DEBUG <cirrus.hibernate.query.QueryTranslator> SQL: SELECT y.id, y.message_id, y.addressee_group_id, y.staff_id FROM message_addressee y, message_table x WHERE x.id = y.message_id AND (x.id=? ) 1656 [main] DEBUG <cirrus.hibernate.impl.SessionFactoryImpl> prepared statement get: SELECT y.id, y.message_id, y.addressee_group_id, y.staff_id FROM message_addressee y, message_table x WHERE x.id = y.message_id AND (x.id=? ) Hibernate: SELECT y.id, y.message_id, y.addressee_group_id, y.staff_id FROM message_addressee y, message_table x WHERE x.id = y.message_id AND (x.id=? ) 1672 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> Preparing statement: SELECT y.id, y.message_id, y.addressee_group_id, y.staff_id FROM message_addressee y, message_table x WHERE x.id = y.message_id AND (x.id=? ) 1687 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> Initializing object from ResultSet: 53 1687 [main] DEBUG <cirrus.hibernate.impl.ClassPersister> Hydrating entity: domain.MessageAddressee#53 1687 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.Message#359 1687 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.Message#359 1687 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.StaffImpl#49 1687 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.StaffImpl#49 1687 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Caching: 53 1687 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Cached: 53 1687 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> Initializing object from ResultSet: 54 1687 [main] DEBUG <cirrus.hibernate.impl.ClassPersister> Hydrating entity: domain.MessageAddressee#54 1687 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.Message#359 1687 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.Message#359 1687 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.StaffImpl#1 1687 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.StaffImpl#1 1687 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Cache lookup: 1 1687 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Cache miss: 1 1703 [main] DEBUG <cirrus.hibernate.impl.SessionFactoryImpl> prepared statement get: SELECT staff0.id AS id, staff0.staffid AS staffid, staff0.firstname AS firstname, staff0.middleinitial AS middleinitial, staff0.lastname AS lastname, staff0.privilege_level AS privilege_level FROM staff staff0 WHERE staff0.id = ? Hibernate: SELECT staff0.id AS id, staff0.staffid AS staffid, staff0.firstname AS firstname, staff0.middleinitial AS middleinitial, staff0.lastname AS lastname, staff0.privilege_level AS privilege_level FROM staff staff0 WHERE staff0.id = ? 1703 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> Preparing statement: SELECT staff0.id AS id, staff0.staffid AS staffid, staff0.firstname AS firstname, staff0.middleinitial AS middleinitial, staff0.lastname AS lastname, staff0.privilege_level AS privilege_level FROM staff staff0 WHERE staff0.id = ? 1719 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> Initializing object from ResultSet: 1 1719 [main] DEBUG <cirrus.hibernate.impl.ClassPersister> Hydrating entity: domain.StaffImpl#1 1719 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Caching: 1 1719 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Cached: 1 1719 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> recaching 1719 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Caching: 54 1719 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Cached: 54 1719 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> recaching 1719 [main] DEBUG <cirrus.hibernate.impl.CollectionPersister> Loading collection: Message.addresseeEntries#359 1719 [main] DEBUG <cirrus.hibernate.impl.SessionFactoryImpl> prepared statement get: select id from message_addressee where message_id = ? Hibernate: select id from message_addressee where message_id = ? 1719 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> Preparing statement: select id from message_addressee where message_id = ? 1734 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.MessageAddressee#53 1734 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.MessageAddressee#53 1734 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> loading domain.MessageAddressee#54 1734 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> initializing domain.MessageAddressee#54 1734 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> recaching 1734 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Caching: 359 1734 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Cached: 359 1750 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> Flushing: 0 insertions, 1 updates, 0 deletions to 7 objects 1750 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> Flushing: 1 insertions, 0 updates, 1 deletions to 2 collections 1750 [main] DEBUG <cirrus.hibernate.impl.ClassPersister> Updating entity: domain.MessageBoxEntry#475 1750 [main] DEBUG <cirrus.hibernate.impl.SessionFactoryImpl> prepared statement get: update message_box_entry set message_box_id = ?, message_id = ?, staff_id = ?, read_flag = ? where id = ? Hibernate: update message_box_entry set message_box_id = ?, message_id = ?, staff_id = ?, read_flag = ? where id = ? 1750 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> Preparing statement: update message_box_entry set message_box_id = ?, message_id = ?, staff_id = ?, read_flag = ? where id = ? 1750 [main] DEBUG <cirrus.hibernate.impl.ClassPersister> Dehydrating entity: domain.MessageBoxEntry#475 1750 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> recaching 1750 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Invalidating: 359 1765 [main] DEBUG <cirrus.hibernate.impl.CollectionPersister> Deleting collection: Message.addresseeEntries#359 1765 [main] DEBUG <cirrus.hibernate.impl.SessionFactoryImpl> prepared statement get: update message_addressee set message_id = null where message_id = ? Hibernate: update message_addressee set message_id = null where message_id = ? 1765 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> Preparing statement: update message_addressee set message_id = null where message_id = ? 1765 [main] WARN <cirrus.hibernate.helpers.JDBCExceptionReporter> SQL Error: 233, SQLState: 23502 1765 [main] ERROR <cirrus.hibernate.helpers.JDBCExceptionReporter> ASA Error -195: Column 'message_id' in table 'message_addressee' cannot be NULL 1765 [main] DEBUG <cirrus.hibernate.ps.PreparedStatementCache> recaching 1765 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> closing session 1765 [main] DEBUG <cirrus.hibernate.impl.SessionImpl> disconnecting session 1781 [main] WARN <cirrus.hibernate.helpers.JDBCExceptionReporter> SQL Warning: 0, SQLState: 010TP 1781 [main] WARN <cirrus.hibernate.helpers.JDBCExceptionReporter> 010TP: The connection's initial character set, null, could not be converted by the server. The server's proposed character set, Cp850, will be used, with conversions performed by jConnect. 1781 [main] DEBUG <cirrus.hibernate.connection.DriverManagerConnectionProvider> returning connection to pool 1781 [main] DEBUG <cirrus.hibernate.cache.ReadWriteCache> Releasing: 359 com.sybase.jdbc2.jdbc.SybSQLException: ASA Error -195: Column 'message_id' in table 'message_addressee' cannot be NULL at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2535) at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:1916) at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69) at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:201) at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:182) at com.sybase.jdbc2.jdbc.SybStatement.updateLoop(SybStatement.java:1540) at com.sybase.jdbc2.jdbc.SybStatement.executeUpdate(SybStatement.java:1523) at com.sybase.jdbc2.jdbc.SybPreparedStatement.executeUpdate(SybPreparedStatemen t.java:89) at cirrus.hibernate.impl.CollectionPersister.remove(CollectionPersister.java:55 4) at cirrus.hibernate.impl.ScheduledCollectionRemove.execute(ScheduledCollectionR emove.java:16) at cirrus.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:1757) at cirrus.hibernate.impl.SessionImpl.execute(SessionImpl.java:1739) at cirrus.hibernate.impl.SessionImpl.flush(SessionImpl.java:1677) at test.RetrieveMessageBoxEntry.getMessageText(RetrieveMessageBoxEntry.java:47) at test.RetrieveMessageBoxEntry.main(RetrieveMessageBoxEntry.java:59) Exception in thread "main" |