How can I map Oracle column types to TIMESTAMP WITH TIME ZONEeither TIMESTAMP WITH LOCAL TIME ZONEJava data type using Hibernate 3.3.2GA? Can I match each of them with Dateor Calendardata type?
TIMESTAMP WITH TIME ZONE
TIMESTAMP WITH LOCAL TIME ZONE
Date
Calendar
Use joda-time . It has an extension for sleep mode
@Columns(columns={@Column(name="startTime"),@Column(name="startTimezone")}) @Type(type="org.joda.time.contrib.hibernate.PersistentDateTimeTZ") private DateTime startDateTime;
, . TZ (, UTC) . , .
Source: https://habr.com/ru/post/1772661/More articles:SQL Server 2005 Query - tsqlRemove unused function prototypes from a .h file - cFrom Silverlight, create a file to save on the user's computer without entering the server - exportArgs for sb-ext: run-program - common-lispPerhaps a stupid question about strings and links in C # - c #how to convert formatted text to RTF using java - javaCES JSON deserialization - jsonSpring custom soap fault return - javaHow to save the state of an audio file when a user pauses my application? - objective-cThe activity window on the standard call screen - "Enable" buttons - androidAll Articles