About database

forum_thread

Objectdb Server Mode set up with glassfish

Hi I'm new to Java, glassfish and objectdb, so please forgive my ignorance. I have a glassfish server working with the embeded mode of objectdb. I now want to set up objectdb in server mode. I have run the server.exe but I don't know what to do next ?!  Which jar far do I need to include in my project ? How do I configure my persitence.xml file ? Do I need to set up something in Glassfish ?   Thanks Paul Newman ... same ObjectDB JAR. The only difference is the database connection url . If specified in the persistence.xml a ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
page

Which API should I use - JPA or JDO?

... with relational databases. ObjectDB is the only object database that supports JPA. On the other hand, JDO is designated to be used ...

 
page

What is the Java Persistence API (JPA)?

... to represent persistent data can significantly simplify database programming. A JPA implementation (sometimes referred to as a JPA provider) is needed in order to interact with a relational database such as Oracle, DB2, SQL Server or MySQL. The popular JPA ...

 
faq

Is ObjectDB scalable? What are its limitation?

... applications. ObjectDB supports: Database file size up to 128 TB (= 131,072 GB = 134,217,728 MB). Up to 2,147,483,648 entity classes per database file. Up to 2,147,483,648 indexes per database file. ...

 
forum_thread

Doctor - high memory usage

Hi, Is it possible to reduce Doctor memory usage? Right now for recovering 67MB database, I need to set heap space to at least 450MB. Even then whole process takes ages. Optimal setting for this database is about 650MB. It's about ten times of size of database. ... reduce Doctor memory usage? Right now for recovering 67MB database, I need to set heap space to at least 450MB. Even then whole process takes ages. Optimal setting for this database is about 650MB. It's about ten times of size of database. ...

 
issue

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log reports this as: ... 19:53:24 #22 store] Database 'F:\calculationservice\objectdb\db-files\WorkflowHistory.odb' ... 5.2). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

Removing of an entity removes also another entity type

Hello, we have following case: ToleranceDefinition and ResolverMapping are entities and have not any relations each other. Before start transaction the ToleranceDefinition entities exist already in the database. ... the ToleranceDefinition entities exist already in the database. The transaction starts. All ResolverMapping entities are ... again. The ResolverMapping entities are retrieved from database by a query with a result and after that a ToleranceDefinition entity ...

 
release

2.6.4

... Version 2.6.4 Added memory only database mode. Added an option to cascade detachment to ... . Added an option to disable reuse of database page objects . Improved release of query resources. ...

 
forum_thread

How to change properties in urls2.xml?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url > ... Adding ?port=XXXX at the end of the persistence.xml database local url doesn't work. ( Tomcat says "Connection refused" ) ...

 
forum_thread

ObjectDB 2.x is working without any activation code

Hi, I downloaded the objectDB from the http://www.objectdb.com/object/db/database/download and then added the objectdb.jar in my classpath. I used the default objectdb.conf file present in the objectdb.jar file and it is working without any activation code.. Is it is bug in objectdb or it works without actionvation code also. I am saving some information into the some.odb file and reading the informatin without any problem. What exactly is the activation code for ? Thanks & regards, ... the objectDB from the http://www.objectdb.com/object/db/database/download and then added the objectdb.jar in my classpath. I ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...