ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh

Date and Time in JPQL and Criteria Queries

expressions - in navigation to persistent date and time fields. as results of predefined JPQL current date and time functions. Current Date and Time JPA defines special JPQL expressions that are evaluated to the date and time on the database server when the query is executed: CURRENT_DATE

Number of current connections

Is there any way to find out the number of current connections to the DB server? natmaclin Natalia Levine Currently not. You may subscribe to this feature request and update it according to your needs. support Support

Is there an API to get the current version of ObjectDB that's being used?

Is there an API to get the current version of ObjectDB that's being used? This would be very handy to have, because it is somewhat difficult to know what version of the ObjectDB you are currently using since the objectdb.jar filename remains the same for all versions (which is not a bad thing by

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 emhancement, but GlassFish invokes it automatically. Currently there is no setting in ObjectDB to disable the enhancer agent ... Q: Does run time enhancer due to GlassFish/Payara

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


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


Method javax.jdo.datastore.Sequence Object current() Returns the current sequence value object if it is available. It is intended to return a sequence value object previously used. If the current sequence value is not available, throw JDODataStoreException. Returns: the current value Since: JDO 2.0


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


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

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