About property


Finding out the JPA provider

Do you have any preferred way of finding out whether ObjectDb is my EntityManager's JPA Provider? I know there are problems with using getDelegate ( http://weblogs.java.net/blog/ss141213/archive/2009/05/be_careful_whil.html ) but on the other hand unwrap is not very portable ( https://forums.oracle.com/forums/thread.jspa?threadID=2149162 ). It would be nice if the <provider> element of the PeristenceUnit were visible in one of the Properties sets returned by the EntityManager and EntityManagerFactory, but its not.   ... in my properties for this sole purpose... <property name = "uk.co.his.jpa.provider" value = "ObjectDb" ... but you may also simply check for the "objectdb.home" property. In the EntityManagerFactory : boolean ...


ObjectDB without javax.persistence

Hello, what we need to do, that we can use a separate bundle for javax.persistence in a OSGi envoirement. We tried to use the objectdb-jee.jar instead of objectdb.jar. And a separate bundle for javax.persistence that only contains the Java Persistence API. So that the ObjectDB PersistenceProvider get visible for the JavaPersistenceAPI, we have registered the ObjectDB as Buddy. ... > <properties > <property name = "javax.persistence.jdbc.url" value = "$objectdb/eppdb.odb" /> <property name = "javax.persistence.jdbc.user" value = "admin" /> <property name = "javax.persistence.jdbc.password" value = "admin" ...



Specifies a mapping to an entity that is a map key.(Annotation of JPA)


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: ... > <property name = "persistenceUnitName" value = "envService" /> <property name = "persistenceXmlLocation" value = ... places. It is much easier to specify the location as a property on the bean. Why do I get this exception? ...



... Renamed internal Enhancer hidden methods to non property method names . Fixed a bug in retrieving pure time ... execution. Added a new temporary system property ("objectdb.temp.quick-file") to accelerate db opening and closing. ...


problems with OEM license/enhancing

we did add this section to our maven pom.xml (from within Eclipse): ... <build>   <pluginManagement> ... ... <property> ... </property> ...



Defines a many-valued association with one-to-many multiplicity.(Annotation of JPA)


[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2.... the PersistenceManagerFactory is initialized using a property file, two lines should be added to specify the path of the Truststore ... required, the client's Keystore can also be specified in a property file: com.objectdb.ssl.keystore.path=$objectdb/lib/keystore ...


GROUP BY and HAVING clauses

Explains how to use the GROUP BY and HAVING clauses in a JPA/JPQL query. The GROUP BY clause enables grouping of query results. A JPQL query with a GROUP BY clause returns properties of generated groups instead of individual objects and fields. The position of a GROUP BY clause in the query execution order is afte ...


Is 2 level cache in use?

Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence.xml was modified with: ... was modified with: <properties> <property name = "javax.persistence.sharedCache.mode" value = ... in all scopes (e.g. also globally as a persistence unit property). ObjectDB Support ObjectDB - Fast ...