About SET

forum_thread

Insert time increases as db grows.

Hello, ... 21:07 I've just set enhancer as javaagent and everything worked like a charm: the execution ...

 
issue

Query Execution Error

This query ... null pointer exceptions EVER happen if query access not set fields or their subfields? Because I've assumed that in such cases, the ...

 
forum_thread

Problem with Criteria Querys

Hi, i am having problems running following code...   ... do work. The problem was only with p2 that was defined and set but was not integrated into the query (next build will avoid a NPE in this ...

 
forum_thread

EntityManager JPA or JDO impl and different behavior

Hi, I have an issue with the EntityManager. My persistance XML looks like: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> ... For the purposes of continuing, I have set my "equals" method in attribute name to look only at the database id. ... created prior to trying to persist the map. So I set the annotation on Holder.java at line 92 to have CascadeType.ALL. The test ...

 
forum_thread

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table" or "delete from table"? TIA #1 2011-08-16 20:21 Besides the em.remove() one by one, is there a function of "drop table" or "delete from table"? TIA ...

 
forum_thread

persistence.xml classes not respected by ObjectDB

Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 (+ their embeddable classes). P2 is created properly, but P1 gets all entity classes (from P2 also). How can this be avoided, so that both P1 and P2 get just the classes that were specified to each? There is no place in code where P1 tries to access classes from P2, so it makes no sense. ... a problem. I have discovered it when I had to delete and set the new database in production. It just didn't want to respect the ...

 
forum_thread

Compress ODB file with XML content

Harman company requested to reduce ODB size as much as possible after database created and one of unliked solution was to use ZIP/UNZIP after/before use object DB database. Harman would like to ask Object Db team about possible internal methods to reduce/compress object DB data on run-time or after close ODB file. Does exist any compress data solution from ObjectDB side? #1 2016-04-29 12:11 Harman company requested to reduce ODB size as much as possible after database created and one of unliked solutio ...

 
forum_thread

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

Hi, I came across an error - but i have not been able to create a simple reproducible case - the error does not happen often and does not happen always -  Let me explain: 1/ I run 5 java applications at the same time on one machine - each application is using an ODB file (each one is using a different one). Basically each application does a sorted query ( qqq = em.createQuery("SELECT bk FROM OBN bk ORDER BY bk.time ASC", OBN); ) 2/ after a little while - some of the applications throws this error message: #1 2015-02-11 03:52 Hi, I came across an error - but i have not been able to create a simple reproducible case - the error do ...

 
api-jpa

javax.persistence.OneToOne

Defines a single-valued association to another entity that has one-to-one multiplicity.(Annotation of JPA)

 
forum_thread

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

I'm trying to setup Spring + JPA + ObjectDb in my test environment and having trouble with the following: <bean id="EnvDMSEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> <property name="persistenceUnitName" value="envService"/> <property name="persistenceXmlLocation" value="com/awarepoint/persistence.xml"/> </bean> Here is the stack trace I get: ... to the non-existing method. Is there some property I can set so that the call to getSharedCacheMode is not invoked? ...