Hi, sure I can do that. It will just have to wait a bit until I get to my testbed. Just thought it would be such a massive problem so you might have known about it already. Sorry about my eagerness :).
I will put this is the issue: - No extends - MySQL at home - Stacktrace to come Best Regards Mattias Boegblad -----Ursprungligt meddelande----- Från: Werner Guttmann [mailto:[EMAIL PROTECTED] Skickat: den 31 augusti 2005 16:00 Till: dev@castor.codehaus.org Ämne: AW: [castor-dev] 0.9.9M1 breaks my mapping Mattias, can you please create a Jira issue for this problem, and attach everything required for me (or somebody) else to replay your problem. I'd really appreciate if you could follow the bug submission guidelines (http://castor.codehaus.org/how-to-submit-a-bug.html) when attaching code to the newly created issue. Once done so, I'll take a look at your issue. Questions: - you are apparently not using any extend relations, are you ? - what RDBMS are you using ? - can you please provide me with a complete stack trace Thanks Werner -----Ursprüngliche Nachricht----- Von: Bogeblad Mattias [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 31. August 2005 14:07 An: dev@castor.codehaus.org Betreff: [castor-dev] 0.9.9M1 breaks my mapping Hi all, I got an entity mapped with references to parent and children. As you can see parentContent points to a entity of the same type and children to a collection of similar entities. This way we have a tree in one table. All works fine with Castor 0.9.6. When I tested with 0.9.9M1 I got "Column out of range"-exception or something similar as soon as I tried to do an OQL against that entity. Any ideas? Regards Mattias Bogeblad <!-- Mapping for Content --> <class name="org.infoglue.cms.entities.content.impl.simple.ContentImpl" identity="contentId" key-generator="IDENTITY"> <description>Content</description> <cache-type type="unlimited" capacity="10000"/> <map-to table="cmContent"/> <field name="contentId" type="java.lang.Integer"> <sql name="contentId" type="integer" dirty="check" /> </field> <field name="name" type="java.lang.String"> <sql name="name" type="varchar" dirty="check" /> </field> <field name="parentContent" type="org.infoglue.cms.entities.content.impl.simple.ContentImpl"> <sql name="parentContentId"/> </field> <field name="repository" type="org.infoglue.cms.entities.management.impl.simple.RepositoryImpl"> <sql name="repositoryId"/> </field> <field name="children" type="org.infoglue.cms.entities.content.impl.simple.ContentImpl" lazy="true" collection="collection"> <sql many-key="parentContentId"/> </field> </class> ########################################### For din sakerhet sa har Modul 1 genomsokt detta meddelande efter virus med F-Secure Anti-Virus for Microsoft Exchange. For mer information, se http://www.F-Secure.com/ For your protection, this email has been virus scanned when sent from Modul 1 ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] ------------------------------------------------- ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] ------------------------------------------------- ########################################### För din säkerhet så har Modul 1 genomsökt detta meddelande efter virus med F-Secure Anti-Virus for Microsoft Exchange. För mer information, se http://www.F-Secure.com/ For your protection, this email has been virus scanned when sent from Modul 1 ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------