From: <leg...@at...> - 2003-10-31 11:00:14
|
The following comment has been added to this issue: Author: Max Rydahl Andersen Created: Fri, 31 Oct 2003 5:00 AM Body: Please provide the property names, instead of just inserting "..." ;) (a complete hbm.xml would be great ,) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-440 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-440 Summary: Direct collection property access Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1 beta 5 Assignee: Reporter: Alexey Kaigorodov Created: Fri, 31 Oct 2003 3:26 AM Updated: Fri, 31 Oct 2003 3:26 AM Description: <bag name="..." access="field"> ... </bag> causes exception unless exists getter net.sf.hibernate.MappingException: Problem trying to set property type by reflection at net.sf.hibernate.mapping.Value.setTypeByReflection(Value.java:103) at net.sf.hibernate.cfg.Binder.createProperty(Binder.java:953) at net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:946) at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:313) at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1143) at net.sf.hibernate.cfg.Configuration.add(Configuration.java:243) at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:266) at net.sf.hibernate.cfg.Configuration.addJar(Configuration.java:349) at net.sf.hibernate.cfg.Configuration.addJar(Configuration.java:320) ... Caused by: net.sf.hibernate.PropertyNotFoundException: Could not find a getter for ... in class ... -- With best regards, Alexey --------------------------------------------------------------------- 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 |