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
34
votes
8 answers

is ObjectDB production ready?

In this benchmark ObjectDB is far the fastest DB: http://www.jpab.org/All/All/All.html But I cannot see any other benchmark results from ObjectDB. Is anyone using ObjectDB? Is it production ready? What are the experiences?
Attila Nyers
  • 1,183
  • 2
  • 13
  • 21
12
votes
5 answers

Call method in JPA

I'm using ObjectDB with JPA. I would like to call myMethod(). For example: entityManager.createQuery("SELECT ... FROM ... WHERE MyClass.myMethod() = 100") Is it possible? Maybe any annotation is required before method in the class? @Entity public…
Martynas
  • 2,427
  • 6
  • 26
  • 36
3
votes
2 answers

Google App Engine - JDODetachedFieldAccessException

I'm pretty new to JPA/JDO and the whole objectdb world. I have an entity with a set of strings, looks a bit like: @Entity public class Foo{ @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private Key id; private Set
jonny bordo
  • 519
  • 3
  • 6
  • 17
3
votes
2 answers

Spring roo - NonRelational DB support

I'm looking for an nonRelational DB implementation (objectDB, or XMLDB) Could somebody recommend some working/tested sollution, how store objects/XMLdata in a DB?
Viliam
  • 210
  • 5
  • 11
3
votes
1 answer

Why is JPA-Query to delete Entities resulting in a com.objectdb TransactionRequiredException?

I'm trying to delete the objects in the database. My first attempt was: public void removeAll(){ TypedQuery query = em.createQuery( "DELETE FROM tablName", anObject.class); query.executeUpdate(); } this…
null
  • 3,221
  • 6
  • 32
  • 74
3
votes
1 answer

Use LocalDateTime in Query on ObjectDB

I am building a Spring MVC application using ObjectDB. My aim is to use the Java 8 Date and Time as a query parameter for comparison in the where clause. Let's assume I've got following entity having a measurement datetime object: @Entity public…
Stephan
  • 281
  • 1
  • 7
3
votes
1 answer

Selecting multiple objects by id using JPA and ObjectDB?

I'm having trouble getting ObjectDB to select multiple values based on their ids. My query is super simple: Query query = getEntityManager().createQuery("SELECT i FROM " + getEntityClass().getSimpleName() + " i WHERE i.id IN :ids",…
Edy Bourne
  • 4,229
  • 9
  • 42
  • 75
3
votes
1 answer

Problems searching empty user database with ObjectDB

I am creating a java application which uses ObjectDB to create and maintain a set of databases. I'm currently trying to implement a DB to store user objects consisting of username and password strings. On a JFrame/swing class I have a button for…
dahui
  • 1,978
  • 2
  • 15
  • 35
3
votes
1 answer

Is there an implicit version field in JPA?

I'm new to JPA and have noticed that one can make use of optimistic locking by annotating a field in an entity with @Version. I'm just curious about whether persistence providers will create an implicit version field if there doesn't exist one…
tsh
  • 183
  • 1
  • 2
  • 11
3
votes
3 answers

What is preferable way to pass objects between server and client?

Good day. I develop server-client application with Glassfish+ObjectDB(embeded mode) on serverside and Android application on client side. What is prefreable way (with respect to traffic and security) to send data that stored as java objects in…
Timur Samkharadze
  • 1,551
  • 1
  • 15
  • 29
2
votes
2 answers

How can I save UTF-8 strings in an ObjectDB JPA database?

I'm trying to save some UTF-8 strings in the ObjectDB database with the following code: ResourceBundle entries = Utf8ClassLoader.getBundle("localization/language", "fa-IR"); // fa-IR is a UTF-8 and RTL language Enumeration keys =…
HosseyNJF
  • 449
  • 1
  • 7
  • 17
2
votes
2 answers

How to persist an class's object that is not annotated with @Entity tag in JPA?

I'm using ObjectDB to store my objects. But I want to store an object that is not annotated with the @Entity tag, because the objects are created outside my package (In a library) and I do not want to clone the entire library into my project, only…
HosseyNJF
  • 449
  • 1
  • 7
  • 17
2
votes
1 answer

ObjectDB with Spring Boot

I want to configure a Spring Boot application to use ObjectDB persistence instead of the default Hibernate, but I' unable to do so. Since ObjectDB already is a JPA provider I need to exclude any auto configuration involving a DataSource, JDBC or…
German
  • 3,300
  • 7
  • 29
  • 31
2
votes
1 answer

Is that possible to use ObjectDB in a Spring Boot application

I want to use ObjectDB in my Spring Boot application. How should I configure the application.yml file? I don't want to add persistence.xml into my application. Is that possible?
Chris
  • 5,751
  • 9
  • 39
  • 56
2
votes
1 answer

Select all beans where member variable condition is true

I would like to print out all Person objects where isFoo == true. I do not know how to complete the below code though for PersonServlet Person @Entity public class Person implements Serializable { @Id @GeneratedValue private Long id; …
ThreaT
  • 3,644
  • 13
  • 58
  • 97
1
2 3 4 5 6 7