ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
53

The drop code word does not work?

Using ObjectDB in embedded mode, I tried the following while test running: EntityManagerFactory emf =             Persistence.createEntityManagerFactory("objectdb:punkter.odb;drop"); The drop-codeword does not seem to work - I must manually delete the database file each time. I get no errors
53

Git seems not to commit objectdb.conf

git version 1.8.4.1 (Mac OS X) For some reason my Git seems to be "ignoring" (although not in .gitignore) the web/WEB-INF/objectdb.conf in a web app. I can't find anything about the .conf suffix being ignored. Has anybody noticed this and/or found a solution ? webel Dr Darren Kelly
53

Field in Generic Class not persisted?

Hi, I am trying to persist a class which is extended from an generic class - but fields declared inside the generic class are not persisted - is that expected? I assume it can be done b/c this field can be recovered after serialisation/deserialization. Here is an code to demonstrate the problem
53

@Unique member combination not working

Why does the below code not enforce unique restrictions? Person @Entity @Unique(members = {"name", "surname"}) public class Person implements Serializable {     @Id     @GeneratedValue     private Integer id;     private String name;     private String surname; public Integer
53

_PersistenceException: Type is not found on getSingleResult.

._PersistenceException: Type Estudiante is not found For this query: select est from Estudiante est
53

can not use spring-data-jpa repository with NamedQuery

: Unsupported feature - Typed Parameters are not supported yet at com.objectdb.o.JPE.g(JPE.java:121) at com
53

JPA does not seem to be db agnostic

The following jpa code works with mysql but not with objectdb. Why would this happen? The provider the both jpas is the same: EclipseLink. The link for the one used with mysql is org.eclipse.persistence.jpa.PersistenceProvider; the one for objectdb is com.objectdb.jpa.Provider (per the tutorials
10

Can not connect to replication node

when the objectdb.jar file is not available in the classpath. support Support Thanks
10

Mapped by fields are not initialized by JOIN FETCH in queries

As demonstrated in this forum thread, a mapped by collection field with lazy fetch mode is not initialized in results of a query that uses JOIN FETCH on that collection field (when enhancement is used). support Support Build 2.4.1_06 fixes this issue (fields are now initialized and the test in
10

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

is not found com.objectdb.o._PersistenceException:45 com.objectdb.o.JPE:145 com.objectdb.o.ERR:56 com

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