users@glassfish.java.net

TopLink Essentials: Mixing access types

From: Markus Karg <karg_at_quipsy.de>
Date: Mon, 21 Mar 2011 17:56:54 +0100

Sorry for asking questions to deprecated products, but in this project
we may not update to EclipseLink.

 

In a JPA 1.0 entity we need mixed access types: 99% of the columns shall
map to fields, but there is one column that shall map to a property (so
we can replace it's value on the fly -- the reason is: it is neither
serializable nor a known type).

 

Can anybody remember whether there was a solution for that in TopLink
Essentials (i. e. mixing access types or providing custom type
"marshalling")?

 

Thanks!

Markus