About properties

api-jpa

javax.persistence.Column

Is used to specify the mapped column for a persistent property or field.(Annotation of JPA)

 
api-jpa

javax.persistence.AssociationOverride

Used to override a mapping for an entity relationship.(Annotation of JPA)

 
forum_thread

Different behavior with persist() and queried instances?

Hi, We have a simple class that by itself contains (among others) a property pointing to a collection: class Bla {  @OneToMany(cascade = CascadeType.ALL) private List<AttributeEntity> metaAttributes = new ArrayList<AttributeEntity>(); } #1 2011-05-03 08:40 Hi, We have a simple class that by itself contains (among others) a property pointing to a collection: ...

 
forum_thread

Can I Disable the Creation of the "log" Directory?

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   ... nio . file . Paths ; import java. util . Properties ; public class Test { public static ... toString ( ) ) ; Properties properties = new Properties ( ) ; ...

 
forum_thread

Configuration and Activation Code in ObjectDB 2.x

Hi ,   I would like to update the ObjectDB from 1.0 to 2.3.7_25. I used the License key for activating the odbee.jar file and got the activation code.It is mentioned in the side that i need to use the activation code using <activation> tag in the objectdb.conf file. In 1.x objectDB, we are not using any objectDB.conf file, we are just using setProperty method to set the different property e.g. properties.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); ... method to set the different property e.g. properties. setProperty ( "javax.jdo.PersistenceManagerFactoryClass" , "com.objectdb.jdo.PMF" ) ;   properties. setProperty ( "javax.jdo.option.ConnectionURL" , ... = JDOHelper . getPersistenceManagerFactory ( properties ) , JDOHelper . class . getClassLoader ( ) ...

 
forum_thread

Upgrade to 2.4.1_01

Hi, We tried to upgrade from 2.3.7_18 to 2.4.1_01 to pickup some fixes. We discovered that our code no longer works when using 2.4.1_01. We did some probing and found one thing. I have attached the unit test to display this issue. The problem seems to be the annotation at line 266 in the test. In our code for 2.3.7_18, we had @OneToOne(cascade=CascadeType.ALL, fetch=FetchType.EAGER), which is wrong, as Contactdetails is Embeddable, the annotation should be @Embedded. Neither annotation works with 2.4.1_01, with each giving a different error. #1 2012-07-03 05:09 Hi, We tried to upgrade from 2.3.7_18 to 2.4.1_01 to pickup some fixes. We discovered that our code no lo ...

 
forum_thread

Problem upgrading

Hello! We are trying to upgrade from 2.6.3 to 2.6.6. Now our application throws an exception. It's generating endless log files. I had to turn up Xmx to even see it before the JVM crashes. (Our web framework tried to show the exception on the client) I did a full rebuild of the project. It's using the right version of the enhancer. There are no code errors. If I change everything back to 2.6.3 it starts to work again. Any ideas? Best Regards   Here's a part of the output: #1 2016-01-29 14:19 Hello! We are trying to upgrade from 2.6.3 to 2.6.6. Now our application throws an exception. It& ...

 
issue

InternalException when using MEMBER OF on a large list in a query

Hello, we get when executing a query with MEMBER OF on a large list the following InternalException: Caused by: com.objectdb.o.InternalException: merge2 com.btc.ep.coverage.bl.internal.dmos.CoverageRecordImpl:null => merger[2850057]-missing:223 at com.objectdb.o.PBI.B(PBI.java:124) at com.objectdb.o.PBI.q(PBI.jave:97) at com.objectdb.o.OBI.Vp(OBI.java:244) (... more see attached Image) Our query looks like this: ... " + "WHERE property.uid MEMBER OF record.properties AND property.scopeID MEMBER OF ?1" ; TypedQuery<String> q ... The above exception occurs only when the Set record.properties contains more than 20.000 elements. The field 'properties' (query: record.properties) of CoverageRecordImpl is a list of ...

 
forum_thread

Jboss 6 persistence.xml startup error

Hi,   I'm trying to migrate a small EJB 3.1 project from Postgres to ObjectDb to test out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS.   Here is my setup: ------- Start persistence.xml ------- ... </provider > <properties > <property name = ... value = "admin" /> </properties > </persistence-unit > </persistence ...

 
forum_thread

Problem with log file in an embedded db with netbeans platform application

Hello, I'm starting a new desktop application built with netbeans platform 7 and objectdb/JPA as embedded db (version 2.3). I haven't had any problem with the domain class library project, but running the netbeans platform application that use the same domain class library an error occurs that crash the application. This is part of the stack trace: ... <class>...< / class> <properties> <property name = "javax.persistence.jdbc.url" ... value = "admin" / > < / properties> < / persistence - unit> It seems that the ...