About like

forum_thread

Vs. EHCache

Hi, I realize this is kind of like an apples vs. oranges comparison, but I would be interested if you have any performance information vs. something like ehcache with a persistent store. I'm currently evaluating for a simple schema to persist only 1 or 2 types of entities (but possibly 10k-100k instances) with simple index based queries which imagine both products could probably solve.... Hi, I realize this is kind of like an apples vs. oranges comparison, but I would be interested if you have any performance information vs. something like ehcache with a persistent store. I'm currently evaluating for a ...

 
issue

Alias not used in ORDER BY

Hi, I am doing something simple like final Root<T> from = criteria.from(T.class) final Path<?> path = from.get("someStringProperty") final Expression<String> upperPath = builder.upper((Expression<String>) path); upperPath.alias("TEST"); criteria.multiselect(from, path); criteria.orderBy(builder.asc(upperPath)) I would have expected the alias to be used in the ORDER BY clause, something like ... Hi, I am doing something simple like final Root<T> from = criteria. from ( T. ... the alias to be used in the ORDER BY clause, something like SELECT $1 , UPPER ( $1 . someStringProperty ) ...

 
forum_thread

Problem with Composite indices

Hi, I want to realize the following: I have 2 classes, one Client class which looks like: public class Client { @Index (unique = "true") private String name; } and a User class which looks like: ... following: I have 2 classes, one Client class which looks like: public class Client { @ Index ... name ; } and a User class which looks like: @ Index ( members = { "client" ...

 
forum_thread

Complex Schema Upgrade not working

Hello, We're trying to upgrade the DB-Schema. Simplied our source/original Schema/Class-Hierarchy looked like this: class contact.Contact class customer.Customer extends contact.Contact class member.Member extends customer.Customer We have database records within each class type (Contact, Customer and Member). ... Simplied our source/original Schema/Class-Hierarchy looked like this: class contact. Contact class customer. Customer ... Customer and Member). Our new hierarchy looks like that: - The package "member" has been renamed to package "address" ...

 
forum_thread

Create simple index for a Id field

Hello, I just wanted to write another anotation to my key field so I can have a really simple index. This is the original code: @Entity public class ObjectDbEntity<Key,Value> implements DataItemProvider<Value> {         @Id     private Key key = null;     private Value value = null; and I just want my key to be indexed on my db, just like this: ... and I just want my key to be indexed on my db, just like this: @ Entity public class ... inserting the elements, but when it comes to read seems like the performance falls. I can understand that reading is a complex task, ...

 
forum_thread

listening on a particular IP aside localhost

I have being searching all around for how to do this but still no luck. I want objectdb to be able to listen in server mode to other connections from another machine where client is installed. I will like to have objectdb on machine A, while B,C, D can access the database in a using code like this emf = Persistence.createEntityManagerFactory("objectdb://192.168.50.56:8888/myapp6136.odb"); emf.createEntityManager(); ... from another machine where client is installed. I will like to have objectdb on machine A, while B,C, D can access the database in a using code like this emf = Persistence . createEntityManagerFactory ...

 
forum_thread

@SequenceGenerator and single id in whole database

Hi, I have a question about @SequenceGenerator. I have separate @SequenceGenerator in each of my model enitities, but it looks like id's are generated using only one, shared generator. Is there any other way to use separate generators for each entity, so that each entity uses its own sequence just like in RDBM?... in each of my model enitities, but it looks like id's are generated using only one, shared generator. Is there any ... entity, so that each entity uses its own sequence just like in RDBM? edit ...

 
forum_thread

Web Framework Recommendation for leveraging JPA + ObjectDB

Hello dear ObjectDB Community ! First of all let me tell You: I am glad that I have revisited ObjectDB just recently; because with its newly added JPA compliance and affordability, it seems like a natural match to me. I have the following understanding: If I persist standardly against JPA/JDO, I can switch Persistence Engines as I see fit later on ! So that I can easily switch to a true OODBMS like ObjectDB, for instance. ... its newly added JPA compliance and affordability, it seems like a natural match to me. I have the following understanding: If I ... later on ! So that I can easily switch to a true OODBMS like ObjectDB, for instance. Immediately the following question pops ...

 
forum_thread

Automatic schema evolution causes ArrayOutOfBoundsException

Hi, I did 2 modification to our schema. Our schema looks like this: class Entity     - List<String> permissions class ServiceProvider extends Entity     - String name class Airline extends Entity     - String name     - String iata ... I did 2 modification to our schema. Our schema looked like this: class Entity - List<String> ... removed the duplicated name field, the schema now looks like this: class Permission ( @ Embedded ) ...

 
issue

Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException

Hi, ... wrapper which runs ObjectDb as a service.  It looks like ObjectDb is not catching all Exceptions, allowing them to bubble up into ... NullPointerExceptions are very concerning and we would like to ensure that no corruption is occurring in our data.  At the very ...