About database

61-70 of 200Refresh
Forum
11

Corrupted Database or error in ObjectDBExplorer?

Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8 ... the Database-File? An analysis with the DB-Doctor found no problems.   We observe the error if we try to open ... " -> the expected Ids, but null for the class   any ideas? The data in this database is probably fine
Forum
11

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
11

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
10

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
10

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
Forum
10

Database is erased after deploying a new web application version

) and deploy it from Tomcat's manager, I get a new empty database. I assume there is a way (possibly a simple one) of keeping the existing database and avoid this "database reset". If that's true, I'll be glad to hear about such a solution. Thanks in advanced, Yotam. Where is your database located (i.e
FAQ
10

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
Manual
10

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
10

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
Tutorial
10

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