About mapping

forum_thread

Start ObjectDB inside java code.

I am building an MMORPG with ObjectDB, and I use it both for the saving of character and inventory (permanent object), but also the storing of ability and maps information (object I load, use, and dispose and then reuse without having change anything). The problems is, as my server and client both run on the same machine and more than one client can be started, they all need access to this information without being able to share any thread, so am forced to use the server model. #1 2015-04-08 12:16 I am building an MMORPG with ObjectDB, and I use it both for the saving of character and inventory (permanent obj ...

 
api-jpa

isCollection()

Is the attribute collection-valued (represents a Collection, Set, List, or Map).(Method of javax.persistence.metamodel.Attribute)

 
api-jpa

getKeyType()

Return the type representing the key type of the map.(Method of javax.persistence.metamodel.MapAttribute)

 
api-jpa

InheritanceType.JOINED

A strategy in which fields that are specific to a subclass are mapped to a separate table than the fields that are common to the parent class, and a join is performed to instantiate the subclass.(Enum Constant of javax.persistence.InheritanceType)

 
api-jdo

Persistent.columns

Column definition(s) for this member.(Annotation Element of javax.jdo.annotations.Persistent)

 
api-jdo

javax.jdo.annotations.Sequence

Annotation for a datastore sequence.(Annotation of JDO)

 
api-jpa

Table.uniqueConstraints

(Optional) Unique constraints that are to be placed on the table.(Annotation Element of javax.persistence.Table)

 
api-jdo

Constants.PROPERTY_MAPPING_SCHEMA

Mapping "javax.jdo.mapping.Schema"(Static Field of javax.jdo.Constants)

 
forum_thread

Adding EntityListener Throws Unexpected Internal Exception

I tried adding EntityListener for a entity class and an exception was thrown. I followed similar as mentioned on the documentation but no luck. My entity class looks like below: #1 2014-10-20 17:46 I tried adding EntityListener for a entity class and an exception was thrown. I followed similar as mentioned on ...

 
forum_thread

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

I doubt this is an ObjectDB-enhancer problem, I am however reporting it in case anybody else encounters the problem too. It is mostly also not a concern for my own web app, because in most cases a non-static logging variable can be used in an @Entity.     ObjectDB 2.6.3_04     Apache Log4j2 - 2.5     Mac OS X     jdk1.7.0_51 or jdk1.8.0_60     NetBeans 8.1Beta #1 2016-02-15 01:07 I doubt this is an ObjectDB-enhancer problem, I am however reporting it in case anybody else encounters the pro ...