About relation

forum_thread

javax.persistence.PersistenceException

Hi I am trying to get a basic EclipseRCP project working with Objectdb. At the very first line in creating a View public void createPartControl(Composite parent) { EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/db/pilots.odb"); I get the following "javax.persistence.PersistenceException: No Persistence provider for EntityManager named pilots.odb at javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)....." #1 2011-06-19 07:32 Hi I am trying to get a basic EclipseRCP project working with Objectdb. At the very first line in creatin ...

 
doc

java.lang.Throwable

The Throwable class is the superclass of all errors and exceptions in the Java language.(Class of java.langClass Throwable)

 
forum_thread

Crash due to memory problems

We had a crash of our system, log reports the following: ... #1 2016-11-14 06:42 We had a crash of our system, log reports the following: ... [2016-11-10 08:28:14 #11 server] ...

 
forum_thread

String Encoding Issue

Hi all Encounter a character encoding issue when i try to retrieve a String column containing Chinese character. Retrieve a String column on odb file.  em = emf.createEntityManager(); Query query = em.createQuery("SELECT fu FROM FarmUnit fu"); But, when try to print the value out as: #1 2011-06-23 04:30 Hi all Encounter a character encoding issue when i try to retrieve a String column containing Chinese cha ...

 
forum_thread

Empty query results after JAR creation

Hi, I struggle with a strange issue. I've embedded ObjectDB in a small application to query cases. Within Netbeans everything works fine but when I create a  JAR File and executed via "Java -Jar xyz.jar", I get either empty results or on some cases a "NoResultException" which appears to report the same issue. I've created a small test case (attached zip file) with sample DB to reproduce the issue.  #1 2012-04-24 04:03 Hi, I struggle with a strange issue. I've embedded ObjectDB in a small application to query c ...

 
forum_thread

Great product - needs better marketing - more popularity

Hi, ObjectDB! While you have a very nice product, which I recommend everywhere I go, it is quite difficult to explain to my customers what is it and why we should use it, and things like that, because it's quite unknown.  It's a great product, therefore I'm building the 3rd product based on ObjectDB since the beginning of this year, but I think it would be much better if your db was more popular. #1 2013-07-16 07:06 Hi, ObjectDB! While you have a very nice product, which I recommend everywhere I go, it is quite difficul ...

 
forum_thread

ArrayIndexOutOfBoundsException

Hi, I've been getting the following exception when trying to query ObjectDB in server mode version 2.3.4_05. #1 2011-12-13 04:54 Hi, I've been getting the following exception when trying to query ObjectDB in server mode version 2. ...

 
forum_thread

Using Enum type in NamedQuery: Field is not found in type

I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type; @Enumerated public Type getType() {     return type; } I then try to query this field in the following JPA Named Query #1 2013-01-17 22:17 I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queri ...

 
manual

General Settings and Logging

Describes general configuration and logging of the ObjectDB Java object database for JPA and JDO. the ObjectDB General configuration section. The <general> configuration element specifies ObjectDB settings that are relevant to both the server side and the client side. The default configuration file contains the following <general> element: <general ...

 
forum_thread

ClassCastException of same object type

I have ObjectDB partially working with my project. At the moment it seems to be saving objects and retrieving objects ok in the main project. However, when I make a plugin for the project, the new objects are persisted but not retrieved. I get the following error: java.lang.ClassCastException: org.sportscoring.ssv.xc.core.XCCompetitorCount cannot be cast to org.sportscoring.ssv.xc.core.XCCompetitorCount #1 2011-07-15 05:33 I have ObjectDB partially working with my project. At the moment it seems to be saving objects and retrieving obj ...