ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh

setting activation code in persistence.xml or env file or system properties

setting activation code in persistence.xml or env file or system properties

Query Parameters in JPA

for a real value. Before the query can be executed a parameter value has to be set using the setParameter ... multiple times in the query string. A query can be run only after setting values for all its parameters ... , which generally excels in its thin and simple API. There are 9 methods for setting parameters in a query

Shared (L2) Entity Cache

instances of the same database - including on different client machines. Setting the Shared Cache ... has to be specified. Persistence Unit Settings The shared cache can also be enabled or disabled using a persistence ... >      ...    </persistence-unit> The javax.persistence.sharedCache.mode property can be set to one of the following values

JPA Entity Fields

provider (such as Hibernate) or to change default field settings. For example: @Entity public class ... . Cascade and fetch settings are explained in chapter 3. A persistent field whose type is embeddable ... ; } @Entity public class Department { @OneToMany(mappedBy="department") Set<Employee> employees

JPA Metamodel API

to retrieve sets of types: // Get all the managed classes: // (entity classes, embeddable classes, mapped super classes) Set<ManagedType> allManagedTypes = metamodel.getManagedTypes(); // Get all the entity classes: Set<EntityType> allEntityTypes = metamodel.getEntities

Locking in JPA

- which represents an exclusive lock. Setting a Pessimistic Lock An entity object can be locked ... can be set to allow waiting for a pessimistic lock for a specified number of milliseconds. The hint can be set in several scopes: For the entire persistence unit - using a persistence.xml property

BIRT/ODA ObjectDB Driver

Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language ... Sets and JPQL To create the data set: Open the [New Data Set] dialog box by right clicking the Data Sets node in the [Data Explorer] window and selecting New Data Set. Select an ObjectDB data source

[ODB1] Chapter 8 - ObjectDB Server

this setting using the –port command line option to specify another port, as shown below: > java ... , <server> and <users>. The <server> sub element specifies general server settings, and the <users> sub ... will be listening for new connections. Usually, it should be set to 6136, which is the default port


be configured. If the ConnectionFactory property is set (non-null) then all other Connection properties including ConnectionFactoryName are ignored; otherwise, if ConnectionFactoryName is set (non-null ... is set (non-null) then ConnectionFactory2Name is ignored. Operational state (PersistenceManager pooling

[ODB1] Chapter 5 - JDO Connections

of the database requires an active transaction. The focus of this chapter is on setting up a runtime ... that are set in the code above are usually essential: javax.jdo.PersistenceManagerFactoryClass ... five optional modes for working with transactions, represented by five flags that can be set or cleared

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