ObjectDB ObjectDB

Internal Website Search

41-50 of 61 resultsRefresh
12

Internal exception when updating date filed (TemporalType.DATE)

.TIMESTAMP) @Index         private Date createDate = new Date();         @Temporal(javax.persistence.TemporalType.TIMESTAMP)         private Date modifyDate = new Date();         private
12

Group by date / time

, 58);         e1.t = new Timestamp(c.getTime().getTime());         em.persist(e1);         em ... final class MyEntity {         private Timestamp t;     }   } should produce this output: [[2099
12

How to store and compare Date up to sec.

How to store and compare date up to sec? By default it stores the dates like "23 May, 2020 10:25:23:112 AM" means date and timestamp including milisec but I want to store till sec("23 May, 2020 10:25 ... /resetting-the-time-part-of-a-timestamp-in-java support Support Hi Thank you for the response.I
8

Error using query with MAX() function

remark; @Basic @Temporal(value = TemporalType.TIMESTAMP) private Date changeDate; public
8

JPQL query to get entities that does not have a child entity in their child entities

Table ID    Status                Timestamp                JobId 01    Started               2105
8

Dates

to GMT, so in the database all the date and timestamp values are GMT. When the value is retrieved from
8

Performance in SELECT statement

    private long timestamp;     @Embedded     private State state;     ... getter/setters
8

Date field Index is corrupted due to time change

;         }         @Basic(optional = false)         @Temporal(TemporalType.TIMESTAMP
1

Use temporary files to enable very large transactions

.TIMESTAMP)      private Date date;      /**       * Construct a new message and set its date
1

NPE at com.objectdb.jpa.JpaQuery.getResultList

static final class MomentPayload {         java.sql.Timestamp dateTime;     } } support Support

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support