Thanks, Matthias. Well, by the looks of it, it does *not* appear to me like it 
is going to be a massive problem, as there's only one or two places where this 
particular exception could be thrown. Having said that, I need something to 
reproduce your problem ... and a stack trace to pin the problem down.

Thanks for your help
Werner

PS Having said, I should add that I am very glad to see your problem report for 
the following reason: we applied some big changes to the codebase to add 
support for e.g. polymorphism, improve performance in some areas, etc. Afair, 
we touched about 40 to 50 classes, and I would not call the changes applied 
minor. Having done so, we didn't have any expectations that this would not 
cause any problems. Castor JDO does have a very good test suite, and we have 
used it extensively to test our changes and make sure that our refactoring 
don't break existing code. But as with any test suite, it looks like it is not 
complete. Your bug (report), once we have fixed it eventually, will be turned 
into yet another test case that will be added to the JDO test suite, and hence 
increase test coverage. Which will give us (even more) confidence when 
refactoring the system and adding new features in the future.

-----Ursprüngliche Nachricht-----
Von: Bogeblad Mattias [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 31. August 2005 16:12
An: [email protected]
Betreff: SV: [castor-dev] 0.9.9M1 breaks my mapping


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: [email protected]
Ä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: [email protected]
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]
-------------------------------------------------



-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to