ObjectDB Database Search

101-120 of 120 results

Performance issue in a query due to compareTo calls

= CascadeType.REMOVE) private Values valuesRef; }   @Index ( members = {"step.stepNumber"}) @Entity

Get multiple entities by Id

I'm trying to fetch a list of entities, by their Id. I Use this query: SELECT c FROM User c WHERE c.id IN :ids This querey works as long as I don't set the property "id" as @Id. If i set @Id to any other member , this query works, if I set id as @Id, it stops working and gives zero results

UserException: Package com.example.model is not found by the enhancer

entity object member variables rather than getters and setters. I think if you use the @Warning

Using Enum type in NamedQuery: Field is not found in type

I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type

@Column( name = "columnName") doesn't work

and stays like member defined in class id, timestamp, keyDescriptor, dataItems, codedDataBlock, level I

collection of embedded objects

and includes both the entity class field and the embedded class field, e.g.: @Entity @Index( members

Query to find object from element of a contained collection

I have an OrderData class, containing an OrderItemData collection, i would like to find OrderData elements by OrderData.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.   @Entity

alter table

/objectdb/bin/objectdb.jar I saw the Meta still has two sets of members , see the attachment! TIA gzdillon

Saving custom list which implements java.util.List fails

- members to a list A whatever of kind (maybe objectDB-intern)     - It then gets

Add Indexes to existing Database

Hello ObjectDB Team I might have read the solution to this issue some times before, but I could not find an answer now. So sorry for bothering you. I want do add an @Index annotation to a member of an existing Entity. This changes affects also existing databases. Is there any best practice

@OneToOne query issue with OR and IS NULL

A other; } so entity B is the owner. Now I persisted 2 entities of type A. In the first one, the member

wrong query result

of fields (Content- Members ) is changed alternately (48/49, 51/52), which indicates

Query performance in general

better with bigger page sizes (e.g. if an Entity has 'a lot' of member fields)? Order in WHERE clause

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

the debugger is i can see this member m_idType is null type EntityTypeImpl   (id=57) m_attrMap

can not use spring-data-jpa repository with NamedQuery

in spring-data-jpa named queries are used to implement repository interface methods, see http://static.springsource.org/spring-data/data-jpa/docs/current/reference/html/#jpa.query-methods.named-queries for example @NamedQuery(name = "Foo.findByBar", query = "select f from Foo f where :bar member

ObjectDB 2.6.5

property method names . Fixed a bug in retrieving pure time values (java.sql.Time). Fixed a bug in MEMBER

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     @Index( members ={"x","y"}) Then when I run the following query:     TypedQuery query = em.createQuery("SELECT p FROM Point p where p.x = :y",         Point

@PrePersist not working correctly

I have a method to calculate some values before persisting to the database. So i annotated it with @PrePersist . If i merge an object the annotated method get's called but all members are on their default values. I only tried it with new objects. So merge get's an object with id = null

TYE NullPointerException

the problem. I've now added a FetchType of EAGER to the member to ensure a load takes place regardless

Sort of very large objects - out of memory

;   @Index( members ={"priority", "createTime"})     public static class Message