ObjectDB ObjectDB

Internal Website Search

81-90 of 107 resultsRefresh

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

Visibility of changes in Transaction is not visible to a JPA QL Query

.cachedKey = :cachedKey", Item.class);   q.setParameter("cachedKey", Integer.toString(which));   return

Like fails if both underscore and percent are used

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

Restrict by class in query

I have the following bit of code: public List<Folder> findFolderByName(String folderName) { TypedQuery<Folder> byNameQuery = this.entityManager.createQuery("SELECT f FROM Entry f WHERE f.name=:name", Folder.class); return byNameQuery.setParameter("name", folderName).getResultList(); } I

query on calendar class

.createQuery("SELECT c FROM Cdr c where c.start.DAY_OF_WEEK = ?1",Cdr.class); query.setParameter(1

Finding an object by its datetime

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


", License.class); query.setParameter(1, id); int changes = query.executeUpdate

NPE on em.createQuery(query).getResultList()

.createQuery(             "SELECT e FROM MyEntity e WHERE e = :p");         query.setParameter("p", e

Feature Request: Subclassed PersistenceException for Type Not Found in DB Schema

<Integer> query = manager.createQuery(queryString, Integer.class); query.setParameter("chain", Integer

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether ravshansbox Ravshan Thanks. It was fixed now to setParameter. support Support

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