Questions tagged [objectdb]

Fast Object Database for Java - with JPA/JDO support

ObjectDB is a powerful object oriented database management system (ODBMS). It is compact, reliable, easy to use and extremely fast. ObjectDB provides all the standard database management services (storage and retrieval, transactions, lock management, query processing, etc.) but in a way that makes development easier and applications faster.

ObjectDB Database Key Features:

  • 100% pure Java Object Oriented Database Management System (ODBMS).
  • No proprietary API - managed only by standard Java APIs (JPA 2 / JDO 2).
  • Extremely fast - faster than any competitive JPA / JDO product.
  • Suitable for database files ranging from kilobytes to terabytes.
  • Supports both Client-Server mode and Embedded (in process) mode.
  • Single JAR with no external dependencies.
  • Database is stored as a single file.
  • Advanced querying and indexing capabilities.
  • Effective in heavy loaded multi user environment.
  • Can easily be embedded in applications of any type and size.
  • Tested with Tomcat, Jetty, GlassFish, JBoss and Spring.

See ObjectDB's features in more detail...

103 questions
1
vote
1 answer

Use an object stored in objectdb file without having it's class definition

Let's say I create an object in java named Point with 2 attributes (int x & int y) and i store some instances in an objectdb file. I know how to retrieve all items (as objects) from that file but how can I access their attributes if I don't have the…
AkiS
  • 45
  • 8
1
vote
0 answers

Fee JPA compatible Object Database

I develop JSF web applications using JPA to manage databases. I use EclipseLink with MySQL frequently in all most all web applications. I have used ObjecDb (with the restricted licence) with JPA. It is very fast when compared to MySQL +…
Buddhika Ariyaratne
  • 1,902
  • 3
  • 44
  • 79
1
vote
1 answer

Two Persistence Units in persistence.xml - One works, other not

I'm having such a strange problem with an JPA application in java. I'm trying to read data from a MySQL database and write it on a ObjectDB embed database but when i try to open the Persistence unit i got this message: Exception in thread "main"…
lagranzotto
  • 327
  • 1
  • 5
  • 14
1
vote
2 answers

ObjectDB EntityManager not found

I'm working with Tomcat, Eclipse and Maven. I added the ObjectDB to the project (libraries > add external jar). In Eclipse everything seems to be okay. It does not show any "not found" errors and the autocomplete works. But when I run the project it…
pril
  • 27
  • 2
1
vote
2 answers

Multithreading with Embedded ObjectDB

I need to have a atomic counter with ObjectDB but the following code doesn't work as I expected: final EntityManagerFactory emf = Persistence.createEntityManagerFactory("test.odb"); EntityManager em = emf.createEntityManager(); Point p =…
user161904
  • 31
  • 1
1
vote
1 answer

Using update queries with objectdb

The following code: EntityManagerFactory emf = Persistence.createEntityManagerFactory("test.odb"); EntityManager em = emf.createEntityManager(); em.getTransaction().begin(); Point p = new Point(0, 0); em.persist(p); …
user161904
  • 31
  • 1
1
vote
1 answer

If you modify an ObjectDB Entity class will it be supported by a database set up using the old class?

I have an ObjectDB database used in my Java application which just contains loads of one type of class, let's call it Record. I want my program to be open/extensible, so say someone modified the Record class, and adds another field/variable, what…
dahui
  • 1,978
  • 2
  • 15
  • 35
1
vote
1 answer

objectdb with jboss 7.1.1 performance issue

we have a strange performance problem with ObjectDB 2.5.3_01 and JBoss 7.1.1. We have two ObjectDB databases on one ObjectDB server. Production database is running 5-10 times slower than test database. Their size and number of records are almost…
dilindul
  • 13
  • 3
1
vote
0 answers

Shiro returning wrong user data

we have problem with shiro returning results from another logged user. Our setup is JBOSS AS 7.1.1., Apache Shiro 1.2.1, Vaadin 7.1.6 and ObjectDB 2.4.6. Thing is that when we have multiple users logged in to the application users get data within…
user1200936
  • 21
  • 1
  • 3
1
vote
1 answer

When using inheritance throw exception java.lang.NoSuchFieldError: __odbTracker on NetBeans 7.3 Jboss 7.1.1 ObjectDB 2.5.1

When using inheritance throw exception java.lang.NoSuchFieldError: __odbTracker on NetBeans 7.3 + ObjectDB 2.5.1 + Jboss 7.1.1, but works fine on NetBeans 7.3 + ObjectDB 2.5.1 + GlassFish 3.1 @Entity public class Person extends AbstractObject { …
1
vote
1 answer

TomEE ++ and ObjectDB can not get it work

I have a DaoService which gets initialized when the app starts. public DaoService() { Map properties = new HashMap(); properties.put("javax.persistence.jdbc.user", "admin"); …
ZuzEL
  • 10,136
  • 8
  • 36
  • 64
1
vote
2 answers

What is ObjectDB? How is it different than an ORM like Hibernate?

In ObjectDB I see that: ( here is the link. ) ObjectDB is a powerful object oriented database management system (ODBMS). I see that it implements JPA, so does it mean it is supposed to be an ORM provider? Or not? What is the difference?
Koray Tugay
  • 20,438
  • 37
  • 155
  • 276
1
vote
1 answer

ObjectDB with JPA

I am trying to create an objectdb using JPA. The following code below is what i have done but am not sure if i have done it correctly. The entity is student and the attributes are fristname, surname etc. Would anyone know if i have set it out right…
1
vote
1 answer

Is there a way to drop a table in the explorer of objectDB?

Is there a way to drop a table in the explorer of objectDB (or is there a way to drop a table at all)? I know that I can execute a 'delete from' query, but the table is still there and it's annoying to me because I created a lot of test entities and…
0x56794E
  • 19,267
  • 12
  • 39
  • 53
1
vote
1 answer

JPA managed entities vs JavaFX properties

My current project is done using JavaFX. I use properties to bind (bidirectionnal) view fields to bean (with BeanPathAdapter of JFXtras). I choose to use JPA with ObjectDB as model. This is the first time I use JPA in a standalone project and here…
Ludovic Guillaume
  • 3,167
  • 1
  • 21
  • 39