About object

forum_thread

Adding multi part path index on non-embedable object member

Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like the two members below.  @Entity public class Customer {     @MapsId     @ManyToOne(fetch = FetchType.LAZY)     private Merchant merchant;       @MapsId     @ManyToOne(fetch = FetchType.LAZY)     private List<Store> stores;     // Setter/Getter ... Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

can we use objected with ehcahce?

Hello , I need advanced caching system. Terracotta ehcache provides us , advanced distributed cache mechanism.   Can we use objectdb with ehcache ?   ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
release

2.6.4

... a NullPointerException on concurrent access of first object of an entity class. Fixed bug in using EnumType.STRING ... . Fixed a bug in updating an embedded object after GC of the containing entity ( issue #248 ). Fixed ...

 
forum_thread

Finding an object by its datetime

SearchBookingByTimeStamp() { Calendar btime = Calendar.getInstance(); btime.set(2012, 10, 11, 7, 30, 00); //This time is already inserted, trying to find it /* My Query */ TypedQuery<Booking> query = em.createQuery( "SELECT b FROM Booking b WHERE b.btime = :btime", Booking.class) .setParameter("btime", btime, TemporalType.TIMESTAMP); } @Entity public class Booking { @Temporal(TemporalType.TIMESTAMP) Calendar btime; }   ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

CAP theorem and object DB

Can someone please explain ObjectDB falls into which category of CAP theorem ? C : Consistency, A: Availability , P : Partition Tolerance  Example:  CA ==> SQL Server, Oracle, Sybase, MySQL CP ==> MongoDB, HBase, Redis, MemCache  AP ==> Cassandra, CouchDB, DynamoDB is ObjectDB fall under CA category ? ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

JPA CriteriaQuery -- Iterate Expression<List<Object>>

Hi, I am new to  JPA and in particular the CriteriaQuery API. I have a simple CriteriaQuery where I pattern match a simple search String against field entires in a Person entity... i.e. the searchString is always decorated with %searchString%.  The Person object can contain many Record objects. I would like to update my query below to include a similar 'like' pattern match for each applicable field (String) of each element of the List of Records (see pseudo code).  ... decorated with %searchString%.  The Person object can contain many Record objects. I would like to update my query below ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

Removing objects where ManyToMany relationships exist

Consider you have an entity Entity with the following unidirectional relationship: @ManyToMany private Set<OtherEntity> setOfOtherEntities; public Set<OtherEntity> getOtherEntities() {     if (setOfOtherEntities == null) {       setOfOtherEntities = new TreeSet<OtherEntity>();     }     return setOfOtherEntities;   } ... to prevent broken references. When an OtherEntity object is deleted the application must also remove any references to it, ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
issue

not possible to add an existing object to an array via explorer

when trying to add an existing object via context menu/add existing object an entering the id the attached message appears ... when trying to add an existing object via context menu/add existing object an entering the id the attached message appears (see attachment): ...

 
forum_thread

Query to find object from element of a contained collection

I have an OrderData class, containing an ItemData collection, i would like to find OrderData elements by ItemData.items.itemId. I cant get a proper query with MEMBER OF or IN. Does anyone have an idea on how i could formulate that as Typed or CriteriaBuilder query? Thanks.   ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

Object DB In memory : without Filestore

Hello, I raised this question earlier as well, we want to explore if I can run the ObjectDB completely in Memory ? (without any writes to Disk, it's okay to loose the data if the node is down ). I think that will give the best performance. The reason we are exploring is restoring state is possible for us through replaying the logs, however we want easier data structures which is really good with ObjectDB along with Concurrency controls and transaction mgmt. Let us know if it is possible to run the Object DB completely in memory without disk storage. ... transaction mgmt. Let us know if it is possible to run the Object DB completely in memory without disk storage. thanks, ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...