ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh

Composite Index error 328

java.sql.Date; import java.util.Objects; @Entity @Table(name = "usrlist", schema = "posts ... ; private Date regDate; private Date regEnd; private Date lastLogin; private String lastIp ... ) { this.programType = programType; } @Basic @Column(name = "reg_date

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

Schema update: package, class and field

: Version 1: class A { String date; } Version 2: class A { String old_date; //renamed Date date; } Schema: .. <class name="A"> <field name="date" new-name="old_date" /> </class> .. We expect following: version1: ( date="21.07.2015" ) converted to version2: ( old_date="21.07

Trouble bug on explorer

; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java.util.List; /** * Created with IntelliJ IDEA. * User: apple * Date: 15.07.2012 * Time: 18:54 ... Date regDate; private Date regEnd; private String jxtaUUID; private String


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


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


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


VersionStrategy DATE_TIME Since: JDO 2.1 VersionStrategy NONE Since: JDO 2.1 VersionStrategy STATE_IMAGE

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