ObjectDB ObjectDB

Internal Website Search

1-10 of 62 resultsRefresh

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 ... .prod(samplingPeriod,3); //minutes to be added I must now sum to the dateCapture the delayMinute

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT ... minutes to complete on average when run for the first time. We get results back in less than as second

java.sql.Time field off by 30 minutes

Hihi, I'm wondering if this is a bug. I have a simple entity with java.sql.Time field. On writing and readback, the field is found to be 30 minutes off. It is observed on objectdb explorer as well. Timestamp works perfectly fine. Ps. dont think its a UTC issue. My system is set at far off UTC+30min

Date and Time in JPQL and Criteria Queries

, MINUTE and SECOND. For example: YEAR({d '2011-12-31'}) is evaluated to 2011. MONTH({d '2011-12-31 ... . MINUTE({t '23:59:00'}) is evaluated to 59. SECOND({t '23:59:00'}) is evaluated to 0. Date and Time ... <Integer> hour = cb.function("hour", Integer.class, time); Expression<Integer> minute =     cb

several times a day queries take several minutes

take around 10 seconds but sometimes several times a day take around 3-10 minutes

Exception makes the system unusable for several minutes

. However, it is unclear why this makes the system unusable for several minutes, as the exception is expected

JPA - ExceptionInInitializerError when creating EntityManager

error occurred for getting this value from CLMS S/w then set it's * default value as 40 minutes. Minutes */ public static int SHIFT_SLOT; //Field SHIFTATTENDAFTERSLOT from AttendanceSettings table ... minutes = em.createNativeQuery("SELECT AttendanceSettings.Value FROM AttendanceSettings WHERE rtrim(LTRIM

ObjectDB - Object Database for Java (JPA/JDO)

. See for yourself how easy it is. Download ObjectDB and follow the Getting Stated Tutorial, and in minutes

TemporalType injection with Calendar using JPA


[ODB1] Chapter 3 - Persistent Classes

is to apply last minute changes to persistent fields in the object just before the store. void

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