Hello!
In my entity class I have a Date field:
@Entity
public class Code implements Serializable
{
@Temporal(TemporalType.TIMESTAMP)
private Date dateFrom;
//...
}
The field dateFrom is mapped to a column of SQL type TIMESTAMP WITHOUT TIME ZONE in my PostgreSQL database.
Is there any way to map it to TIMESTAMP WITH TIME ZONE column?
I need to store dates with timezone information, what is the most convenient way to do that?
Thank you.