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
0
votes
1 answer

How to make a list (containing of objects) persistent

First of all, as you can see, I work in Java and specifically in NetBeans IDE. So, I have a class Person that extends two classes : Trainer, and Athlete. In the main, I create a new ArrayList list = new ArrayList(); and then, i fill the list with…
user501625
  • 27
  • 1
  • 4
0
votes
1 answer

Glassfish/Payara: why might deployment of a large web app to Glassfish-4.1.1 (or Payara Server 4.1.1.163) take 5 times longer than to Glassfish-4.1

Mac OS X: Yosemite 10.10.5 Until recently I have been using: NetBeans8.1beta Glassfish4.1 Mojarra 2.2.7 I have recently investigated using: NetBeans8.1 Glassfish4.1.1 Mojarra 2.2.12. With a very large JSF web app (with ObjectDB as JPA persistence…
0
votes
1 answer

Which is better SQL database or json file?

I am creating an application where large number of data will be stored in the server. For example a to-do list. A user comes, writes down his to-do list like a list of 100 tasks for each day. So, all the task will be shown to him like a list (of 100…
0
votes
2 answers

OrientDB: Creating Graph-database through HTTP-API

It seems it is only possible to create document-type databases via the HTTP-api. The documentation omit's information about whether the database will be created as a graph or a documentdatabase, but when creating a vertext, i get the…
Julian
  • 992
  • 1
  • 9
  • 19
0
votes
1 answer

ObjectDB Select query with too few parameters

I'm trying to populate a tsp page based on what parameter was passed to it. Currently I'm using the title of the blog post, I don't like this but I wanted proof of concept and had difficulties obtaining the object id. So, I'm temporarily passing…
null
  • 3,221
  • 6
  • 32
  • 74
0
votes
1 answer

ObjectDB Connection in Eclipse

I am very new to the ObjectDB. The reason I am trying to use this is to create desktop java application using embedded database. In other words, I ultimately want to give my friend a runnable jar file alone so he can access the database in javaFX…
Rin
  • 99
  • 3
  • 6
0
votes
2 answers

No matching results for a unique query (error 782)

This code keeps throwing an error because there aren't any values present in the database: public Foo getFoo(Parent p1, Parent p2) { EntityManager entityManager = entityManagerFactory.createEntityManager(); CriteriaBuilder criteriaBuilder =…
ThreaT
  • 3,644
  • 13
  • 58
  • 97
0
votes
1 answer

Is ObjectDB JPQL different from normal JPQL

I was discussing with someone about comparisons in JPQL, I gave him this link, http://www.objectdb.com/java/jpa/query/jpql/comparison, I think that ObjectDB uses the normal JPQL and so it sufficed the question. But someone told me that it is…
Rika
  • 708
  • 1
  • 5
  • 14
0
votes
1 answer

objectdb : update child set<> of the parent after remove one child doesn't work

In my application I have two entity Person and Activity @Entity public class Person { . . . @OneToMany(cascade=CascadeType.ALL,fetch=FetchType.EAGER,orphanRemoval=true) Set a; // getters setters constructors } ...…
0
votes
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
  • 738
  • 1
  • 4
  • 12
0
votes
1 answer

JPA Query performance issue with ObjectDB

we have big problems with query performance in ObjectDB, this is our code. Any help would be appreciated. First version of query gives result in 50ms for first 40 records from database but second version which queries 40+ records gives 19 seconds.…
dilindul
  • 13
  • 3
0
votes
1 answer

How to deploy an Objectdb project with Jboss AS 7?

I'm having troubles to deploy projects that use ObjectDB in Jboss AS 7 WildFly. for the start I used objectDB tutorial project which originally designed to Glassfish open source edition: http://www.objectdb.com/tutorial/jpa/ee but it kept telling me…
DreckGuy
  • 1
  • 2
0
votes
2 answers

Persist an entity with a DateTime field into an objectdb database

I would like to persist an instance of my class into objectdb. @Entity public class MyClazz { @Column(nullable = false) DateTime date; } With hibernate I just need to annotate the field with an additional annotation. @Type(type =…
Marcel Jaeschke
  • 697
  • 7
  • 23
0
votes
1 answer

objectdb select where query

I attempt to select some instance using where clause public static List getRSSItem(int x1, int x2) { EntityManagerFactory emf = DBHandler.getEmf(); EntityManager em = DBHandler.getEm(emf); String query = "SELECT…
0
votes
1 answer

Is it possibile to perform JOIN in JPQL?

I'm using Objectdb, an object database, to save Cars to rent and requests for rental. When one customers ask for a rental of a car, I have to check if the car is available in that period (from start date to end date). In my database I have two…
SagittariusA
  • 4,795
  • 15
  • 57
  • 112