tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnieto <>
Subject Re: Date format for Column Conversion, String on Bean, Date on Database
Date Tue, 14 Jun 2011 08:37:38 GMT
Thanks, I'll look up on that one. I've seen OpenJPA has this @Temporal
annotation. Would something like this work:

    @Column(name = "InstalledDateTime")
    private String installedDateTime;

Romain Manni-Bucau wrote:
> you can probably play with callbacks: @PostContruct for example -> you'll
> get the database value then in the post construct method you can modify
> the
> value.

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message