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 ...

 
forum_thread

Date field Index is corrupted due to time change

Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete attempt with DB explorer results in the following exception: ... a 1G DB file when the application starts for the fist time. The size of the DB file does not change during the life of the system as ... are sequential, i.e. only one DB operation runs at any one time. The load never exceeds more than 5 transactions per 10 ...

 
forum_thread

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields. The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM are using the 2015g time zone data. ... in date only fields . The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM are using the 2015g time zone ...

 
forum_thread

Grouping by date()

Hi, For some time now we can use date and time function in queries to extract part of date time (from documentation): YEAR({d '2011-12-31'}) is evaluated to 2011. MONTH({d '2011-12-31'}) is evaluated to 12. DAY({d '2011-12-31'}) is evaluated to 31. HOUR({t '23:59:00'}) is evaluated to 23. MINUTE({t '23:59:00'}) is evaluated to 59. SECOND({t '23:59:00'}) is evaluated to 0. ... Hi, For some time now we can use date and time function in queries to extract part of date time (from documentation): ...

 
forum_thread

Compile time enhancement using build.xml of a Netbeans web application

Does anybody have a complete, working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? The ObjectDB 2.3 manual gives the following tip: ... web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? ... helpful. Until now I have been working with run-time enhancement using objectdb.jar as a javaagent, but I am now seem to be ...

 
forum_thread

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 do anything that would affect loaded compile-time enhanced entity classes (other than just logging, typically just info and warn level).     ... you do not need the Enhancer agent, since you use build time emhancement, but GlassFish invokes it automatically. Currently there is no ... disable the enhancer agent ... Q: Does run time enhancer due to GlassFish/Payara do anything that would affect loaded ...