class SomeEntity {
...
@Type(
type=NormalizedTimestamp.class.getName(),
parameters = {
@Parameter( "storage_tz", "utc" )
}
)
public Date getStoredAsUtc() { ... }
@Type(
type=NormalizedTimestamp.class.getName(),
parameters = {
@Parameter( "storage_tz", "cst" )
}
)
public Date getStoredAsCst() { ... }
}