About managed

forum_thread

Error 613 - i cant put a list<Athlete> into a Squad object

hey guys Im a swiss student and my english is not that good and ive never posted in your forum, so thats why im sorry if im doing any mistakes, but i have big trouble, because ive to get this straight till end of week. i uploaded also all classes but if u see the problem in the main problem field the classes are copied after the problem description. the structure: ... using reflection: Attempt to persist a reference to a non managed 'test.Athlet' instance (error 613) at ... using reflection: Attempt to persist a reference to a non managed 'test.Athlet' instance at com.objectdb.o.JPE.g(JPE.java:138) at ... using reflection: Attempt to persist a reference to a non managed 'test.Athlet' instance at com.objectdb.o.MSG.d(MSG.java:74) at ...

 
manual

Updating JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.... is enabled all the reachable entity objects that are not managed yet are also persisted. Automatic Change Tracking As shown above, an update is achieved by modifying a managed entity object from within an active transaction. No EntityManager ...

 
forum_thread

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

I have a simple task to validate the sample code will switch over to the slave database when the master is unavailable. I simulate the master unavailable by stopping the master server; which generates the following exception below. What am I doing wrong? It appears the connection manager fails to try the second URL in the list: objectdb://10.9.2.15:9998//10.9.2.15:9999/test.odb;user=admin;password=password Thank you in advance. #1 2013-05-06 20:16 I have a simple task to validate the sample code will switch over to the slave database when the master is unavai ...

 
release

2.5.0

... AS 7.1.1. Improved performance of merging managed entities. Fixed a deadlock . Changed ... of primitive types. Fixed a bug of returning managed hollow objects in query results. Fixed an error message ...

 
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: ...

 
manual

JPA Primary Key

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... for getting the object ID (primary key) of a specified managed entity object. For example: PersistenceUnitUtil ... Reference Page... method takes one argument, a managed entity object, and returns the primary key. In case of a composite ...

 
release

2.6.0

... ( issue 233 ). Fixed refresh of a new managed entity object after flush . Version 2.5.7 ... AS 7.1.1. Improved performance of merging managed entities. Fixed a deadlock . Changed ...

 
manual

Chapter 6 - Configuration

Explains how to configure and tune ObjectDB, the fast Java object database for JPA/JDO. The ObjectDB configuration file contains one <objectdb> root element with seven subelements: <objectdb > <general > ... </general > <database > ... </database > ...

 
page

ObjectDB Object Database Features

ObjectDB provides a rich set of features, many of them as the result of supporting the JPA and JDO APIs.... Automatic connection pool managed by EntityManagerFactory. ... the database automatically by navigation from other managed objects. Transparent update - ...

 
manual

[ODB1] Chapter 4 - JDO Metadata

Shows how to define JDO metadata for persistence capable classes.... attribute indicates that a field should be managed in a group with other fields. When a persistent object is retrieved ...