About database

71-80 of 200Refresh
Forum
10

Shrinking Database Files

would be with Database Doctor. Is there a way to reclaim database file space? Is it worth trying to reclaim ... context to propose an answer.) ObjectDB reuses space of deleted objects but the database is never resized to a smaller file. Currently the only way to make the database file smaller is to run
Forum
10

Using the wrong class to access a database

the Point database described in the Getting Started section: package com.objectdb.tutorial ... if I can access the database from here. This program is almost the same as the first; it only calls ... are working fine, but the third ruins the database: - The number of entries is zero. - running the app
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
FAQ
10

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
10

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

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds ... any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database ... with ObjectDb databases which may have size more than 5Gb and opening database time
Forum
10

can't get HashMap out of the database

I'm trying to persist an Entity containing a HashMap. It stores the data in the database OK, but the map is always empty when I get the entity out of the database again. I've reproduced this problem ... stored in the database. The updated project attached. Regards, Natalia. You are right