About attribute

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-jpa

getBindableJavaType()

Return the Java type of the represented object.(Method of javax.persistence.metamodel.Bindable)

 
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_OPTIMISTIC

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

 
api-jpa

Bindable.BindableType.SINGULAR_ATTRIBUTE

Single-valued attribute type(Enum Constant of javax.persistence.metamodel.Bindable.BindableType)

 
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)