ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
10

Failed to read DB file while online backup is running

._JdoUserException: Failed to read from file '/path_to_db/dbFile.odb' NestedThrowables: java.io ... to read from file '/path_to_db/dbFile.odb' NestedThrowables: java.lang.NullPointerException at com ... to read from file '/path_to_db/dbFile.odb'" error is happening again, although with different
10

How to convert a boolean to an int in the query?

.createQuery(Integer.class);         Root<City> c = q.from(City.class);         Path<Boolean ... ); Root<Person> c = q.from(Person.class); Path<Boolean> boolApproveEmail = c ... .class); Root<Person> c = q.from(Person.class); Path<Boolean> boolApproveEmail = c
10

Query in JPA2 with LEFT JOIN on INNER JOIN

masterPredicate = cb.conjunction(); Predicate predicateOnPath = cb.equal(root.get(Action_.path).get(Path_.id), idPAth); masterPredicate = cb.and(masterPredicate,predicateOnPath); for (int ... where 1=1 and action0_.ID_PATH=14 and actionprof1_.ID=11
10

lockfiles in client/server mode

.conf does not help. for example, <temp path="$objectdb/work" threshold="64mb" /> /usr/local/share ... that try using the same directory for their temporary files. Changing the temporary directory path ... this configuration file is probably not used (see rules for the configuration path on this manual page
10

Configuration and Activation Code in ObjectDB 2.x

of the ObjectDB Manual. The location of the configuration file is discussed in the Configuration Path section ... that i can set the conf file path through System.setProperty("objectdb.home", "/odb"); If i am packing the conf file in my jar file, what should be the path that i should give. And my objectdb.conf file
9

Problem with Criteria Querys

>, Expression<? extends Number>) in the type CriteriaBuilder is not applicable for the arguments (Path ... <? extends Number>) in the type CriteriaBuilder is not applicable for the arguments (Path<Object ... ");     ParameterExpression<Double> p2 = cb.parameter(Double.class, "p2");     Path<Double> lon = d.get("lon");     q
9

LEFT JOIN FETCH over empty embedded collection returns no results

First of all, thank you for promptly implementing JOIN FETCH over nested paths in response ... Schreiber The problem may be with the expression c.bList.val. Path expressions are considered as INNER JOIN by JPA, although apparently it makes sense to consider path expressions in LEFT JOIN FETCH
9

Does ObjectDB support lazy loading?

static void main(String[] args)   { String path = "test.odb"; EntityManagerFactory emf = Persistence.createEntityManagerFactory(path); EntityManager em = emf ... ? public static void main(String[] args)  {     String path = "test.odb";     EntityManagerFactory
9

Help with JPA2 Criteria and conditional operator grouping

);   ParameterExpression<String> nameParam = builder.parameter(String.class);   Path<String> namePath = root.get("companyId");   Path<Boolean> conditionOnePath = root.get("conditionOne");   Path<Boolean> conditionTwoPath = root.get("conditionTwo");   Path<Boolean> conditionThreePath = root.get("conditionThree
9

PersistenceException UserException: Failed to validate persistence.xml

. What is the "!" character at the beginning of the path, is it part of your path? Could you try moving your project to a path with no special characters? I don't know if it would solve the exception but it is worth trying. support Support Thank you. But path acts right way. Finally I've got it. I

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