Bugs item #1048143, was opened at 2004-10-15 17:23
Message generated for change (Comment added) made by starksm
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: Scott M Stark (starksm)
Date: 2004-12-29 12:52
Message:
Logged In: YES
user_id=175228
All issues have been moved to http://jira.jboss.com. Existing
issues have been moved. New issues will be closed with this
canned reponse.
----------------------------------------------------------------------
Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-10-19 00:31
Message:
Logged In: YES
user_id=543482
Till the end of the year I don't have plans to add new
features to CMP unless paying customers ask for this.
I am not an XDoclet committer. Doesn't this work for you?
* @jboss.optimistic-locking
* version-column="true"
* field-name="version"
* column-name="VERSION"
----------------------------------------------------------------------
Comment By: Ivan Parra (ioparra)
Date: 2004-10-18 11:43
Message:
Logged In: YES
user_id=812998
3.2.5 jdbc(1).pm(ie Fake or hidden OCA field).
Are you planning to support both in jdbc2? If you don't, are
you planning to update xdoclet so a tag can be exposed to
support the <field-name> column?
-Ivan
----------------------------------------------------------------------
Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-10-16 00: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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development