ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh

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

Git seems not to commit objectdb.conf

git version (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

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

@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

_PersistenceException: Type is not found on getSingleResult.

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

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

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

Can not connect to replication node

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

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

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