ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh

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

Replication error on slave restart

recording files unless they are needed for slave servers that are currently offline. If a recording ... , master has not been restarted ever. 2) I opened master db with explorer [DATA PRESENT - AND UP TO DATE] 3 ... ), restarted and opened it with explorer [DATA PRESENT - BUT NOT UP TO DATE (more simular with slave

java 8 LocalDateTime is not working in query

query = em.createQuery(     "SELECT t FROM Test t WHERE t.date BETWEEN :startDate AND :endDate ORDER BY t.date"); query.setParameter("startDate", LocalDateTime.now()); query.setParameter ... : SELECT t FROM Test t Joe Joe Khan New Java 8 date/time types are not supported by JPA yet. support

JPA 2.2 LocalDate still not working

challenges with supporting all the Java 8 date and time fields. They are currently supported ... . Otherwise, on retrieval a Date instance may be instantiated. Currently selecting such a field in the query SELECT ... (e.g. for LocalDate, and not all the Java 8 date and time types) can be added soon. support Support


Employee { @Id String empName; @Id Date birthDay; ... } Since: JPA 1.0 Class


Method javax.persistence.criteria.CriteriaBuilder Expression<X> greatest( Expression<X> 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


Annotation Element javax.persistence.Temporal TemporalType value The type used in mapping java.util.Date or java.util.Calendar. Since: JPA 1.0

retrieveAll(pcs, useFetchPlan)

intends to use the instances, and their field values should be retrieved. The fields in the current fetch group must be retrieved, and the implementation might retrieve more fields than the current ... has not been modified from its default setting, all fields in the current fetch plan are fetched


and setDetachmentOptions. Specifies that fields that are not loaded but are in the current fetch ... and setDetachmentOptions. Specifies that fields that are loaded but not in the current fetch plan ... . The Set is a copy of the currently active groups and will not change based on subsequent changes


; BigInteger; String; and Date. Parameters: ordering - the ordering specification. Since: JDO 1.0

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