ObjectDB Database Search
101-150 of 152 resultsquery hint none of these indices is in the log: @Indices({ @Index(name="ctso", members ={"classIdentifier","type","state","objectNameUpper"}), @Index(name="lctso", members ={"linkedObjects.classIdentifier","linkedObjects.type","linkedObjects.state","linkedObjects.objectNameUpper"}), @Index(name="ln", members | |
LEFT JOIN FETCH over empty embedded collection returns no results First of all, thank you for promptly implementing JOIN FETCH over nested paths in response to my inquiry a few months ago. However, I have run into one problem: if an embedded collection is empty, but I attempt to LEFT JOIN FETCH all the members of a collection within a (non-existent) member | |
Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception the Symbol class, which has a private non-static member named string but a few static members | |
New to Product & Having An Issue; I have a domain object class Called Department, which has a member of type DomainId. DomainId has two member fields: String accountId and String objectId. The following code | |
Problem witch CriteriaBuilder isMember(..)_08 which fixes an issue of using MEMBER with embedded objects. support Support great, it works ... has different members , but the same size. List uid1_list = .. new Testclass(1,1), new Testclass(2,1 | |
Searching lists within objects attributeList = new ArrayList (); } @Entity @Unique( members ={"type","value"}) class Attribute {   ... enum (more efficient). An alternative solution is to use embedded objects: @Entity @Index( members | |
100% CPU when using multiple BETWEEN Hi, we are evaluating ObjectDB 2.5.1_03 in embedded mode. We have a DB of about 2800 instances of a class that has two java.lang.String members : toExtension and fromExtension. There are other members in the class, but not relevant to the problem. A query like this causes the java process | |
Failing to read entities under load in multithreaded tests @Indices({ @Index( members ={"oidId", "type"}), @Index( members ={"parentAcl"}) }) public class TestEntity | |
Exception after update of indices of Entity class ( members = {"recurrence.recurringEvent"}), @Index ( members = {"relations.related | |
Failed to write the value of field using reflection (error 363) on LAZY fetch Hi There I am using ObjectDB 2.6.3. I get the following Exception when I try to read my entities with a query where I have set to use LAZY initalization. It fails when it tries to set a 1:n member ... hints? The Mapping of class Modell and its member : @Entity class Modell { ... @OneToMany(fetch | |
Internationalization be necessary, instead we could use maps for the international members and provide a map entry for each ... -language members where for example the long description would be even stored as a rather long HTML code | |
can removing an entity throw an exception if the entity is in use? A a, B b WHERE a = b.a OR a MEMBER OF b.list ... The query will have to be adjusted to your specific ... : SELECT DISTINCT b FROM B b WHERE :a = b.a OR :a MEMBER OF b.list ... support Support | |
Database is erased after deploying a new web application version There's a static member in line 28, kind of a wrapper class to the database service class that does the queries | |
Nested Collection Query Hi Sir, I have a persisted field of the type: List groupMembers How do I check if a particular member exist in one of the group? snoopydoghk Ka Leung Nesting a collection directly in another collection, although supported by ObjectDB, is not valid in JPA. Accordingly | |
Problem with @UniqueConstraint/java/jpa/entity/index For example: @Unique ( members ={"lastName","firstName"}) And for a single | |
Navigation and Parameters Greetings ObjectDB team, Suppose I pass a List of persistent objects to some query as a parameter, can I navigate to those objects' fields ? E.g.: SELECT x FROM ClassX x WHERE x.a IS MEMBER OF :y.b Thank You ! geekox86 Mohannad AlAwad You cannot navigate from a collection of objects | |
Query can't see recently persisted object( { @Index( name = "MyClass_ind_1", members = { "oid" }, unique = "true" ) } ) @Entity public class | |
Performance in SELECT statement index on TestEntity instead: @Entity @Index( members ={"state.entityState"}) public class TestEntity | |
Composite Index error 328 = -1"), } ) @Indices( { @javax.jdo.annotations.Index( members = {"id","pwd","access"}) } ) public | |
Replication failed Dear support members , I am trying to set up a replication url in objectdb.conf and have the the following error in the log files: [ObjectDB 2.3.4] javax.persistence.PersistenceException Failed to connect to server 127.0.0.1:6136 (Connection refused) (error 522) at com.objectdb.jpa.EMF | |
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 | |
How to pass a list in query for a list field of entity. "IN" and " Member of" but not working. code sample :- ArrayList soList = new ArrayList (); soList | |
Efficient query on EmbeddedId @Indices({@Index( members = {"id.field2"})}) or do I have to duplicate entity.id.field2 into entity | |
Unexpected internal exception during set field of an Embeddable to null). The enhanced class call "signalvalueimpl.__odbTracker. beforeModify Member (1) " But __odbTracker | |
Eager Fetch is not stable for collection or map types?; @ElementCollection(fetch=FetchType.EAGER) private List members = new ArrayList ();   | |
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: @Index ( members = {"client", "emails"}) public class User { private Client client; private List emails | |
NullPointerException: Cannot invoke "com.objectdb.o.RFV.S()" because " | |
New issues with queries using build 2.7.6_08.execution.ExecutionConfigImpl as config WHERE execution MEMBER OF ?1 AND execution.verdictID = verdict.uid ... .dmos.execution.ExecutionConfigImpl as config WHERE config.uid = '23A' AND execution MEMBER OF ?1 | |
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 | |
Exception upon index definition change Hello, I have the following types: @Embeddable public class ChangeSetRef { private long index; private String role; } @Index ( members = {"refs.role", "refs.index"}) @Entity public class ChangeSet { @ElementCollection   | |
InternalException - error reading field from "queue" database:569) ... 22 more The _payload member referenced in the exception is a simple String | |
ObjectDB 2.3.4 Added OSGi support. Added support of MEMBER OF for inverse (mapped by) collections. Changed logging of incomplete recovery records from WARNING to TRACE ( issue #565 ). Changed main configuration elements from required to optional. Fixed the "Negative snapshot user count" bug ( issue #556 |