Home » Search

About TemporalType

31-40 of 53Refresh
Result
6

java.io.Serializable

, SequenceStrategy, SharedCacheMode, ShortIdentity, SingleFieldIdentity, StringIdentity, TemporalType
Issue
5

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

    @Unique     String url = "";     @Temporal(javax.persistence.TemporalType.TIMESTAMP)     private Date createdTime;     @Temporal(javax.persistence.TemporalType.TIMESTAMP)     private Date modifiedTime;     private @Index     @Temporal(javax.persistence.TemporalType.TIMESTAMP)     Date postTime
Forum
4

Date field Index is corrupted due to time change

.persistence.Temporal; import javax.persistence.TemporalType; import javax.persistence.Version ... )         @Temporal(TemporalType.TIMESTAMP)         public Date getStartDateTime ... )         @Temporal(TemporalType.DATE)         public Date getStartDate() {             return startDate
Forum
4

Finding an object by its datetime

", Booking.class) .setParameter("btime", btime, TemporalType.TIMESTAMP); } @Entity public class Booking { @Temporal(TemporalType.TIMESTAMP) Calendar btime; }   I'm trying to search ... the posting instructions? Hi, I forgot the @Index beside @Temporal(TemporalType.TIMESTAMP) Calendar btime
Forum
4

query on calendar class

;     private String A;     @Temporal(TemporalType.TIMESTAMP) private Calendar start; I tested: Query query ... type of start field to: java.sql.Date, java.sql.Timestamp, java.util.Date with @Temporal(TemporalType.DATE), @Temporal(TemporalType.TIME) and @Temporal(TemporalType.TIMESTAMP). I test the queries
Forum
4

Wrong data stored in time only fields

.persistence.Temporal; import javax.persistence.TemporalType; import javax.persistence.Version ... )         @Temporal(TemporalType.TIMESTAMP)         public Date getStartDateTime ... )         @Temporal(TemporalType.DATE)         public Date getStartDate() {             return startDate
Forum
3

Error 363 - Failed to read value of inverse relationship

) private String playerName, password, email; @Temporal(TemporalType.TIMESTAMP) private Date ... id; @Temporal(TemporalType.TIMESTAMP) private Date sendDate = new Date(); private ... ; //    //    @Id //    @GeneratedValue //    private Long id; // //    @Temporal(TemporalType.TIMESTAMP
Forum
3

Possible issue with String fields

; String external_booking_ref; @Temporal(javax.persistence.TemporalType.DATE) Date start_dt; @Temporal(javax.persistence.TemporalType.DATE) Date end_dt; @Temporal(javax.persistence.TemporalType.DATE) Date new_end_dt; String vehicle_group; String vehicle_identifier
Forum
3

Wrong data stored in date only fileds

(optional = false) @Temporal(TemporalType.TIMESTAMP) public Date getStartDateTime ... (TemporalType.DATE) public Date getStartDate() { return startDate; } public void ... = false) @Temporal(TemporalType.TIME) public Date getStartTime() { return startTime
Forum
2

Calendar in Criteria Querys

;                 @Temporal(TemporalType.TIMESTAMP)         Calendar c1;                 @Temporal(TemporalType.TIMESTAMP)         Calendar c2;                 Event() {             c1 = Calendar