Fast Object Database for Java - with JPA/JDO support

About Time

1-10 of 200 resultsRefresh

Date and Time in JPQL and Criteria Queries

Date and time expressions may appear in JPQL queries: as date and time literals - e.g. {d '2011-12-31'}, {t '23:59:59'}. as parameters - when date and time values are assigned as arguments. as path expressions - in navigation to persistent date and time fields. as results of predefined JPQL current


Static Field javax.jdo.Constants String PMF_ATTRIBUTE_SERVER_TIME_ZONE_ID The name of the persistence manager factory element's "server-time-zone-id" attribute. Since: JDO 2.1


Enum Constant javax.persistence.TemporalType TIME Map as java.sql.Time Since: JPA 1.0


Static Field javax.jdo.Constants String PROPERTY_SERVER_TIME_ZONE_ID Mapping "javax.jdo.option.ServerTimeZoneID" Since: JDO 2.1


Enum Constant javax.jdo.annotations.VersionStrategy DATE_TIME Since: JDO 2.1

JPA Persistable Types

only once even if they are referenced multiple times. Referencing instances of other persistable types from multiple ... .Time, java.sql.Timestamp. Date and time types are discussed in more detail in the next paragraph. Date and Time (Temporal) Types The java.sql date and time classes represent different parts of dates

Database Schema Evolution

entity class. This is done automatically in memory each time the entity object is loaded. The database

Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time entity classes ?

ObjectDB support wrote elsewhere: ... you do not need the Enhancer agent, since you use build time ... to disable the enhancer agent ... Q: Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time enhanced entity classes (other than just logging, typically just info

find() cost unreasonable time!

, why? Result: =========== find time @ 24.125000 getSons time @ 0.000000 1 : type:Nodes, sons:2 child : 2 child : 3 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 2 : type:Nodes, sons:2 child : 4 child : 5 Iterator time @ 0.000000 find time @ 0.000000 getSons

Date field Index is corrupted due to time change

is very basic, simple (I guess): We create a 1G DB file when the application starts for the fist time ... . only one DB operation runs at any one time. The load never exceeds more than 5 transactions per 10 ... the morning on Sunday 25th of October at 3am. We think this is significant as this is exactly the time

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