Home » Search

About database

51-60 of 200Refresh
Forum
12

Drop the entire database, Change the schema

I am trying to port and example app to ObjectDb. As part of the tests I drop the database ... to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks You can delete the database ... have two PUs configured which are the same apart from this property, I use one to 'drop' the database
Issue
12

InternalException - error reading field from "queue" database

I trying to use an objectdb database as a persitent queue but have started getting the following ... shouldve added is that this db is running in server mode. I've taken a copy of the database ... guess the problem is actually on writting the objects to the db. Running the database
Forum
12

How force always recreate database on redeployment.

Is there some easy way to force recreation/deletion of the current database on deployment of a web ... . Currently, to avoid multiple models in the database, I have to undeploy from Glassfish, stop the server, delete the database file, re-start the objectdb server, re-run the web app, which is tedious
Forum
12

Queries are slow on a large database

Hi, I have a 12GB database with 787603 entries. It is much larger than usual ... have to scan the entire database file and is not using indexes. Therefore I think I am not doing ... to an existing database use the Doctor to create a new database in which the index is active
Manual
11

Deleting JPA Entity Objects

Existing entity objects can be deleted from the database either explicitly by invoking the remove ... from the database it has to first be retrieved (no matter which way) and then in an active ... (); The entity object is physically deleted from the database when the transaction is committed. Embedded
FAQ
11

Is ObjectDB scalable? What are its limitation?

ObjectDB is highly scalable and can manage efficiently databases in a wide range of sizes, from ... supports: Database file size up to 128 TB (= 131,072 GB = 134,217,728 MB). Up to 2,147,483,648 entity classes per database file. Up to 2,147,483,648 indexes per database file
Tutorial
11

Step 4: Add a Servlet Class

ServletException, IOException { // Obtain a database connection: EntityManagerFactory ... { // Close the database connection: if (em.getTransaction().isActive ... is retrieved from the application scope attribute, and then an EntityManager (representing a database
Tutorial
11

Step 4: Add a Servlet Class

{ // Obtain a database connection: EntityManagerFactory emf = (EntityManagerFactory ... ") .forward(request, response); } finally { // Close the database ... , and then an EntityManager (representing a database connection) is constructed. If a new guest
FAQ
11

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases ... . Using plain old Java objects (POJO) to represent persistent data can significantly simplify database
FAQ
11

Which API should I use - JPA or JDO?

code. When to prefer JDO JDO might be preferred when portability to other object databases is more important than general portability to both object and relational databases. JPA is designated to be used mainly with relational databases. ObjectDB is the only object database that supports JPA