Hello,
Does anybody know whether key generating by sequence works w/
SAP-DB?
I tried by the following in my mapping file but when running the program
I always get a NotNull exception for the id field (i.e. the primary key
"id" was not set)
<begin mapping.xml>
...
<key-generator
name="SEQUENCE">
<param name="sequence" value="stromboli"/>
<param name="trigger" value="true"/>
</key-generator>
...
<class name="net.uniopt.biz.sys.Language" extends="net.uniopt.data.DataObject" identity="id" key-generator="SEQUENCE">
...
<end mapping.xml>
Regards,
michael
- Re: [castor-dev] Sequence and SAP-DB michael simons
- Re: [castor-dev] Sequence and SAP-DB Alexey A. Efimov
- Re: [castor-dev] Sequence and SAP-DB michael simons
- Re: [castor-dev] Sequence and SAP-DB Alexey A. Efimov
- Re: [castor-dev] Sequence and SAP-DB michael simons
- Re: [castor-dev] Sequence and SAP-DB Bruce Snyder
- Re: [castor-dev] Sequence and SAP-DB Bruce Snyder
- Re: [castor-dev] Sequence and SAP-D... michael simons
- Re: [castor-dev] Sequence and S... Bruce Snyder
- Re: [castor-dev] Sequence and SAP-DB Alexey A. Efimov
- Re: [castor-dev] Sequence and SAP-DB michael simons