Internal Website Search

1-10 of 200 resultsRefresh

Date and Time in JPQL and Criteria Queries

current date and time functions. Current Date and Time JPA ... when the query is executed: CURRENT_DATE - is evaluated to the current date (a java.sql.Date instance). CURRENT_TIME - is evaluated to the current time

Internal exception when updating date filed (TemporalType.DATE)

Date field (javax.persistence.TemporalType.DATE). [ObjectDB 2.5.3_02] javax ... (TimeZone.getTimeZone("GMT+03:00"));         List<Date> dates = new ArrayList<Date>();         calendar.set(1980, 2, 1

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

Query filter comparing Dates

Hi, I am using an indexed java.util.Date field in my Entity and I came across some weird behaviour in query filters comparing this Date field. Could You please clarify why are there zero-size ... am comparing 2 dates which should be equal because they are showing exactly same inner millisecond

TemporalType.DATE

Enum Constant javax.persistence.TemporalTypeDATE Map as java.sql.Date Since: JPA 1.0

JPA Persistable Types

: Primitive types, Wrappers, String, Date and Math types. Multi value types - Collections, Maps ... . java.util.Date, java.util.Calendar, java.sql.Date, java.sql.Time, java.sql.Timestamp. Date and time types

current()

.SequenceObject current() Returns the current ... used. If the current sequence value is not available, throw JDODataStoreException. Returns: the current value Since: JDO 2.0

VersionStrategy.DATE_TIME

Enum Constant javax.jdo.annotations.VersionStrategyDATE_TIME Since: JDO 2.1

[ODB1] Chapter 7 - JDOQL Queries

>) method for system types (String, Date, ArrayListDate instances can be compared using all six comparison operators. Numeric wrapper ... with no literal representation in queries (as Date instances, and instances of user defined classes