>The recents questions posted by James Cook got me thinking.  Maybe we
should
>ditch the current entity locking scheme in favor of using
><select-for-update>.  It would greatly simplify the entity/cache locking
>mechanism, thus probably making it much more robust than it currently is.
>Of course, we'd have to improve select-for-update so that it worked across
a
>greater range of databases and keep the old entity/cache locking for
>databases that didn't.  Also, what about BMP?  Does the spec allow for the
>container to pass on synchronization responsibities to the Bean Developer?
>I'll have to check.


Note that not all Entities are backed by DBMS's. In the app I'm working on
currently they almost never are. Instead, I'm using XML files as the backing
store, so using select-for-update is not an option.

/Rickard




_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to