Romain Manni-Bucau created OPENJPA-2589:
-------------------------------------------
Summary: when using externalizer/factory type of the column could
be affined
Key: OPENJPA-2589
URL: https://issues.apache.org/jira/browse/OPENJPA-2589
Project: OpenJPA
Issue Type: Improvement
Reporter: Romain Manni-Bucau
If I do:
{code}
@Externalizer("com.factory.SuperJsonSerializer.toStringFromSuperObject")
@Factory("com.factory.SuperJsonSerializer.fromStringToSuperObject")
@Column(name="test")
private SuperObject object;
{code}
Then we can identify introspecting externalizer/factory that the column type is
actually String and not SuperObject. It then means we can switch the type of
the object to String and avoid java serialization which will keep the database
"clean"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)