ObjectDB ObjectDB

Internal Website Search

1-10 of 11 resultsRefresh
155

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

Order in WHERE Clause affects behaviour on DATE/DATETIME columns
155

Finding an object by its datetime

Finding an object by its datetime
77

Date field Index is corrupted due to time change

        DateTime dt = null;         try {             dt = new DateTime(dtf.parse("2015.10.31 09:18:14"), new ... DateTime(dtf.parse("2015.12.09 10:59:57"), new Short((short)10), null, "121 Jerry");             em ... ();         }         try {             dt = new DateTime(dtf.parse("2015.12.10 12:46:28"), new Short((short)19
71

Wrong data stored in time only fields

();         em.getTransaction().begin();         // Add records that are a problem         DateTime dt = null;         try {             dt = new DateTime(dtf.parse("2015.10.30 18:18:14 ... ();         }                 try {             dt = new DateTime(dtf.parse("2015.12.09 21:26:19
15

Java 8 time API

Hi. Is Java 8 new DateTime API supported natively or through Converters in the newest versions of objectdb? If not, can we expect this feature in the next releases? Best regards and congratulations on this awesome database. Amsterdam Amsterdam Luís de Lima Filho It is not supported yet, except by
10

Constants.OPTION_VERSION_DATETIME

Static Field javax.jdo.Constants String OPTION_VERSION_DATETIME "javax.jdo.option.version.DateTime" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
6

java 8 LocalDateTime is not working in query

able to query without datetime field in where clause, but with datetime in where clause doesn't ... > { @Override public Timestamp convertToDatabaseColumn(LocalDateTime dateTime) { return Timestamp.valueOf(dateTime); } @Override public LocalDateTime
5

NPE at com.objectdb.jpa.JpaQuery.getResultList

(fromMomentPayload.get("dateTime"))); Query q = em.createQuery(query ... .orderBy(cb.desc(fromMomentPayload.get("dateTime")));             Query q = em.createQuery(query ... static final class MomentPayload {         java.sql.Timestamp dateTime;     } } support Support
3

NullPointerException when using multithreading

primitive integers in its map. However it will also be used to store String, and Joda DateTime
1

javax.jdo.Constants

See Also: PersistenceManagerFactory.supportedOptions() String OPTION_VERSION_DATETIME "javax.jdo.option.version.DateTime" "javax.jdo.option.version.DateTime" Since: JDO 2.1

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