Home » Search

About database

161-170 of 200Refresh
Manual
8

Schema Update

databases as a complementary operation to renaming or moving these elements in the IDE during source code ... your database files before renaming or moving persistable classes and you must verify ... ObjectDB tries to apply the specified schema updates every time a database is opened. When using client
Tutorial
8

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New ... in the database. Besides the @Entity annotation and the id field (and its annotations) - the Guest ... is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
Tutorial
8

Step 3: Create an ObjectDB Data Source

Connections to the database are represented in BIRT as data sources. To create an ObjectDB data ... data source types. Enter data source name (e.g. ObjectDB Points) and click Next. Specify the database connection url: Download and save the points.odb database file (from the Quick Start tutorial
Tutorial
8

Step 4: Add a Servlet Class

Guest entity object is constructed and stored in the database. All the Guest entity objects are retrieved from the database and stored in the request's "guest" attribute. Then the processing ... " attribute to generate the page output. Notice that operations on the database are carried on by the GuestDao
Tutorial
8

Step 4: Add a Servlet Class

that will be added in the next tutorial step) - a new Guest entity object is constructed and stored in the database. All the Guest entity objects are retrieved from the database and stored in the request's "guest ... on the database are carried on by the GuestDao session bean, which is instantiated and injected by
Tutorial
8

Step 4: Run the Application

) When you run the application for the first time, a new ObjectDB database file is generated in ... the existing database file to store an additional 1,000 objects. You can view the content of the database file by opening it in the ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
Tutorial
8

Step 4: Run the Application

for the first time, a new ObjectDB database file is generated in the db subdirectory under the ObjectDB installation directory. Running the application again will use the existing database file to store an additional 1,000 objects. You can view the content of the database file by opening it in the ObjectDB
FAQ
8

What are the main benefits of using ObjectDB?

performance. Reducing Development Time and Costs ObjectDB makes database programming easier and faster. The ability to store ordinary objects in the database directly can simplify the code significantly ... fields can be stored by ObjectDB simply as part of the containing object. Relational databases lack
Manual
6

Chapter 2 - JPA Entity Classes

JPA Entity classes are user defined classes whose instances can be stored in a database. To store data in an ObjectDB database using JPA you have to define entity classes that represent your application data object model. This chapter explains how to define and use entity classes. 
Manual
6

Chapter 3 - Using JPA

This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD operations: More advanced topics (e.g. locking and events) are discussed in the last section: