From: Anthony P. (JIRA) <no...@at...> - 2006-06-19 10:38:34
|
polymorphic aggregation is broken --------------------------------- Key: HHH-1845 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1845 Project: Hibernate3 Type: Bug Components: core Versions: 3.2.0.cr2 Reporter: Anthony Patricio Attachments: DomesticAnimalForAggregateTest.hbm.xml, PolymorphicAggregationTest.java Dog and Cat extend DomesticAnimal (mapped with Table per class hierarchy) DomesticalAnimal and Human extend Animal (Animal is not mapped, Human mapped as a Entity) Select count (distinct id) from org.hibernate.test.hql.Animal isn't working even if generated queries are ok. I've attached 2 files: PolymorphicAggregationTest.java DomesticAnimalForAggregateTest.hbm.xml must copy these files into org.hibernate.test.hql package. Also update support case if a fix is planned. https://na1.salesforce.com/50030000002TpbeAAC Anthony -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira |