About remove

forum_thread

Upgrade to 2.4.1_03

Right, that fix to 2.4.1_02 got us past the previous issue. Now I'm not sure whether this next issue is our annotations, or another issue with objectdb. I have added some more classes to the unit test. They are used by AbstractContactDetail. On line 372 of the attached test, AbstractContactDetail extends AttributeHolder. If I remove the extends, the test passes. If I add it, it fails. I'm not even adding anything to AttributeHolder as part of this test. The exception I get with the extends is: ... test, AbstractContactDetail extends AttributeHolder. If I remove the extends, the test passes. If I add it, it fails. I'm not even ...

 
issue

Typo in ObjectDB 1.0 Manual

Support > Knowledge Base > ObjectDB 1.0 Manual > Chapter 7 "JDOQL Queries" > Section 7.2 "Query Filter Syntax" > Subsection "Fields" > Second to last sentence Remove "not" from that sentence.   "An attempt to access a field or invoke a method using a null reference results in a false evaluation for the containing expression but no exception is not thrown."   ... Subsection "Fields" > Second to last sentence Remove "not" from that sentence.   "An attempt to access a ...

 
issue

Can't open replicated database

I have a database running in server mode on port 6136 on server1 and server2. Each server has a replicated copy of the other servers database. I try to open the replicated on one database for a query (just read, no update) but it fails with the error below. The code I'm using is (user & password has been deliberately removed): Bug Version: 1.04 Priority: Normal Status: Active Replies: 8 Type:  Bug ...

 
api-jpa

having(restrictions)

Specify restrictions over the groups of the subquery according the conjunction of the specified restriction predicates.(Method of javax.persistence.criteria.Subquery)

 
api-jpa

groupBy(grouping)

Specify the expressions that are used to form groups over the query results.(Method of javax.persistence.criteria.AbstractQuery<T>)

 
forum_thread

Double persist of Entity field with Cascade.ALL

I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class with entity field Chapter which has a CascadeType.ALL property. The Book fields are as follows: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String bookTitle; @OneToMany(cascade= CascadeType.ALL, fetch= FetchType.EAGER) private List<Chapter> chapters; The Chapter fields are as follows: #1 2011-12-02 09:58 I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book ...

 
forum_thread

Problem with queries on lists with reverse mapping

Hi, In version 2.4.2, when an object in a list is reversed mapped to the owning object, queries are returning objects of types that were not specified in the query.   In the attached example the last test fails because the query returns both TeamA and TeamB objects where only TeamA was specified in query. If the "team" is omitted from the player and targetEntity = Player.class, mappedBy = "team" are removed from Team the query returns the expected result.   #1 2012-09-07 04:50 Hi, In version 2.4.2, when an object in a list is reversed mapped to the owning object, queries are retur ...

 
forum_thread

Spring Transactions (@Transactional) within ObjectDB

Hi, We are using OBD with Spring and transactions are managed by Spring. Our spring service interfaces take list of objects and persist them and the interface service is marked as @Transactional. We iterate through the list apply business validations and persist them one by one in a loop. ( Using Spring Data) We have noticed that in a loop 1st object is persisted and then we if lookup the same object we don't get it back on lookup. ... of the persisted object. The logic works fine if i remove @Transactional attribute from my service method. is this desirable ...

 
api-jdo

removeGroup(fetchGroupName)

Remove the fetch group from the set active fetch groups.(Method of javax.jdo.FetchPlan)

 
api-jdo

makeTransient(pc, useFetchPlan)

Make an instance transient, removing it from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)