About access

1-10 of 200Refresh
JPA Doc
319

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
319

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.
JPA Doc
96

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
95

Access.value

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

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
32

How to access database object to my application.

Hi, I want to access a object which contains some value like id,name,college and address ... . 1: GetterSetter method  2: Creating object for insert data  3: For Access data. Here object created and value inserted successfully but when i am trying to access that object it only access some
Forum
32

multiple different applications access one odb file

Hi, is it possible to access one odb file from different applications? What we would like ... ObjectDB in embedded mode to access the same database file (because there is only one process). If your applications run in separate processes and need to access the same database file, you have to use
Forum
32

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
32

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
Forum
32

Recommendation - concurrent access multiple class v

that it might get corrupted because the manual says that we must not access ObjectDB with different versions ... , then finally all of them get the new version? So...basically...concurrent access with version x and version x ... servers usually do not have a direct access to your classes, so this is not a problem. But if you have 5