Home » Search

About Date

71-80 of 195Refresh
JPA Doc
4

setParameter(name, value, temporalType)

Method javax.persistence.Query Query setParameter(   String name,   Date value,   TemporalType temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance Throws
JPA Doc
4

setParameter(name, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery setParameter(   String name,   Date value,   TemporalType temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance
JPA Doc
4

setParameter(position, value, temporalType)

Method javax.persistence.Query Query setParameter(   int position,   Date value,   TemporalType temporalType ) Bind an instance of java.util.Date to a positional parameter. Parameters: position - position value - parameter value temporalType - temporal type Returns: the same query instance Throws
JPA Doc
4

setParameter(position, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery setParameter(   int position,   Date value,   TemporalType temporalType ) Bind an instance of java.util.Date to a positional parameter. Parameters: position - position value - parameter value temporalType - temporal type Returns: the same query
JDO Doc
4

setResultClass(cls)

class Date; or one of the java.sql classes Date, Time, or Timestamp; or a user-defined class
Forum
4

query on calendar class

'}? The only solution is keep time and date i other fields and do that same wiht DAY_OF_WEEK? ObjectDB does not currently support extracting a day of week from a date (methods for extracting other date parts ... an additional persistent field. The comparison failed because of comparing a Calendar to a Date. Using
Forum
3

Error using query with MAX() function

remark; @Basic @Temporal(value = TemporalType.TIMESTAMP) private Date changeDate; public ... ) { this.remark = remark; } public Date getChangeDate() { return changeDate; } public void setChangeDate(Date changeDate) { this.changeDate = changeDate; } } public class Test
Forum
3

Error 363 - Failed to read value of inverse relationship

) private String playerName, password, email; @Temporal(TemporalType.TIMESTAMP) private Date signUpDate = new Date(), signInDate; @Embedded @OneToOne private PersonalData ... ; private HashMapDate> messageReadDates = new HashMapDate
JDO Doc
3

FetchGroup.BASIC

well as Date and its jdbc subtypes and Enum types. Since: JDO 2.2
JPA Doc
3

greatest(x)

Method javax.persistence.criteria.CriteriaBuilder Expression greatest(   Expression x ) Create an aggregate expression for finding the greatest of the values (strings, dates, etc). Parameters: x - expression representing input value to greatest operation Returns: greatest expression Since: JPA 2.0