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...

106 questions
1
vote
1 answer

deploying ejb-module for ObjectDB fails: PersistenceProvider not found

I have two almost identical projects (both created with maven, both very simple) where one deploys without any problems, the other gives me a PersistenceException: javax.persistence.PersistenceException: JBAS011466: PersistenceProvider…
GameDroids
  • 5,584
  • 6
  • 40
  • 59
1
vote
1 answer

Attempt to store an instance of a non persistable type com.objectdb.jpa.criteria.Expressions$h (error 303)

I'm trying to do a select using a few simple where conditions but I keep getting the exception Attempt to store an instance of a non persistable type com.objectdb.jpa.criteria.Expressions$h (error 303) public Person read(String surname, String name,…
user1191027
1
vote
1 answer

object db add compiste index doen't work

I try to add compostite Index in enttiy but not work following error got : [error] application - message= Unexpected database state: BTree 49 is not found, cause= [ObjectDB 2.5.4] javax.persistence.PersistenceException Unexpected database state:…
ASHISH
  • 45
  • 1
  • 6
1
vote
1 answer

how to adding index on Map fields in entity using object db

i want to add index in map attribute i doen't have any idea about adding index in map attribute i have refer objectdb site link but i doesn't find soultion @index is enough for added index for example: @Entity @Table(name =…
ASHISH
  • 45
  • 1
  • 6
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
  • 47
  • 2
  • 9
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
  • 2,339
  • 6
  • 51
  • 88
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
  • 16
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

ObjectDB: Persistence Exception type not found error 301

while following this tutorial: http://www.objectdb.com/tutorial/jpa/eclipse I receive the following error: Exception in thread "main" [ObjectDB 2.5.4_05] javax.persistence.PersistenceException Type tutorial.model.Point is not found (error 301) at…
Zac Lozano
  • 778
  • 1
  • 4
  • 12
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
  • 2,128
  • 2
  • 21
  • 40
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 { …
Sergey Orlov
  • 101
  • 1
  • 5