About property

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>(); } ... a simple class that by itself contains (among others) a property pointing to a collection: class Bla { @ ... and afterwards modify the metaAttributes property within a transaction, however this is not reflected in the db. Reason ...

 
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".   #1 2016-07-25 15:57 These are questions asked in the context of the proposed architecture described in the forum thread titled, "Samp ...

 
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"); ... we are just using setProperty method to set the different property e.g. properties. setProperty ( ... to enable setting an activation code also using a system property in future versions. ObjectDB Support ...

 
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. ... managed com.contextspace.AddressTest$Address instance - property com.contextspace.AddressTest$ContactDetails.addresses - property com.contextspace.AddressTest$CDI.contactDetails (error 637) at ...

 
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: ... Failed to set reference value of field property at.co.pjm.tracker.persistence.Unit.channelConfigurationSets using ... Failed to set reference value of field property at.co.pjm.tracker.persistence.Unit.channelConfigurationSets using ... Failed to set reference value of field property at.co.pjm.tracker.persistence.Unit.channelConfigurationSets using ...

 
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: ... ) ; String query = "SELECT DISTINCT property.uid FROM " + propertyClassName + " AS property, " + recordClassName + " AS record " + ...

 
forum_thread

openejb jpa jaas module

    hello , i've finished jpa jaas module. Here it is :   package com.bayner.auth; import com.bayner.jpa.Principals; import com.bayner.jpa.UserInfo; import com.bayner.jpa.UserPrincipal; #1 2013-02-04 15:35 hello , i've finished jpa jaas module. Here it is : package com. bayner . auth ; & ...

 
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> <properties> <property name = "javax.persistence.jdbc.url" value = "proteo.odb" / > <property name = "javax.persistence.jdbc.password" value = "admin" ...