About properties

forum_thread

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.   ... element of the PeristenceUnit were visible in one of the Properties sets returned by the EntityManager and EntityManagerFactory, but its ... . jpa . EMF . Or putting something in my properties for this sole purpose... <property name = ...

 
forum_thread

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. ... </provider > <properties > <property name = ... value = "admin" /> </properties > </persistence-unit > </persistence ...

 
api-jpa

javax.persistence.MapKeyJoinColumn

Specifies a mapping to an entity that is a map key.(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: #1 2013-08-07 00:05 I'm trying to setup Spring + JPA + ObjectDb in my test environment and having trouble with the following: ...

 
release

2.6.9

... enhanced entity classes with is ( boolean ) persistent properties ( issue #237 ). Fixed porting to Java 8 of database ... objects. Fixed a bug in clearing persistent properties of primitive types. Fixed a bug of returning managed ...

 
forum_thread

problems with OEM license/enhancing

we did add this section to our maven pom.xml (from within Eclipse): ... <build>   <pluginManagement> ... ... by setting the objectdb.home or objectdb.conf system properties. ObjectDB Support ObjectDB - Fast ...     <artifactId>properties-maven-plugin</artifactId>     ... <goal>set-system-properties</goal> ...

 
api-jpa

javax.persistence.OneToMany

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

 
manual

[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.... Alternatively, the PersistenceManagerFactory 's properties can be set at runtime: Properties properties = new Properties ( ) ; : ...

 
manual

GROUP BY and HAVING clauses

Explains how to use the GROUP BY and HAVING clauses in a JPA/JPQL query.... query results. A JPQL query with a GROUP BY clause returns properties of generated groups instead of individual objects and fields. ... as individuals. Therefore, the SELECT clause can only use properties of the groups, which include: The properties that are ...

 
forum_thread

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: ... 2. persistence.xml was modified with: <properties> <property name = ... value = "ALL" / > < / properties> But after few benchmarks I don't really see any ...