About SET


Objectdb server out of heap space

I have had a server crash with the following stack trace: #1 2013-05-20 04:55 I have had a server crash with the following stack trace: java. lang . OutOfMemoryError : Java hea ...


Broken @ManyToOne reference

Hi, I have objects of type A belonging to objects of type B, defined as follows: @MappedSuperclass public abstract class A {   @Id   @ManyToOne(fetch = FetchType.EAGER, cascade=CascadeType.ALL, optional=false)   private B b;   @Id   @Column(length = 36)   private String stringId; } @MappedSuperclass public abstract class B {   @Id   private String name; } ... try build 2.4.7_08. Your test should pass with ID set across the hierarchy, but the retrieval should be adjusted: // ...


JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

I'm trying to have the guestbook example running in the following environment: jboss as 7.1.1 final oracle jdk 1.7.0_04 maven 3.0.4 objectdb 2.4.0_04 installed as a module of jboss No IDE is used for building the Guestbook.war only maven.   My GuestDAO code is as follows: ... details (and attach relevant files) on how exactly you set your JBoss environment? ObjectDB Support ...



This class can be used by a JDO-aware application to call the JDO behavior of PersistenceCapable instances without declaring them to be PersistenceCapable.(Class of JDO)


JPA - ExceptionInInitializerError when creating EntityManager

EntityFactoryManager(emf) is successfully received but error at emf.createEntityManager Please see my code of fragment from my project. public class Main {        final private static Properties EMAIL_PROPS;      final private static String EMAIL_FROM;            static {  EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("tmpCLMSPU"); ... error occurred for getting this value from CLMS S/w then set it's      * default value as 40 minutes. ...


Remove a modified entity cause an optimistic lock exception

Hello, the following examples load and modify an entity, and load and remove the same entity. The first example 'SetAndRemoveIssue.java' is a simple java program which executes without errors. The second example is an OSGi program which fails with an optimistic lock exception. Both examples are equivalent, please execute SetAndRemoveIssue.java (in the OSGi example as a plugin-test). Can you explain the optimistic lock exception? ... application. In your last post FlushModeType.AUTO is set to the wrong EntityManager , i.e. to the one that is used to persist the ...


Issue with UPPER ?

Hi, Assuming those queries which are all the same except the UPPER calls: ... ($4.name!=null). [Step 8a3f] Prepare an empty result set. [Step 8b] Filter the results of step 8a retaining only results that ...


Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB 1 (with an OID for every instance) and all other classes were embedded (so without extent and own OID) in those few peristence-capable ones. Example of JDO metadata: ... If it doesn't work you may have to set the class as entity again (just for the query) and then back to ...


Java 9 support

Hi,  is ObjectDB supporting Java 9 already ? If not when can we expect the support for it ? ... regarding the ObjectDB module: How did you set the directives (requires, exports, opens, uses, provide, Module packages)? ...


zip file or JAR manifest missing

I found the message: Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar Some of projects can read the DB, but others can not read or write the DB. ... You will have to adopt one of the solutions in #2 - set a persistence unit or use an alternative solution. For example, ...