ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
196

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
64

Internal exception when updating date filed (TemporalType.DATE)

Hello! ObjectDB version 2.5.3_02. I get internal exception when commiting update Date field (javax.persistence.TemporalType.DATE). [ObjectDB 2.5.3_02] javax.persistence.RollbackException Failed ... .getTimeZone("GMT+03:00"));         List<Date> dates = new ArrayList<Date>();         calendar.set(1980, 2
57

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
57

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
31

JPA Persistable Types

, Date and Math types. Multi value types - Collections, Maps and Arrays. Miscellaneous types: Enum ... , java.math.BigDecimal. java.lang.String. java.util.Date, java.util.Calendar, java.sql.Date, java.sql.Time, java.sql.Timestamp. Date and time types are discussed in more detail in the next paragraph. Date
23

TemporalType.DATE

Enum Constant javax.persistence.TemporalType DATE Map as java.sql.Date Since: JPA 1.0
20

Literals in JPQL and Criteria Queries

), a feature that is not currently supported by all JPA implementations. String Literals JPQL follows ... equivalent. Date and Time Literals JPQL follows the syntax of SQL and JDBC for date literals: Date - {d ... .literal("JPA"); // Date and Time literals: Expression<java.sql.Date> today = cb.literal(new
17

Database Schema Evolution

of an old schema is loaded into memory it is automatically converted into an instance of the up to date ... int to Date) the fields are not considered as matching and the new field is initialized ... any date type to any date type. From any collection or array type to any collection or array type, as
3

current()

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
2

VersionStrategy.DATE_TIME

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