About time

manual

Date and Time in JPQL and Criteria Queries

Shows how date and time can be used in JPQL 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 ...

 
manual

JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps.... Simple Java Data Types Date and Time (Temporal) Types Multi Value Types Proxy ... java.util.Calendar , java.sql.Date , java.sql.Time , java.sql.Timestamp . Date and time types are discussed ...

 
forum_thread

log entry date/time

It would be very useful if each entry in the log file has a date/time stamp. Thanks, Carl   ... be very useful if each entry in the log file has a date/time stamp. Thanks, Carl   ... Version 2.2.2 adds date/time stamps to the log. Thank you for your suggestion. ...

 
forum_thread

find() cost unreasonable time!

Hi, I make a full binary tree of 4095 node, I check the first 9 node, but the root cost 24 seconds, why? Result: ... why? Result: =========== find time @ 24.125000 getSons time @ 0.000000 1 : type : Nodes, sons : 2 child : ...

 
manual

Database Schema Evolution

Explains how ObjectDB handles automatically schema changes.... entity class. This is done automatically in memory each time the entity object is loaded. The database object is only updated to the ...

 
manual

Literals in JPQL and Criteria Queries

Describes literals in JPQL, including null, false, true, numbers, strings, dates enums and types.... String Literals Date and Time Literals Enum Literals Entity Type Literals ... and 'ABC' are not equivalent. Date and Time Literals JPQL follows the syntax of SQL and JDBC for date ...

 
forum_thread

Time Sequence Object Command DB

We (www.s2ssystems.com) have a time-sequential object command database.  I would like to see if it can be built and run efficiently on ObjectDB.   The requirements that drive the design of this database are: ... We (www.s2ssystems.com) have a time-sequential object command database.  I would like to see if it can be ... this database are: Each transaction has a time-stamp which is the time the transaction was added to the database. ...

 
api-jpa

TemporalType.TIME

Map as java.sql.Time(Enum Constant of javax.persistence.TemporalType)

 
forum_thread

Maven driven compile time ehnancement

Hi,    Just thought I'd share a small bit of Maven config to aid in enhancing persistent classes during compile time. Just add the following to your pom.xml: ... to aid in enhancing persistent classes during compile time. Just add the following to your pom.xml: <build > ... is a better choice than mine, as mine only does compile time - modified to actually deploy to repo!   ...

 
forum_thread

package.jdo validation error (Connection timed out)

HI, I am trying to read the odb file generated using objectdb 1.0. Using converter.jar, i converered to new objectDB file and then was trying to read the file and i got the following exception. com.objectdb.o._JdoUserException: Failed to validate xml file <somePath>\RTDLogger.jar#package.jdo: Connection timed out: connect NestedThrowables: java.net.ConnectException: Connection timed out: connect #1 2012-05-21 15:37 HI, I am trying to read the odb file generated using objectdb 1.0. Using converter.jar, i converered to n ...