The MyRecord class is serializable, it is actually a JAXB generated class. Also, I am using the database as embedded.
I have not had a chance to try the latest H2, I'm in a mixed environment with other programmers who don't want to upgrade H2, and Eclipse is giving me some grief trying to ignore their installed h2 jars and specifying the latest for my test build... I have been considering pitching this approach and using the BLOB approach instead, but after reading the release notes was a bit hesitant to go that route, before being able to upgrade to the 1.2.141 version of H2, sounded like there were some significant changes to the way LOBs are handled since 1.2.127. The documentation for the getObject() seems unclear, I thought the deserialization should be happening on the client side, which is why I was trying to retrieve into an Object, rather than directly into the MyRecord class... but with the error showing that h2 knows about the 'MyRecord' class during the getObject() call, it makes me think that I'm inserting the object incorrectly somehow, as a MyRecord, rather than a generic 'Object'. Definitely confused... and still not 100% sure if this is a H2 issue, or perhaps a JAXB issue, but without having been able to find even one example of how to use the setObject/getObject calls with an OTHER datatype, I'm stumped. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
