ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
29

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields. The object and its date and time fields are the same as in the referenced thread ... are using the 2015g time zone data. While we cannot see a problem with date only fields (more testing
6

combined index not used

for the ?1 (end date) parameter (on that sample database) for further analysis? support Support ... we take an endDate that is 30 days from the current date (in your case the date of the last Action). The endDate ... -java.sql.Date)),(a.state=3)),(a.subType=3)),(a.type=0)) <x> v$1:bound(a.objectsInCharge)) <x> v$3
6

javax.persistence.MapKeyTemporal

) This annotation must be specified for persistent map keys of type java.util.Date and java.util.Calendar ... with the ElementCollection, OneToMany, or ManyToMany annotation. Example: @OneToMany @MapKeyTemporal(DATE ... ) The type used in mapping java.util.Date or java.util.Calendar. (Required) The type used in mapping java.util.Date or java.util.Calendar. Since: JPA 2.0
6

javax.persistence.Embeddable

class. Example 1: @Embeddable public class EmploymentPeriod { @Temporal(DATE) java.util.Date startDate; @Temporal(DATE) java.util.Date endDate; ... } Example 2
5

setParameter(param, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( Parameter<Date> param, Date value, TemporalType temporalType ) Bind an instance of java.util.Date to a Parameter object. Parameters: param - parameter object value - parameter value temporalType - temporal type Returns: the same query
5

setParameter(param, value, temporalType)

Method javax.persistence.Query Query setParameter( Parameter<Date> param, Date value, TemporalType temporalType ) Bind an instance of java.util.Date to a Parameter object. Parameters: param - parameter object value - parameter value temporalType - temporal type Returns: the same query instance
5

currentDate()

Method javax.persistence.criteria.CriteriaBuilder Expression<Date> currentDate() Create expression to return current date. Returns: expression for current date Since: JPA 2.0
0

getServerDate()

Method javax.jdo.PersistenceManager Date getServerDate() Get the Date as seen by the server ... use the setting of the server time zone to prepare a Date instance that represents UTC time on the server. Returns: a Date instance corresponding to the UTC Date as seen by the server Since: JDO 2.1
0

javax.jdo.Query

and instances of wrapper classes are valid. Equality and ordering comparisons of Date fields and Date ... ; BigDecimal; BigInteger; String; and Date. Parameters: ordering - the ordering specification. Since: JDO 1.0 ... class Date; or one of the java.sql classes Date, Time, or Timestamp; or a user-defined class
0

setResultClass(cls)

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support