About connection
Database Connection using JPA
Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction.... EntityTransaction Overview A connection to a database is represented by an EntityManager ... application it is common to establish a separate database connection, using a separate EntityManager instance, for every HTTP ...
Server Configuration
Explains how to set a JPA/JDO database server using ObjectDB, the fast Java object database for JPA/JDO.... element: <server > <connection port = "6136" max = "100" /> <data ... describes one subelement: The <connection> element The <data> element The ...
Database Replication and Clustering
Replication enables maintaining up to date version of an ObjectDB database on multiple nodes.... configuration : <server > <connection port = "6001" max = "100" /> <data ... is used. But when the first url becomes unavailable the connection will automatically switch (temporarily) to the next available url ...
Obtaining a JPA Database Connection
Shows how to use Java/JPA to connect to the ObjectDB Object Database. In JPA a database connection is represented by the EntityManager ... ; The EntityManager instance represents a connection to the database. When using JPA, every operation on a database is ... application-wide EntityManagerFactory . When the connection to the database is no longer needed the EntityManager can be ...
Server connection management
The server does not appear to release broken connections. My typical development pattern is to keep reloading my war file in tomcat until the permgen space runs out, and then I kill and restart tomcat. After a few days of this, the server stops responding, and I see the following in the server logs: ... or server restarts. Does the client have an internal connection pool that checks the health of a connection and reconnects if needed? It would be useful to have configuration ...
Database Explorer
Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually.... Connecting to the Database Opening a Database Connection To open a local database file in embedded mode use the ... database in client-server mode select File > Open C/S Connection... and provide host, port, username and password for a ...
Database Explorer
Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually.... Connecting to the Database Opening a Database Connection To open a local database file in embedded mode use the ... database in client-server mode select File > Open C/S Connection... and provide host, port, username and password for a ...
JPA Persistence Unit
Explains how to define a JPA persistence unit in the persistence.xml file. A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit is optional when using ObjectDB, but required by JPA. ...
Step 3: Create an ObjectDB Data Source
Explains how to create an ObjectDB data source for BIRT reports.... Next . Specify the database connection url: Download and save the points.odb ... Quick Start tutorial ). Specify an ObjectDB connection url - either embedded (e.g. c:\points.odb ) or client-server ...
Step 4: Create an ObjectDB Data Set
Explains how to create an ObjectDB data set for BIRT reports. 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 and selecting New Data Set ...