ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
3

query on calendar class

'}? The only solution is keep time and date i other fields and do that same wiht DAY_OF_WEEK? Solek Henryk Walezy ObjectDB does not currently support extracting a day of week from a date (methods for extracting other date parts are supported by ObjectDB as an extension to JPA), so you should consider duplicating
0

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
0

setParameter(position, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery<X> 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
0

javax.persistence.Id

should be one of the following types: any Java primitive type; any primitive wrapper type; String; java.util.Date; java.sql.Date; java.math.BigDecimal; java.math.BigInteger. The mapped column for the primary key
0

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
0

setParameter(name, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery<X> 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
0

javax.persistence.Basic

types, String, java.math.BigInteger, java.math.BigDecimal, java.util.Date, java.util.Calendar, java.sql.Date, java.sql.Time, java.sql.Timestamp, byte[], Byte[], char[], Character[], enums, and any
0

Issue with UPPER ?

<=CURRENT_DATE)))) AND (((($3 IS NOT NULL) AND ($4 IS NOT NULL) AND ($4.name IS NOT NULL) AND ($4.name LIKE ... .austritt IS NOT NULL) AND ($2.austritt<=CURRENT_DATE)))) AND (((($3 IS NOT NULL) AND ($4 IS NOT NULL ... IS NOT NULL) AND ($2.austritt<=CURRENT_DATE)))) AND (((($3 IS NOT NULL) AND ($4 IS NOT NULL) AND ($4
0

Using SELECT BETWEEN with LocalDate

Element e WHERE e.date between CURRENT_DATE and :date", Element.class) .setParameter("date", date) .getResultList(); I get the following error for e.date in IntelliJ (Type mismatch: number, date ... I am trying to query all entities whose date is between today and today + X days. The date inside
0

javax.jdo.spi.JDOImplHelper

a DateFormat instance for use with constructing Date instances. Register a DateFormat instance for use with constructing Date instances. The default is the default DateFormat instance. If the new instance

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