openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauro Flores <mauro-flo...@procergs.rs.gov.br>
Subject Dates: Column Integer X Property Calendar
Date Mon, 14 Dec 2009 16:03:03 GMT


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. 
-- 
View this message in context: http://n2.nabble.com/Dates-Column-Integer-X-Property-Calendar-tp4164938p4164938.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message