Home » Search

About CURRENT_DATE

21-30 of 200Refresh
Forum
11

How to add minutes to a Date with JPA2

Hi,  I have to sum to a date of minutes, and check the date obtained is greater than the current date. My idea is as follows: Calendar currentTime = Calendar.getInstance(); Date currenteDate ... and verify that the current date is less than dateCapure+delayMinutes, cb.greaterThan(dateCapture
JPA Doc
11

javax.persistence.criteria.CriteriaBuilder

of objects as its result. Returns: criteria query object Since: JPA 2.0 Expression<Date> currentDate() Create expression to return current date. Create expression to return current date. Returns: expression for current date Since: JPA 2.0 Expression
Forum
10

java.sql.Date equals comparison not working with CriteriaAPI

Hello, Using ODB 2.4.5 and the Criteria API, doing a simple equals comparison with java.sql.Date ... = ...; Root root = ...; java.sql.Date myDate = ...; Predicate predicate = builder.equal ... why this might be the case? Note: We can currently not update the ODB version as this is a production system. Note
Result
10

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
9

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
Forum
9

Number of current connections

Is there any way to find out the number of current connections to the DB server? Currently not. You may subscribe to this feature request and update it according to your needs. natmaclin
JPA Doc
9

javax.persistence.Query

instance. Returns: query properties and hints Since: JPA 2.0 LockModeType getLockMode() Get the current lock mode for the query. Get the current lock mode for the query. Returns: lock mode Throws ...  position, Date value, TemporalType temporalType) Bind an instance of java.util.Date to a positional
Forum
9

_UserException: Attempt to open a database file '...' that is currently in use

_UserException: Attempt to open a database file '...' that is currently in use
Forum
9

ObjectDB current status of the BIRT plugin

ObjectDB current status of the BIRT plugin
Forum
8

Query results are not up to date for entities, not primitives

generic functions to build generic TypedQuerys. I just realized that the data retrieving up to date if I ... should return up to date results, if: You are using a new EntityManager (i.e. with no old cache ... above have severe natural limitation in respect of getting up to date data from later queries. Try to replace UPDATE