Home » Search

About database

121-130 of 200Refresh
Forum
11

Many clients access same database

Hi, I have a program to manage clients of my tennis club. But we have several different computer programs open that access the database. How can I implement this topology so that there is one Persistence context for all the client programs on the different computers. For example: When I change
Forum
11

Need to close+open database for a commit to be taken into account

Hi, I have one case where commit (update of entity in this case) is not taken in account unless database is actually closed and re-open, no error. I tried to use flush instead of close+re-open but it does not work. So currently there is a dirty close + open + reload on each update
Issue
11

NullPointerException on initial database creation

I'm getting the following exception on initial creation of a database.  There's no indication as to what's wrong and there's nothing in the log.   com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.SCO.b(SCO.java:209) at com
Forum
11

World database - Changing country ID

the world example database - the data is derived from the CIA Factbook, in which the internal code
Issue
11

new database error

Exception in thread "main" [ObjectDB 2.7.3] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Client VM 1.8.0_31 (on Windows 8.1 6.3). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: com.objectdb.o.UserException: Failed
Forum
11

How to access database object to my application.

is without using tostring method. like a independent object and database. Thank you. Unfortunately
Manual
10

Chapter 1 - Quick Tour

ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update and Delete) on ObjectDB databases. The example program that this chapter presents manages a simple database ... , that hold the point's x and y coordinates. The program demonstrates CRUD database operations by storing
FAQ
10

Is ObjectDB better than Object Relational Mapping (ORM)?

As noted above, using ObjectDB instead of a relational database and ORM combination is easier ... database is mandatory (e.g. as a result of a customer request or when a new application is developed for an existing old relational database). By using the Java Persistence API (JPA), you can develop
Manual
10

JPA Lifecycle Events

(added to the EntityManager). @PostPersist - after storing a new entity in the database (during commit or flush). @PostLoad - after an entity has been retrieved from the database. @PreUpdate ... the database (during commit or flush). @PreRemove - when an entity is marked for removal in
Manual
10

Running JPA Queries

(with getResultList) The following query retrieves all the Country objects in the database. Because multiple ... object reflecting the number of Country objects in the database: TypedQuery query = em ... on the database content. For example, the following query is expected to return a single Country object