Sorry for delay. I will try to reduce my code to manageable test
case. Unfortunately I can not promise that I will be able to do it
any time soon. Things are working without @Version and I have to spend
my time on other things.
I will try to rebuild our stuff with 1.2.1 and see if the problem went
away.
Thanks for your time.
Andrei
On Mar 18, 2009, at 15:14 , Kevin Sutter wrote:
Andrei,
I'm sorry you are experiencing issues with your scenario. But, we
will
probably need additional information to help decipher the problem.
We have
many, many testcases that use @Version in the Entities. And, 95% of
our
testing is with enhanced Entities (either statically or
dynamically). So,
my guess is that there's something unique with your particular
scenario.
In the previous string of notes, you had provided a snippet of
code. Can
you provide a failing example or testcase that demonstrates the
problem? We
just need something more to go off to determine the source of the
problem.
Thanks,
Kevin
On Tue, Mar 17, 2009 at 11:59 AM, Andrei Tchijov
<[email protected]> wrote:
Somehow DB got into this situation again (identical stack traces). I
end-up
removing (commenting out) @Version field from PSLBase class and now
it
works
(without any changes to DB).
I think it points quite conclusively that something is not right
with the
way @Version field influence enhanced code. I will be more then
happy to
admit that I am doing something wrong, but I would like to know what
exactly
I am doing wrong.
Andrei
--
View this message in context:
http://n2.nabble.com/Strange-%22ClassCast%22-Exception-%28and-even-stranger-way-it-disappear%29-tp2491173p2492567.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.