ObjectDB ObjectDB

Internal Website Search

91-100 of 111 resultsRefresh
7

IN operator syntax

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

Help with 'not like/lower' query

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

Finding an object by its datetime

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

Memory leak with OutOfMemoryError exception

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

Like fails if both underscore and percent are used

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

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
7

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
1

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
1

Negative snapshot user count

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

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