Home » Search

About access

1-10 of 200Refresh
JPA Doc
266

JPA Annotations for Access Modes

Persistence fields can either be accessed by JPA directly (as fields) or indirectly (as properties and get/set methods). JPA 2 provides an annotation and an enum for setting the access mode: More details are provided in chapter 2 of the ObjectDB manual.
FAQ
209

Can I use ObjectDB to access a relational database?

To access relational databases using the Java Persistence API (JPA) you will need an Object Relational Mapping (ORM) tool, such as Hibernate, TopLink, EclipseLink, Open JPA or DataNucleus ... standalone Object Database Management System (ODBMS) and not an ORM tool, so it is not intended and cannot be used to access other database management systems.
Manual
85

JPA Entity Fields

query is executed eagerly when the entity object is first accessed. Version Field ObjectDB ... object versions and make their values accessible to your application by marking the version fields ... is explicitly defined. Property Access When an entity is being stored to the database data is extracted from
Manual
82

Server User List

The configuration element lists the users that are allowed to access the ObjectDB Server ... " ip="127.0.0.1" admin="true">
JPA Doc
64

javax.persistence.Access

javax.persistence Annotation Access Target: Classes and fields (including property get methods) Used to specify an access type to be applied to an entity class, mapped superclass, or embeddable class ... ) Specification of field- or property-based access. (Required) Specification of field- or property-based access. Since: JPA 2.0
JPA Doc
62

Access.value

Annotation Element javax.persistence.Access AccessType value (Required) Specification of field- or property-based access. Since: JPA 2.0
Manual
23

Retrieving JPA Entity Objects

and the persistent fields are initialized, lazily, when the entity object is first accessed ... accessed. The getReference method is useful when a reference to an entity object is required but not ... the primary key is set but other persistent fields are uninitialized until the object fields are accessed
Issue
22

NullPointer when accessing entity field

(ObjectCacheDBBucketManager.java:194) It is very strange that the problem occurs when accessing field of enhanced class ...   The cause of this exception is unclear. It happened during an access operation that required reloading ... during the operation. This could happen when an object is accessed in one thread while the EntityManager
Forum
21

Multi-thread access to single EM's entities

to access a single EM's managed entities, as long as only the thread that created the EM interacts ... it should work fine if you access persistent fields only from the synchronized get/set methods ... will replace every access of a persistent field (outside the constructor) with invocation of a method
Issue
21

NullPointer when accessing persistent field

dependencies )   The code being called is accessing a map declared as follows; @OneToMany(cascade ... on accessing an inverse collection in an entity that has been garbage collected. Build 2.3.2_01 fixes ... (RemoteTestRunner.java:197)   As before a Map structure was being accessed. @OneToMany(cascade