From: <leg...@at...> - 2003-08-13 18:39:02
|
The following issue has been updated: Updater: John Kristian (mailto:jkr...@do...) Date: Wed, 13 Aug 2003 1:34 PM Changes: Attachment changed to HibernateUTC.java --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-256&page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-256 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-256 Summary: broken column mapping to UserType Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1 beta 1 Assignee: Reporter: John Kristian Created: Wed, 13 Aug 2003 1:32 PM Updated: Wed, 13 Aug 2003 1:34 PM Environment: Windows XP, JBoss, Microsoft SQL Server Description: The enclosed exception is thrown. It should not be. I will attach the problematic mapping file and UserType. I can work around this problem by changing HibernateUTC.SQL_TYPES to {Types.TIMESTAMP}, as suggested by https://sourceforge.net/forum/message.php?msg_id=2147890 12:47:00,453 ERROR [STDERR] net.sf.hibernate.MappingException: broken column mapping for: expirationDate at net.sf.hibernate.persister.AbstractPropertyMapping.initPropertyPaths(AbstractPropertyMapping.java:58) at net.sf.hibernate.persister.AbstractEntityPersister.initPropertyPaths(AbstractEntityPersister.java:435) at net.sf.hibernate.persister.EntityPersister.postInstantiate(EntityPersister.java:107) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:155) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:647) at com.docent.lms.core.TransactionMgr.<init>(TransactionMgr.java:27) --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |