MountainClimb / datanucleus-appengine

Automatically exported from code.google.com/p/datanucleus-appengine
0 stars 0 forks source link

Support DN3.x TypeConverter interface and JPA2.1 AttributeConverter #265

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In later versions of DN3.0 and in DN3.1 there is a TypeConverter interface 
allowing users to flexibly define conversion of fields to a datastore value 
(and vice versa). This is the base for JPA2.1 AttributeConverter where you can 
define a field with something like

@Basic
@Convert(converter=MyConverter.class)
URL url;

Original issue reported on code.google.com by googleco...@yahoo.co.uk on 13 Feb 2012 at 11:57

GoogleCodeExporter commented 8 years ago
SVN trunk now has support for this. To make use of it (using the @Convert 
annotation) you will need to be using DN3.1 (not yet released, but available as 
nightly builds).

Original comment by googleco...@yahoo.co.uk on 13 Feb 2012 at 12:10