From: <leg...@at...> - 2003-08-15 14:05:36
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-262 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-262 Summary: NullPointerException while loading 2.0.2 working mapping Type: Bug Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Fix Fors: 2.1 beta 2 Versions: 2.1 beta 1 Assignee: Reporter: Christian Bauer Created: Fri, 15 Aug 2003 8:21 AM Updated: Fri, 15 Aug 2003 8:21 AM Environment: Linux JDK 1.4.2 Description: java.lang.NullPointerException at net.sf.hibernate.persister.NormalizedEntityPersister.getIdentifierColumnNames(NormalizedEntityPersister.java:1075) at net.sf.hibernate.persister.AbstractEntityPersister.(AbstractEntityPersister.java:699) at net.sf.hibernate.persister.NormalizedEntityPersister.(NormalizedEntityPersister.java:646) at net.sf.hibernate.persister.PersisterFactory.create(PersisterFactory.java:32) at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:137) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:647) This mapping works with 2.0.2, I tried 2.1 beta 1 as a drop-in replacement for our medium sized project: <class name="test.Connection" table="connections"> <id name="OID" type="string"> <column name="connection_id" sql-type="char(32)"/> <generator class="uuid.hex"/> </id> <version name="version"/> <joined-subclass name="test.Internet" table="internet"> <key> <column name="connection_id" sql-type="char(32)"/> </key> </joined-subclass> </class> The error ocours with the joined subclass mapping. --------------------------------------------------------------------- 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 |