Bugs item #1048143, was opened at 2004-10-16 03:23
Message generated for change (Comment added) made by loubyansky
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1048143&group_id=22866
Category: JBossCMP
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Ivan Parra (ioparra)
>Assigned to: Alexey Loubyansky (loubyansky)
Summary: 3.2.6: Optimist Version Lock not assigneable
Initial Comment:
When defined in jbosscmp-jdbc.xml
<optimistic-locking>
<version-column/>
<column-name>OCA</column-name>
<jdbc-type>INTEGER</jdbc-type>
<sql-type>INTEGER</sql-type>
</optimistic-locking>
We recieve deployment error saying "version_lock" does
not exist.
This descriptor worked in 3.2.5 and was introduce
somewhere on the way.
3.2.6
jdk1.4.2_05
win2000
----------------------------------------------------------------------
>Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-10-16 10:51
Message:
Logged In: YES
user_id=543482
For which persistence manager it worked in 3.2.5?
Standard persistence manager allows you to have fake fields
in optimistic locking.
jdbc2 pm needs a real field. For example:
<optimistic-locking>
<version-column/>
<field-name>nextNumber</field-name>
</optimistic-locking>
where nextNumber is a real CMP field.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1048143&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development