I've been a happy user of JBoss and container persistence for quite a while, but I've come across something really wierd. On a particular field on a particular container managed object, whenever I set the field to a new value, it gets corrupted. So if I set this string field to "ABCDEFG", I check the value immedietely before calling commit and all is well. Immediately after the commit, the first 3 characters are corrupted in the object like this: ó@?DEFG. The corrupt value is written into the database.
I'm at a loss what to do now. Any suggestions? using JBoss 4.0.4GA