Use externalization feature of OpenJPA [1]
[1] http://openjpa.apache.org/builds/latest/docs/manual/manual.html#ref_guide_pc_extern_values Mauro Flores wrote: > > > I have a legacy database with date columns stored as integer(yyyyMMdd. Ex: > 20091214). > > I'd like to have the correspondent entity properties of Calendar (or Date) > type. > > What kind of annotations would I use to have this conversion > automatically? > Or what kind of strategy would I use? > > Thanks. Mauro. > ----- Pinaki -- View this message in context: http://n2.nabble.com/Dates-Column-Integer-X-Property-Calendar-tp4164938p4168622.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
