About between

forum_thread

failure to enforce NOT NULL for java.lang.String

my test cases are indicating that @Basic(optional=false) and @Persistent(nullValue=NullValue.EXCEPTION) are not enforced in 2.3.7_08 or that i have failed to understand how to annotate. example: @Entity public class Request {   public Request() { }   @Id @GeneratedValue(strategy=GenerationType.IDENTITY)   private Long id; ... effect. running `mvn test` twice in a row without a clean between them does successfully violate the @Unique constraint: [ObjectDB ...

 
forum_thread

Server license move

Hi, I have a 1 server license. I would prefer first to use ObjectDB with this license for development/test means on my local Windows machine, then later move the license on a test linux server, and only when development is done, then I would like to permanently move this license on a production linux server. Obviously not all in the same time. Is there a way to move this license between servers that way? Thanks, Best regards. ... the same time. Is there a way to move this license between servers that way? Thanks, Best regards. ...

 
forum_thread

Usage of Inherited Class

Hi, I found a problem in ObjectDB which may be incompatible with EclipseLink and JPA. Here's the codes: // Nodes.java ... with no random numbers that demonstrates a difference between ObjectDB and EclipseLink / MySQL it could help. ...

 
forum_thread

How to configure where the ODB is stored?

Hi, The documentation is lacking in this respect. How do I configure where the ObjectDB database file is stored. I need to know where it is so I can inspect it with 'database explorer'. The docs say to set it to "$objectdb/db/points.odb" and that this defaults to "the installation directory of ObjectDB". BUT... I DIDN'T INSTALL OBJECTDB - my maven build downloaded it and embeded it. So, where is this file stored??? Also, the contents of the DB don't seem to be persisted between AppServer restarts.  ... the contents of the DB don't seem to be persisted between AppServer restarts.  I'd just like to know how to ...

 
forum_thread

_PersistenceException: Failed to open file

Hello! I am experiencing a problem: JBWEB000309: type JBWEB000066: Exception report JBWEB000068: message com.objectdb.o._PersistenceException: Failed to open file '/Users/username/JBossSoftware/jboss-eap-6.2/bin/$objectdb:/localhost:8080/db/guests.odb' the path in persistence.xml is : <property name="javax.persistence.jdbc.url" value="$objectdb://localhost:8080/db/guests.odb"/> What could be the problem?   ... to use is invalid. Please notice the difference between " objectdb " to " $objectdb ": objectdb is the ...

 
api-jdo

javax.jdo.spi.StateManager

This interface is the point of contact between managed instances of PersistenceCapable classes and the JDO implementation.(Interface of JDO)

 
api-jdo

javax.jdo.identity.LongIdentity

This class is for identity with a single long field.(Class of JDO)

 
forum_thread

Lazy loading does not work - crud takes long

tomee7.0.0SNAPSHOT,objectdb 2.6.4 The OneToMany Entities are filled with 40.000 Records and they have between 20-40 Columns. It takes over 50s to load all Project Enities that contains the OneToMany Relationships. It should be load lazy but i didnt know why the query fetch all the Data. ... Entities are filled with 40.000 Records and they have between 20-40 Columns. It takes over 50s to load all Project Enities ...

 
forum_thread

How to Use a SF with extended Persistence Context?

Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions. The need for an extended persistence Context emerges for the need to create queries in advance for fast execution so I need to store the queries and I need an EntityManager that doesn't get closed between calls. When I call the SF directly no problem happens but if I use SL to hold a reference to the SF I get com.objectdb.o._PersistenceException: Attempt to begin a new transaction when a transaction is active. ... and I need an EntityManager that doesn't get closed between calls. When I call the SF directly no problem happens but if I ...

 
issue

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

Hello, in our application we use ObjectDB in embedded mode as part of the Profile that can be stored and opened by our customers. Our application is an eclipse RCP application with a domain-driven design. The product can be installed in different configurations (in other words with more or less PlugIns). This presents us with further challenges when we have made changes to DB schema for new versions. ... new application to handle all database (schema) changes between two versions. That this ProfileMigration works correctly we add ALL ...