ObjectDB ObjectDB

Internal Website Search

61-70 of 154 resultsRefresh
11

Catching exceptions from online backup

is that You could either make this field accessible via some API or the TypedQuery.getSingleResult ... :     TypedQuery<Thread> backupQuery =     em.createQuery("objectdb backup", Thread.class ... : EntityManager em = database.createEntityManager(); try {     TypedQuery<Thread> backupQuery = em
11

Internal exception when updating date filed (TemporalType.DATE)

.getTransaction().begin();                 TypedQuery<Person> personQuery = entityManager ... .Temporal; import javax.persistence.TypedQuery; public class OdbDateBugTestCase { public ... (); TypedQuery<Person> personQuery = entityManager.createQuery("select p from Person p", Person
11

Query on Embedded Primary Key?

; import javax.persistence.TypedQuery; @Entity public class OBJ2 implements Serializable ... .getTransaction().commit();         em.clear();         TypedQuery<Primkey2> query = em.createQuery ... ();         String q = ret.get(0).getClass().getCanonicalName();         TypedQuery<Primkey2
11

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

go to count them; TypedQuery<Long> q = em.createQuery("SELECT COUNT(x) FROM Item x", Long.class ... (EntityManager em) {   TypedQuery<Long> q = em.createQuery("SELECT COUNT(x) FROM Item x", Long.class ... (EntityManager em, int which) {   TypedQuery<Item> q = em.createQuery("SELECT o FROM Item o WHERE o
11

ObectDb 2.3.6 in OSGi environment

bundle I'm trying to call the second bundle in following way with a JUnit Plugin test: TypedQuery<RuleValueNode> query =  (TypedQuery<RuleValueNode>) this.dbService.createNamedQuery("RuleValueNode ... > TypedQuery<T> createNamedQuery(String name, Class<T> objClass) {   return this.em.createNamedQuery
11

Searching lists within objects

);         TypedQuery<CDI> typedQuery = em.createQuery(q);         List<CDI> results = typedQuery
11

How to use JOIN FETCH?

.TemporalType; import javax.persistence.TypedQuery; public class Eager2 { public static void main ... );   em.getTransaction().commit();   TypedQuery<Address> aq = em.createQuery("select a from Address ... .   TypedQuery<Person> q = em.createQuery(         "select p from Person p join fetch p.addressHistory
2

@FetchGroup in JPA similar to JDO

with only those fields filled with data: TypedQuery query = em.createQuery("SELECT e FROM Entity e", Entity.class ... : TypedQuery<Tuple> query = em.createQuery("select e.firstName, e.lastName FROM Entity e", Tuple ... constructors to Entity and change query to TypedQuery<Entity> query = em.createQuery("select new
2

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

): protected void testQuery() { String $i = "testQuery"; TypedQuery<Element> query = em ... () { String $i = "testQuery"; TypedQuery<Element> query = em.createQuery("SELECT e FROM Element e", Element ... ";         TypedQuery<Element> query = em.createQuery(             "SELECT e FROM Element e", Element.class
2

Online Backup degrades responsiveness.

..."); TypedQuery<Thread> backupQuery =                 em.createQuery("objectdb backup", Thread.class ... (); try { getLogger(this).info("Backup Start..."); TypedQuery<Thread ... (); try { getLogger(this).info("Backup Start..."); TypedQuery<Thread

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