ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh

Spring LTW Problem

Hello! I use ObjectDB with Spring. Today i tried to swich from AspectJ compile time weaving to load time weaving. (To get Jrebel working properly) So i added <?xml version="1.0" encoding="UTF-8 ... configuration. Now Spring oviously tries to weave every class that get's loaded. The problem arises

Eclipse Public License - v 1.0

code and documentation distributed under this Agreement, and b) in the case of each subsequent ... , if any, and such derivative works, in source code and object code form. b) Subject to the terms ... the Contribution of such Contributor, if any, in source code and object code form. This patent

SELECT clause (JPQL / Criteria API)

can also reduce the amount of Java code needed. Notice that query results must always be specified explicitly ... .capital.name). The following code demonstrates running this query and processing the results ... ) { this.countryName = countryName; this.capitalName = capitalName;   } } The following code

NullPointer when accessing persistent field

) The code being called is accessing a map declared as follows; @OneToMany(cascade=CascadeType ... ( static weaving ). JFK John Francis The following test case reproduces the exception. It may be thrown ... >(); As before Enhancer is being run on code before test runs. Thanks again. JFK John Francis The Maven

Storing JPA Entity Objects

or implicitly as a result of a cascade operation. Explicit Persist The following code stores ... managed by the EntityManager) or by commit. Referenced Embedded Objects The following code stores ... that the Address class in the code above is defined as an entity class. In this case

[ODB1] Chapter 5 - JDO Connections

a PersistenceManagerFactory The following code demonstrates how to obtain a PersistenceManagerFactory ... that are set in the code above are usually essential: javax.jdo.PersistenceManagerFactoryClass ... .getPersistenceManagerFactory(properties); } finally { in.close(); } Notice that the code

[ODB1] Chapter 2 - A Quick Tour

of two strings "Hello World 0" and "Hello World 1". Program Source Code The program consists of a single ... name and age) and stored in the database. Program Source Code In addition to the two files from ... a local database file, person.odb, is obtained using JDO portable code (slightly more complicated

[ODB1] Chapter 9 - ObjectDB Explorer

in the query form. The second tab window is filled at the moment of query execution with Java code that implements the query. You can use that code to export JDOQL queries that you test in the Explorer into your Java code. Refreshing the Cache When a database is open in the Explorer using client

[ODB1] Chapter 3 - Persistent Classes

Fields and Types Storing a persistent object in the database does not store methods and code ... tool that modifies the byte code of compiled classes. Classes to be enhanced must be located in ... . The enhancer modifies the byte code of these classes, and the result is classes that do implement

[ODB1] Chapter 7 - JDOQL Queries

all the result collections obtained from this query: query.closeAll(); The complete code ... of user defined classes in queries, the user code must be available. In embedded mode, user classes ... from the parameter. This code demonstrates the execution of a query with two different arguments

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