ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh
7

Object belongs to another EntityManager - ERROR

.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java
1

Posting Sample Code

unit). Keep the test as simple as possible - remove unnecessary code (but keep it complete and runnable). You may use the following example as an initial template for your test case: package test
1

BIRT/ODA ObjectDB Driver

The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language ... and JPA tutorial. Driver Installation The driver is available as an Eclipse for Java EE Developers
1

JPA Metamodel API

(which are referred to as managed types) in the persistent object model. Three methods can be used ... . IdentifiableType is as a super interface of: MappedSuperclassType - represents user defined mapped ... for exploring managed fields and properties (which are referred to as attributes). For example
1

JPA Named Queries

carefully to avoid collision (e.g. by using the unique entity name as a prefix). It makes sense ... queries to the same entity class requires wrapping them in a @NamedQueries annotation, as follows ... if that named query is defined on a class that is still unknown to ObjectDB. As a workaround
1

Running JPA Queries

should be ran using the getResultList method, as we expect to receive multiple objects in return ... is unnecessary and the warning is avoided. The query result collection functions as any other ordinary Java ... this routine operation JPA provides an additional method, getSingleResult, as a more convenient method
0

Step 5: Design a BIRT Report Chart

the [Select Chart Type] tab select Tube as the chart type and click Next. In the [Select Data] tab - enter row["y"] as the Y series and row["x"] as the X series, (use Ctrl + Space in these fields
0

Step 4: Create an ObjectDB Data Set

Queries against the database are represented in BIRT as data sets. To create the data set: Open the [New Data Set] dialog box by right clicking the Data Sets node in the [Data Explorer] window ... a specified range: SELECT p.x as x, p.y as y FROM Point p WHERE p.x BETWEEN :low AND :high Use copy
0

Step 2: Entity Class and Persistence Unit

Next). Enter Guest as the class name - use exactly that case sensitive class name. Enter guest as the package ... > </persistence> Now ObjectDB should be used as a JPA provider with the specified database url. The next step
0

JDO Predefined ID Classes

a unique representation of a persistent object. The following classes serve as predefined ID classes ... but should not be used as the type of a primary key field in a persistence capable class. For example ... instances of MyClass) can be represented uniquely by StringIdentity, as a combination of a class and a string value.

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