ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh

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

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

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


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


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


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


. 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


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


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