About detach

forum_thread

Possible issue with Spring JPA and Embedded

Hello, ... loaded lazily by default so it will not be available after detach. Your Spring JPA test passes if you set eager fetch for that ...

 
forum_thread

Fetching Collections Puzzle

I am working on a project where I need to travel through a massive graph of objects. One of the main entity is the Node which is shown below. class Node { Node parent List<Node> children Node rightSibling Node leftSibling int rank } I have the following issues/doubts #1 2011-04-23 23:08 I am working on a project where I need to travel through a massive graph of objects. One of the main entity is th ...

 
forum_thread

Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection? Something like the equivalent of @OptimisticLock(excluded=true) in Hibernate? Thanks, Farid ... between the calls, check this issue and the no-detach solution. > I have tried to clear the entity manager in the ... property set to true (System.setProperty("objectdb.temp.no-detach", "true");). This has not made any difference. The collection of ...

 
forum_thread

migration path from JPA / Hibernate

Hi. Is there a conversion tool or documentation that is of help when migrating an existing JPA solution to ObjectDB? Any recommendations or known pitfalls when it comes to ...   #1 2011-03-30 13:10 Hi. Is there a conversion tool or documentation that is of help when migrating an existing JP ...

 
issue

InternalException

I'm getting a new InternalException (see below). No repeatable example as yet but will work on that and let you know as soon as we have one. If there's anything in the exception which could help us narrow down the problem please let me know. Bug Version: 1.04 Priority: High Status: Closed Replies: 9 Type:  Bug ...

 
forum_thread

Puzzler: Not getting cascades on read from Spring context

I've determined that the database is correctly initialized, looking at it from the Object Explorer, I can run the code that loads the database in a Junit test and it's initializing the children objects correctly, but in the application running in Jetty with Spring, fetching is not cascading. My best guess is that perhaps I have something misconfigured in my persistence.xml or my context.    -dh ... as a workaround you may try setting objectdb.temp.no-detach . ObjectDB Support ObjectDB - Fast Object ...

 
forum_thread

Error during cascaded merge

Hello! I have a new problem with ObjectDB 2.5.5_02. This issue appeared after the upgrade from 2.5.5. I get the following exception: ... = result. get ( 0 ) ; em. detach ( unit ) ; unit. getChannelConfigurationSets ...

 
api-jdo

javax.jdo.listener.AttachCallback

This interface is used to notify instances of attach events.(Interface of JDO)

 
api-jdo

makeTransientAll(useFetchPlan, pcs)

Make instances transient, removing them from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
api-jdo

makeTransientAll(pcs, useFetchPlan)

Make instances transient, removing them from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)