Hello,

I've been working with castor 0.9.4.1 so far and my sequences were working. Now that I've switched to castor 0.9.4.2 i cannnot store objects to the database anymore.

Here's a part of my mapping.xml:

<!-- Sequence -->
<key-generator name="SEQUENCE" alias="abc">
<param name="SEQUENCE" value="SEQ_FORUMS_ID"/>
</key-generator>

<!-- Mapping for Forum object -->
<class name="beans.Forum" identity="id" key-generator="abc">
<description>Forum object</description>
<map-to table="FORUMS" xml="forum" />
...

When I remove the sequence from the mapping and set the ID field manually via its set-method it's working nicely.

Any help would be appreciated,

Regards,

Tom

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to