|Re: Changes in mutable objects not detected [message #467871 is a reply to message #390598]
||Mon, 03 August 2009 09:06
| Sabine Heider
Registered: July 2009
> For dates you can set the persistence property,
Thanks, that's what I was looking for - and it works as expected.
> For the byte array you can mark the mapping as mutable using @Mutable.
I tried this out and it worked for a byte array. However, I tested it
also on the other array types that are supported according to the JPA
spec, i.e. Byte, char and Character, and it failed on all of them.
That's not limiting me, actually, as I have only a use case for the
byte array (I haven't seen the other array types in real-life
applications so far). Still, I wanted to mention it.
It would be much nicer, though, to have a global switch like the one for
the temporal types. It would be more consistent and would reduce the
effort when porting _many_ applications.
Powered by FUDForum
. Page generated in 0.03168 seconds