ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
3

Error 363 - Failed to read value of inverse relationship

String playerName, password, email; @Temporal(TemporalType.TIMESTAMP) private Date signUpDate = new Date(), signInDate; @Embedded @OneToOne private PersonalData personalData ... ; private HashMap<Player, Date> messageReadDates = new HashMap<Player, Date>(); protected Player
3

Performance question

.g. a date field you want to query for. Is there an improvement in performance if I create a "mirror" date field in the original entity, removing the need to traverse through the referenced other entity? So, querying for "all objects with object.otherobject.date > 1.1.1980" is slower
3

Entity listener - event instead of object

Hi, Currently I'm playing with entity listener to implement auditing with difference between values ... ;             final String entityName = event.getEntity().getClass().toString();             final Date transTime = new Date(); // new Date(event.getSource().getTimestamp());             final EntityMode
0

MapKeyTemporal.value

Annotation Element javax.persistence.MapKeyTemporal TemporalType value (Required) The type used in mapping java.util.Date or java.util.Calendar. Since: JPA 2.0
0

least(x)

Method javax.persistence.criteria.CriteriaBuilder Expression<X> least( Expression<X> x ) Create an aggregate expression for finding the least of the values (strings, dates, etc). Parameters: x - expression representing input value to least operation Returns: least expression Since: JPA 2.0
0

javax.persistence.spi.PersistenceProviderResolverHolder

getPersistenceProviderResolver() Returns the current persistence provider resolver. Returns the current persistence provider resolver. Returns: the current persistence provider resolver Since: JPA 2.0 void
0

javax.persistence.NonUniqueResultException

. This exception will not cause the current transaction, if one is active, to be marked for rollback. Since: JPA 1 ... information about the current state of the stack frames for the current thread. Returns: a reference
0

FetchGroup.BASIC

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

javax.jdo.annotations.VersionStrategy

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

registerDateFormat(df)

Method javax.jdo.spi.JDOImplHelper void registerDateFormat( DateFormat df ) Register a DateFormat instance for use with constructing Date instances. The default is the default DateFormat instance. If the new instance implements SimpleDateFormat, get its pattern for error messages. Parameters: df - the DateFormat instance to use Since: JDO 2.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