ObjectDB ObjectDB

Internal Website Search

1-10 of 95 resultsRefresh
57

Date and Time in JPQL and Criteria Queries

such functions as an extension. ObjectDB supports 6 functions for extracting the YEAR, MONTH, DAY, HOUR ... '}) is evaluated to 12. DAY({d '2011-12-31'}) is evaluated to 31. HOUR({t '23:59:00'}) is evaluated to 23 ... ); Expression<Integer> month = cb.function("month", Integer.class, date); Expression<Integer> day = cb
32

each 1-2 days objects on some objectdb level lock/block each other

each 1-2 days we have the situation that our system changes to a completely underperforming mode ... -Georg Zwicker According to the subject of this thread it happens every 1-2 days. Can you confirm that it happens when the system is on load? Does it happen in a specific time of the day? any
31

several times a day queries take several minutes

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

TemporalType injection with Calendar using JPA

Unexpected argument (com.foo.bar.jpa.enity.TimePeriod[ day, java.util.GregorianCalendar[time=1306779283031 ... =4,WEEK_OF_YEAR=22,WEEK_OF_MONTH=5,DAY_OF_MONTH=30,DAY_OF_YEAR=150,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=5,AM_PM=1,HOUR=7,HOUR_OF_DAY=19,MINUTE=14,SECOND=43,MILLISECOND=31,ZONE_OFFSET=0,DST_OFFSET=3600000
14

General Settings and Logging

is empty ("") logging to file is disabled. Every day a new log file is generated with the name odb ... directory. The retain attribute specifies how many days to keep the archived log files. After that period
13

Grouping by date()

to 12. DAY({d '2011-12-31'}) is evaluated to 31. HOUR({t '23:59:00'}) is evaluated to 23. MINUTE({t ... have to group by date(). For few queries I was concatenating 'date' from year()-month()-day() calls ... in queries: DATE(ts) - Extracts the date part (year, month, day) as a Date instance. TIME(ts
12

query on calendar class

.DAY_OF_WEEK is FRIDAY or any other. My class: @Entity public class Cdr {     private static ... .createQuery("SELECT c FROM Cdr c where c.start.DAY_OF_WEEK = ?1",Cdr.class); query.setParameter(1 ... .persistence.PersistenceException Navigation from 'java.util.Calendar' through 'DAY_OF_WEEK' is invalid
2

Server out of memory exceptions

has typically been running for 3-4 days without issue. felixobjectdb Richard Szurgot The stack trace doesn't provide much information. Could you get heap dump snapshots - after one day, two days, three days ... rather than a structured replication. As the real problem only presents itself after a few days the test
1

[ODB1] Chapter 1 - About ObjectDB

every day. JDO already has websites, a forum, a mailing list, consulting and training companies
1

[ODB1] Chapter 7 - JDOQL Queries

); The first four lines of code prepare a Date instance representing the first day of the year 2000

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