ObjectDB ObjectDB

Internal Website Search

91-100 of 111 resultsRefresh

IN operator syntax

.setParameter("list", Arrays.asList(4, 5)); support Support Are you planning to support literal list in near

Help with 'not like/lower' query

= em.createQuery(c);         query.setParameter(stringProp, "test");             List<MyEntity

Finding an object by its datetime

", Booking.class) .setParameter("btime", btime, TemporalType.TIMESTAMP); } @Entity public

Memory leak with OutOfMemoryError exception

.setParameter("symbol", symbol);     List<DailyEntry> results = q.getResultList();     em.close

Like fails if both underscore and percent are used

(queryString, StringHolder.class); query.setParameter("filter", "_oo%"); List results

createQuery method error

Hello, I am learning ObjectDB now. I create a simple Dao method as below: public boolean isJobExist(String name) { TypedQuery<Long> query = em.createQuery( "SELECT count(j) FROM MFJob j WHERE j.jobName = :name", Long.class); return query.setParameter("name", name

user defined backup target

Dear objectdb Team 1. I could not find a way, to declare the name of the backup-file (while running the database). The only way I found is to create the folder in which objectdb will copy the database - file: Query backupQuery = em.createQuery("objectdb backup"); backupQuery.setParameter("target

InternalException when using MEMBER OF on a large list in a query

= em.createQuery(query, String.class); q.setParameter(1, scopeIDs); //scopeIDs is a Set<String

Negative snapshot user count

)                         .setParameter("id", id).executeUpdate();                     em2.getTransaction

Using SELECT BETWEEN with LocalDate

I am trying to query all entities whose date is between today and today + X days. The date inside the entity is a LocalDate. To do so I created the following query: .createQuery( "SELECT e FROM Element e WHERE e.date between CURRENT_DATE and :date", Element.class) .setParameter("date

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