About attribute

issue

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok. The attached code attempts to replicate the scenario. Its not an exact match but is the best I could come up with without replicating the whole system. The test creates an object, persists it to a db and re-loads it. The EntityManager is closed before accesing any fields. Finally the nested map is accessed and printed to screen. Bug Version: Priority: Normal Status: Fixed Replies: 7 Type:  Bug ...

 
manual

Database Transaction Replayer

Explains how to use the ObjectDB object database Replayer tool to restore recorded Java/JPA/JDO actions.... on a different physical device by setting the path attribute in the configuration . The recording directory contains ...

 
forum_thread

Extending model by "common entity"

Hi, I have a question about extending working model with one, common entity, that all other entities will inherit from. For example I have 2 different entities in database with some data: #1 2011-02-06 13:38 Hi, I have a question about extending working model with one, common entity, that all other entities will ...

 
forum_thread

Memory consumption of empty Strings

After doing some memory related research in my program, I found a possible place for an enhancement of objectdb: My program has several entities which contain many String. Often some of these String are empty (""). To avoid unnecessary memory consumption, the String within the entities are initialized like: String firstName = ""; ... String firstName = ""; In this case every "empty" attribute shares the same String. But after reloading the entities from ...

 
issue

Enhancer option -s works not as expected

We found a bug in the enhancer with the option -s . Given structure: com |- btc |- |- base |- |- |- impl |- |- |- |- Entity1.class |- |- |- |- NonPersistableClass.class |- |- |- |- subpackage |- |- |- |- |- Entity2.class   ... com.objectdb.Enhancer -noaware -s com.btc.base.impl.* Entity1 and Entity2 enhanced as expected. ... as packages and classes or as files. The -s attribute is for searching files in subdirectories when files are specified for ...

 
api-jdo

javax.jdo.annotations.Transactional

Annotation to indicate that a member (field or property) is transactional but not persistent.(Annotation of JDO)

 
api-jdo

Constants.PMF_ATTRIBUTE_RETAIN_VALUES

The name of the persistence manager factory element's "retain-values" attribute.(Static Field of javax.jdo.Constants)

 
api-jpa

lock(entity, lockMode, properties)

Lock an entity instance that is contained in the persistence context with the specified lock mode type and with specified properties.(Method of javax.persistence.EntityManager)

 
api-jdo

Constants.PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT

The name of the persistence manager factory element's "detach-all-on-commit" attribute.(Static Field of javax.jdo.Constants)

 
api-jdo

Constants.PMF_ATTRIBUTE_CONNECTION_DRIVER_NAME

The name of the persistence manager factory element's "connection-driver-name" attribute.(Static Field of javax.jdo.Constants)