About CURRENT_DATE

31-40 of 200Refresh
Result
9

ObjectDB Object Database Features

, up to date, searchable online Developer's Guide/Manual. ObjectDB Manual in PDF format is included in ObjectDB ... , Integer, Long, Float, Double). java.lang.String Date types: java.util.Date, java.sql.Date, java ... Dates: java.util.Date, java.sql.Date, java.sql.Time and java.sql.Timestamp. Math: java.lang.BigInteger
JPA Doc
8

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

Grouping by date()

Hi, For some time now we can use date and time function in queries to extract part of date time ... have to group by date(). For few queries I was concatenating 'date' from year()-month()-day() calls ... to add one more method to above list - date() - that will return only date from java.util.Date field
Forum
8

Entity Update - Is the documentation up to date?

is always expected to be up to date with the last ObjectDB version. > First, I've been modifying managed entities ... , because an object is identified as dirty by comparing its old content with the current content ... with the field's current value, I can test for equality inside the setter, like this: public void setFoo(int
Forum
8

Problem with 'where' and date()

Hi, Today I was playing with some date-range queries in explorer and found a small problem. When you try to use queries like this: SELECT o from TestObject o where o.date > :someDate where o.date is java.util.Date, 'where' doesn't work as it should. Results are not filtered by date
Forum
8

GWT RPC is throwing serialization exception when I have object db date value

Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'objectdb.java.util.Date ... .java.util.Date class is a subclass of java.util.Date that ObjectDB uses in order to track changes. It implements java.io.Serializable but probably this is not sufficient for GWT because Date is a special
Forum
7

Wrong data stored in date only fileds

Hi, we have an object with the following fields:   private Date startDateTime; // Time stamp: start of recording in local time zone private Date startDate; // Date: date part of startDateTime private Date startTime; // Time: time part of startDateTime @Basic
Forum
7

Dates

Question on dates. SQL doesn't seem to store timezone with dates (oddly). So, any best practises with ODB? 1. use java.util.Date 2. Milliseconds since January 1, 1970, 00:00:00 GMT 3. other? When a Date instance is stored in an ObjectDB database it is converted automatically to GMT, so in
Forum
7

Entity with java.util.Date column gives ClassCastException in BIRT

JPQL query to select the fields. Entity looks like this: package entity; import java.util.Date ... ="birthdate")     @Temporal(value = TemporalType.DATE)     private Date birthdate ... the birthdate      */     public Date getBirthdate() {         return birthdate