ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh
10

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

+ "]";         }     } } --- 19:05:31.423 [main] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging ... = CascadeType.PERSIST)     public B b; Apparently the @Embedded annotation works as CascadeType.PERSIST
2

Updating JPA Entity Objects

yet are also persisted. Automatic Change Tracking As shown above, an update is achieved by modifying a managed ... automatically JDOHelper.makeDirty(employee, "projects"); // reported as dirty em.getTransaction().commit(); As demonstrated above, array changes are not detected automatically (by default
2

Obtaining a JPA Database Connection

unit name as an argument, but when using ObjectDB, any valid database file path (absolute or relative ... (); Closing an EntityManager does not close the database itself (that is the job of the factory as previously ... EntityManagerFactory instance may preserve the EntityManager's resources (such as a database file pointer
2

General Settings and Logging

data, such as query results that contain millions of objects. The <temp> element specifies temporary ... . The $temp prefix can be used to represent the system default temporary path, as demonstrated ... sockets become obsolete as a result of inactivity. The value is the timeout in seconds, where 0
2

Database Transaction Replayer

of that transaction is used as the name of the file. A recording file, with the same transaction ID in its name ... and the required backup file does not exist, ObjectDB automatically creates a backup file as a copy ... file (e.g. my.odb as shown above). ObjectDB automatically locates the proper backup and recording
2

Setting and Tuning of JPA Queries

simple JPA operations, such as find. However, query execution is much more complex ... the application, either at the EntityManager level as a default for all the queries in that EntityManager ... . "objectdb.query-language" - sets the query language, as one of "JPQL" (JPA query language), "JDOQL
2

Shared (L2) Entity Cache

that it manages. The persistence context serves as a first level cache. An attempt to retrieve ... except classes that are specified as Cacheable explicitly. For example: @Cacheable // or ... that are specified as non Cacheable explicitly. For example: @Cacheable(false) @Entity public class
2

Database Replication and Clustering

embedded mode) can function as a master database in a cluster. Recording has to be enabled ... > The url attribute of the <replication> element defines a master database. As demonstrated ... , the master database can be accessed ordinarily as follows: EntityManagerFactory emf = Persistence
2

What is the Java Persistence API (JPA)?

) is that in JPA data is represented by classes and objects rather than by tables and records as in JDBC ... programming. A JPA implementation (sometimes referred to as a JPA provider) is needed in order to interact with a relational database such as Oracle, DB2, SQL Server or MySQL. The popular JPA
0

javax.jdo.PersistenceManager

is specified as null, events for all persistent classes and interfaces will be sent to listenerInstance ... of instances in the cache against the datastore. An implementation might flush instances as ... () request, the default values for options will be restored to their values as specified in

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