ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh

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.

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.


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


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

JPA Entity Fields

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

Server User List

The <users> configuration element lists the users that are allowed to access the ObjectDB Server ... " ip="" admin="true"> <dir path="/" permissions="access,modify,create,delete" /> </user> <user username="$default" password="$$$###"> <dir path="/$user/" permissions="access

NullPointer when accessing entity field

(ObjectCacheDBBucketManager.java:194) It is very strange that the problem occurs when accessing field of enhanced class ... Sedlakova The cause of this exception is unclear. It happened during an access operation ... and might have been changed during the operation. This could happen when an object is accessed in one thread

[ODB1] Chapter 8 - ObjectDB Server

can be accessed by multiple processes simultaneously. In addition, the server supports accessing ... " address=""> <dir path="/"> <permissions access="+" modify="+" create ... the data directory containing all the database files that the server is allowed to access and manage

[ODB1] Chapter 6 - Persistent Objects

which the application assigns object IDs to objects, is not supported by ObjectDB. Accessing the object ID ... on makePersistent(...) improves efficiency because the database only has to be accessed once, as ... is devoted to JDOQL queries. Retrieval by Access When an object is retrieved from the database (in

[ODB1] Chapter 3 - Persistent Classes

and fields) can have any access modifiers (i.e. public, protected, package or private). 3.2 Persistent ... . Persistence Aware Classes Classes that access or modify persistent fields are referred to as ... code that accesses or modifies persistent fields of other classes. Directly accessing a single

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support