ObjectDB ObjectDB

Internal Website Search

21-30 of 56 resultsRefresh
129

Internal exception when updating date filed (TemporalType.DATE)

.persistence.TemporalType.DATE). [ObjectDB 2.5.3_02] javax.persistence.RollbackException Failed ...         private String id = UUID.randomUUID().toString();         @Temporal(javax.persistence.TemporalType ... .persistence.TemporalType.TIMESTAMP)         private Date modifyDate = new Date();         private
124

TemporalType injection with Calendar using JPA

object as a primary key, which has time fields which I have annotated with TemporalType.TIMESTAMP ... String periodType; @Temporal(TemporalType.TIMESTAMP) public Calendar getBeginTime ... ) { this.beginTime = beginTime; } @Temporal(TemporalType.TIMESTAMP) public Calendar
30

General Performance Issues Illustrated with a Specific Method

.TemporalType.TIMESTAMP) private Date createdAt; @Temporal(javax.persistence.TemporalType.DATE ... lastEditBy; @Temporal(javax.persistence.TemporalType.TIMESTAMP) private Date lastEditeAt ... WebUser retiredReversedBy; @Temporal(javax.persistence.TemporalType.TIMESTAMP) private Date
27

Query Parameters in JPA

", new java.util.Date(), TemporalType.DATE); Since TemporalType.Date represents a pure date, the time
24

javax.persistence.Query

position, Date value, TemporalType temporalType) Bind an instance of java.util.Date to a positional ... value - parameter value temporalType - temporal type Returns: the same query instance Throws ... , TemporalType temporalType) Bind an instance of java.util.Date to a named parameter. Bind an instance
5

java.lang.Comparable

, StringIdentity, TemporalType, PersistenceType, ValidationMode, VersionStrategy int compareTo(T arg0) Parameters: arg0 -
5

javax.persistence.MapKeyTemporal

) protected java.util.Map employees; Since: JPA 2.0 TemporalType value (Required
5

java.io.Serializable

, SequenceStrategy, SharedCacheMode, ShortIdentity, SingleFieldIdentity, StringIdentity, TemporalType
5

Temporal.value

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

javax.persistence.Temporal

fields in Chapter 2 of the ObjectDB/JPA manual. TemporalType value The type used in mapping java.util

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