About projection

forum_thread

Licensing

Hello! In some older post "support" wrote: "A single server license is for one activation of one machine and is non transferable.". What if one of our servers or laptops needs to get replaced? Do i have to purchase a new server license? I know that there is a site license but we are only two developers. A site license would be 3 times more expensive than two server licenses. #1 2012-08-15 17:04 Hello! In some older post "support" wrote: "A single server license is for one activation of one machine ...

 
forum_thread

creating EntityManager on odb file created on Mac 64bit on Windows 32bit

Hello, I have an odb file created on my Mac OSX 64bit. When I further, in other program, create an EntityManagerFactory and later EntityManager on this file, every thing is working fine. But, when I transfer this program and odb file to Windows XP 32bit it crashes while creating EntityManager. Do you have any idea why does it crash? Thanks, Marcin  #1 2013-04-26 17:48 Hello, I have an odb file created on my Mac OSX 64bit. When I further, in other program, create an E ...

 
forum_thread

JDO support vs JPA

Hi, I am about to update the JDO metadata in the package.jdo files after moving from ObjectDB 1 to 2. However I found that there is no complete description or guide how the XML metadata should look in version 2. I found only small fragments of attributes in the description of JDO Annotations (to which XML element is the given annotation equivalent). So my questions to this are: 1. Is there some description of XML metadata for ObjectDB ver2 using JDO which I did not find? #1 2014-07-06 15:53 Hi, I am about to update the JDO metadata in the package.jdo files after moving from ObjectDB 1 to 2. How ...

 
forum_thread

ObjectDB stability after power failure

I'm considering using ObjectDB in a system that is going to be running continuously without support instantly available for many years.  How stable is ObjectDB when it comes to power failures and unattended restarts?  Is database integrity maintained during such events?  I have seen database vendors perform 'kick the plug out' demonstrations of how their product will survive power failures.  Is ObjectDB suitably robust that it won't fail in such situations?    #1 2014-05-21 00:39 I'm considering using ObjectDB in a system that is going to be running continuously without support instantly ...

 
forum_thread

Performance problem

Hi, we have a strange performance problem with ObjectDB 2.5.3_01 and JBoss 7.1.1. We have two ObjectDB databases on one ObjectDB server. Production database is running 5-10 times slower than test database. Their size and number of records are almost identical. When running production database in separate test environment its speed is very good. We did a performance analysis on our 2 linux servers one running JBOSS and other running ObjectDB. - CPU utilization of JBOSS server is max 5-10% (per core) #1 2014-01-13 18:57 Hi, we have a strange performance problem with ObjectDB 2.5.3_01 and JBoss 7.1.1. We have two ObjectDB databa ...

 
forum_thread

Deadlock problems solved - a suggestion

Thanks to the new logging capability, I have managed to solve all the deadlock problems, as they were a result of Objectdb encountering new classes in multi-threaded code.  I have a suggestion that might be useful for other users - how about an Ant task that, given a database URL, performs the necessary schema changes (including creating the database if necessary), so that a database is already set up with the complete schema before an application runs? #1 2013-05-27 22:55 Thanks to the new logging capability, I have managed to solve all the deadlock problems, as they were a result of ...

 
forum_thread

Verify Error with Java 1.7

ObjectDB enhanced classes fail when compiled to Java 1.7 [ObjectDB 2.2.9_08 Enhancer] 28 persistable types have been enhanced: ... com.vaisala.jx.db.gdm.model.SourceType stack trace from jUnit test #1 2011-09-13 12:09 ObjectDB enhanced classes fail when compiled to Java 1.7 [ ObjectDB 2.2.9_08 Enhancer ] 28 p ...

 
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. #1 2013-11-24 06:05 Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions. T ...

 
forum_thread

Source not found error after downloading ObjectDB 2.3.7_04

Code snippet: Properties prop = new Properties(); prop.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); prop.setProperty("javax.jdo.option.ConnectionUR","local.odb"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(prop); PersistenceManager pm = pmf.getPersistenceManager();   I am getting an error Source attachment does not contain source for File PMF.class. #1 2012-03-08 19:34 Code snippet: Properties prop = new Properties ( ) ;   prop. setProper ...

 
forum_thread

NullPointerException while setting a new property value

Hello, we are using ObjectDB version 2.4.4 and we are unable to resolve following NPE on enhanced entity: java.lang.NullPointerException at com.objectdb.o.ENT.beforeModifyMember(ENT.java:1099) at model.PluginMetaData.__odbSet_maxAllowedDownloads(PluginMetaData.java:1) at model.PluginMetaData.setMaxAllowedDownloads(PluginMetaData.java:268) at model.PluginMetaData.setPluginDescriptor(PluginMetaData.java:94) PluginMetaData looks like this (nothing extraordinary, no relationship to other @entities): #1 2012-10-22 22:34 Hello, we are using ObjectDB version 2.4.4 and we are unable to resolve following NPE on enhanced entity: ...