ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
14

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
13

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
12

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
12

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
11

ObjectDB Object Database Features

ObjectDB provides a rich set of features. Many features are implemented as part of ObjectDB's ... to ObjectDB. Persistence is set using JPA/JDO annotations (e.g. @Entity, @Id, @Index). Transparent ... and java.lang.BigDecimal. Collection types: Collection, List, Set, ArrayList, Vector, Stack
11

JPA Primary Key

64 bit number (long) that is set automatically by ObjectDB for every new entity object ... key field: @Entity public class Project { @Id @GeneratedValue long id; // still set ... value generation is discussed in detail in the Generated Values section. Application Set Primary
10

SELECT clause (JPQL / Criteria API)

The criteria query API provides several ways for setting the SELECT clause. Single Selection Setting ... .get("currency")).distinct(true); The select method takes one argument of type Selection and sets it as the SELECT clause content (overriding previously set SELECT content if any). Every valid criteria
10

WHERE clause (JPQL / Criteria API)

that exceeds a specified limit and also have an official language from a specified set of languages ... provides two where methods for setting the WHERE clause. Single Restriction The first where method takes one Expression<Boolean> argument and uses it as the WHERE clause content (overriding previously set
10

Chapter 6 - Configuration

setting the "objectdb.home" system property: System.setProperty("objectdb.home", "/odb"); // new $objectdb As with any other system property it can also be set as an argument to the JVM ... file is loaded from $objectdb/objectdb.conf. You can specify an alternative path by setting
1

[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