Hi,
I apologize in advance for those who are reading my message a second time. I
have already posted this message on Friday but forgot to put a subject on
the message. Here it is again:
Is Castor able to handle the following scenario?
I have table where the primary key (as set in the DB constraints) is
comprised of an integer field driven by a sequence AND the current date
(sorry, the table is there so I can't change the schema!).
The mapping xml would look something like this:
<key-generator name="SEQUENCE" alias="MYID_SEQUENCE">
<param name="sequence" value="MYID_SEQUENCE"/>
</key-generator>
<class name="myClass" identity="myId theDate" access="shared"
key-generator="MYID_SEQUENCE">
Does castor know that MYID_SEQUENCE applies to myId and not theDate?
Do I need to even specify theDate as an identity if I know myId is unique?
Thanks in advance,
Al
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev