ObjectDB ObjectDB

Internal Website Search

71-80 of 107 resultsRefresh
6

Embedded List

", ItemDB.class).setParameter(1, strSupPart); strSupPart is the part I am looking for in my Embedded List
6

Cannot save or update entity on Spring App

.createQuery(query); for(String s : map.keySet()) q.setParameter(s, map.get(s
6

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

.createNamedQuery( "Guest.findByName", Guest.class )     .setParameter( "name", name.toLowerCase
6

IN operator syntax

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

Cast exception?

I'm getting a weird exception: java.lang.ClassCastException: database.entity.Player cannot be cast to database.entity.Player From just fetching a single result: TypedQuery<Player> query = em.createNamedQuery("Player.getPlayer", Player.class); Player player = query.setParameter("id", uid
6

Performance in SELECT statement

, TestEntity.class); query.setParameter("state", EnumSet.of(State.NEW, State.ACKNOWLEDGED)); List
6

fetch by enum

I have Entity named Fruits with a column Type which is a enum. I want to fetch the based on Type Eg. Query qry= em.createQuery("Select f from Fruits f where f.Type =: t "); qry.setParameter("t",Type.Sweet); But it return a null result list. Manoj Manoj Kumar Maharana It should work. Please provide
6

How to pass a list in query for a list field of entity.

a where a.SocialMedias in (:so)"); qry.setParameter("so", soList); List<Agent> ents = qry
6

Failed to read DB file while online backup is running

.class);   backupQuery.setParameter("target", database.getBackupDirectory());   Thread backupThread
1

Unexpected Exception (Error 990) with ArrayIndexOutOfBoundsException

.setParameter("id", results.get(0).getId()) .executeUpdate(); em.getTransaction().commit

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