About date

1-10 of 200Refresh
Manual
238

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
JPA Doc
60

TemporalType.DATE

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

VersionStrategy.DATE_TIME

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

JPA Persistable Types

, Date and Math types. Multi value types - Collections, Maps and Arrays. Miscellaneous types: Enum types ... , 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
Manual
37

Query Parameters in JPA [2011-04-01]

three is that JPA additionally provides three separate methods for setting Date parameters as well as three separate methods for setting Calendar parameters. Date and Calendar parameter values require special methods in order to specify what they represent, such as a pure date, a pure time or a combination of date
Manual
37

Query Parameters in JPA

three is that JPA additionally provides three separate methods for setting Date parameters as well as three separate methods for setting Calendar parameters. Date and Calendar parameter values require special methods in order to specify what they represent, such as a pure date, a pure time or a combination of date
Forum
32

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 ... "));         List<Date> dates = new ArrayList<Date>();         calendar.set(1980, 2, 1);         dates.add
Result
26

ObjectDB Object Database Features

. Documentation Compressive, up to date, searchable online Developer's Guide/Manual. ObjectDB Manual in PDF format ... , Byte, Short, Character, Integer, Long, Float, Double). java.lang.String Date types: java.util.Date, java.sql.Date, java.sql.Time and java.sql.Timestamp. Math types: java.lang.BigInteger and java
Forum
24

Date field Index is corrupted due to time change

, which affects indexes on pure Date fields (i.e. date with no time). ObjectDB converts pure date values ... at the time of the time change. However, what values in the date fields will cause the corruption ... more details on how the corruption actually happens? It could happen if during writing a pure date
Manual
24

Literals in JPQL and Criteria Queries

equivalent. Date and Time Literals JPQL follows the syntax of SQL and JDBC for date literals: Date - {d ... .literal("JPA"); // Date and Time literals: ExpressionDate> today = cb.literal(new java.sql.Date()); Expression time = cb.literal(new java.sql.Time()); Expression