[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Re: Changes in mutable objects not detected

Hi James!

You wrote:
For dates you can set the persistence property,

"eclipselink.temporal.mutable"="true"

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.

Best regards,
Sabine