About removed

forum_thread

Problem with @OrderBy

When I use @OrderBy and supply multiple order fields I get and error when ObjectDB loads that entity. Example code: @Entity @Table(name="Problems", schema = myDB") public class Defects  implements Serializable { ... ...  @OneToMany(mappedBy="problem") @OrderBy("seqRel, noteSeq") Set<Notes> notes; ... ... } #1 2011-04-21 05:17 When I use @OrderBy and supply multiple order fields I get and error when ObjectDB Explorer expands a instance of ...

 
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."   Documentation Version: 1.05 Priority: Low Status: Fixed Replies: 4 Type:  Documentation ...

 
forum_thread

Cascading persistence through an inverse field

Hi! I was playing with cascading persistence with @ManyToMany and inverse @ManyToMany fields, and I noticed that I can only get cascading persistence in one direction. If the "owner" of the relationship is persistent, then objects that are added to the relationship are automatically made persistent. However, I can not get this to work the other way around. I would also like the relationship owner to be persisted if a persisted object is added on the owner side. I have included a minimal example: ... points can belong to multiple point collections). I removed transaction-related code to keep it simple. @ Entity ...

 
api-jpa

groupBy(grouping)

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

 
api-jpa

having(restrictions)

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

 
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.   ... = Player.class, mappedBy = "team" are removed from Team the query returns the expected result. ...

 
forum_thread

Like fails if both underscore and percent are used

When using a like query that has both _ and % in it, ObjectDB seems to fail. Here is a unit test to demonstrate:   #1 2014-02-02 15:23 When using a like query that has both _ and % in it, ObjectDB seems to fail. Here is a unit test to demon ...

 
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. #1 2013-08-26 07:54 Hi, We are using OBD with Spring and transactions are managed by Spring. Our spring service interfaces ta ...

 
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)