ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
11

Database Schema Evolution

of an entity class are detected by ObjectDB. New entity objects have to be stored in the new class ... , have to be converted to the new schema. Note: In client-server mode the ObjectDB server must be restarted ... object is only updated to the new schema when that entity object is stored to the database
11

Database Explorer

the tree). To open a new viewer window either write a query in the [Query] tabbed window or select ... ] tabbed window or an object in a currently open Table or Tree window). You can open a new viewer ... The Explorer is used mainly as a viewer of databases but it can also function as an editor. New Entity
2

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New ... ) and selecting New > Class. Enter guest as the package name - use exactly that case sensitive package ... to create the new class. A new class that should represent Guest objects in the database was created in
2

Step 2: Entity Class and Persistence Unit

the project node (in the [Package Explorer] window), select New > Source Folder, enter src/main/java as Folder Name and click Finish. Open the [New Java Class] dialog box, e.g. by right clicking the new source directory node (in the [Package Explorer] window) and selecting New > Class. Enter guest as
1

[ODB1] Chapter 6 - Persistent Objects

When a new object is constructed by the new operator, it always starts as a transient object ... the following code: pm.currentTransaction().begin(); Person person = new Person("George", "Bush"); Address address = new Address("White House"); person.setAddress(address); pm
1

[ODB1] Chapter 2 - A Quick Tour

catch (JDOException x) { 23 // If not found - construct and store a new list: 24 list = new ArrayList(); 25 Utilities.bind(pm, list, "Hello World"); 26 } 27 28 // Add a new string to the persistent list: 29
1

[ODB1] Chapter 3 - Persistent Classes

other system types. The only way to add support for additional types is to define new persistent classes ... or you can define a new persistent class for this purpose (images can also be stored as external ... . > java com.objectdb.Enhancer test/*.class test/pc/*.class [ObjectDB Enhancer] 2 new persistence
1

[ODB1] Chapter 7 - JDOQL Queries

(new Integer(18)); Collection result2 = (Collection)query.execute(new Integer(21)); Parameters ... )query.execute(new Integer(20), new Integer(60)); The same query can be executed using other Query ... "); Integer[] args = new Integer[] { new Integer(20), new Integer(60) }; Collection result
1

[ODB1] Chapter 8 - ObjectDB Server

when you extract a newer version of the ObjectDB server. The TPC port on which the server is listening for new ... . Therefore, you may need a new command window for the stop and restart commands. The –conf and –port commands ... this file directly. Rather, you should copy it to the bin subdirectory and then edit the new copy
1

[ODB1] Chapter 5 - JDO Connections

() method is the same for both new database connections and database connections obtained from a pool ... instance: import java.util.Properties; import javax.jdo.*; : : Properties properties = new ... path. The JDOHelper.getPersistenceManagerFactory(...) static method constructs and returns a new

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