ObjectDB Database Search
51-100 of 152 resultsComplex Schema Upgrade not working 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 ). Our new hierarchy looks like that: - The package " member " has been renamed to package | |
jakarta.persistence.PostPersist Elements This is a marker annotation with no members /elements. Additional JDK methods inherited from java | |
jakarta.persistence.PostLoad PostLoad . Annotation Elements This is a marker annotation with no members /elements. Additional JDK methods | |
jakarta.persistence.Id article explains how to use Id . Annotation Elements This is a marker annotation with no members | |
jakarta.persistence.GeneratedValue supplies a default id generator, of a type compatible with the value of the strategy member | |
jakarta.persistence.Lob with no members /elements. Additional JDK methods inherited from java.lang.annotation.Annotation annotationType(), equals(Object), hashCode(), toString() | |
jakarta.persistence.NamedAttributeNode Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedAttributeNode Implemented Interfaces: Annotation A NamedAttributeNode is a member element of a NamedEntityGraph . See Also: NamedEntityGraph NamedSubgraph Since: Jakarta Persistence (JPA) 2.1 Annotation Elements String value | |
jakarta.persistence.MappedSuperclass This is a marker annotation with no members /elements. Additional JDK methods inherited from java.lang.annotation | |
jakarta.persistence.Convert of the map key class. When Convert directly annotates the converted attribute, this member must not | |
jakarta.persistence.Embedded with no members /elements. Additional JDK methods inherited from java.lang.annotation.Annotation annotationType(), equals(Object), hashCode(), toString() | |
jakarta.persistence.Embeddable how to use Embeddable . Annotation Elements This is a marker annotation with no members /elements | |
jakarta.persistence.EmbeddedId how to use EmbeddedId . Annotation Elements This is a marker annotation with no members /elements | |
jakarta.persistence.ExcludeSuperclassListeners . Annotation Elements This is a marker annotation with no members /elements. Additional JDK methods inherited | |
jakarta.persistence.ExcludeDefaultListeners Elements This is a marker annotation with no members /elements. Additional JDK methods inherited from | |
jakarta.persistence.EnumeratedValue (JPA) 3.2 Annotation Elements This is a marker annotation with no members /elements. Additional JDK | |
jakarta.persistence.Version annotation with no members /elements. Additional JDK methods inherited from java.lang.annotation.Annotation annotationType(), equals(Object), hashCode(), toString() | |
jakarta.persistence.Transient Persistence (JPA) 1.0 Annotation Elements This is a marker annotation with no members /elements. Additional | |
jakarta.persistence.PreUpdate PreUpdate . Annotation Elements This is a marker annotation with no members /elements. Additional JDK | |
jakarta.persistence.PostUpdate PostUpdate . Annotation Elements This is a marker annotation with no members /elements. Additional JDK | |
jakarta.persistence.PostRemove PostRemove . Annotation Elements This is a marker annotation with no members /elements. Additional JDK | |
jakarta.persistence.PreRemove PreRemove . Annotation Elements This is a marker annotation with no members /elements. Additional JDK | |
jakarta.persistence.PrePersist with no members /elements. Additional JDK methods inherited from java.lang.annotation.Annotation annotationType(), equals(Object), hashCode(), toString() | |
jakarta.persistence.SequenceGenerator is the defaulted generator name, and its other properties are determined by the members of the package | |
jakarta.persistence.TableGenerator generator name, and its other properties are determined by the members of the package TableGenerator | |
jakarta.persistence.NamedSubgraph Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedSubgraph Implemented Interfaces: Annotation A NamedSubgraph is a member element of a NamedEntityGraph . The NamedSubgraph is only referenced from within its containing NamedEntityGraph and cannot be referenced independently | |
Composite indexes (...) } Here are my questions regarding composite indexes : #1. First of all - the first member in ... , then "room" which has 7-8 unique values etc...) #2. Can I use the same field as secondary member in many @Indexes? Something like that : @Index( members = { "lastModificationDate", "isPublished" }) @Index | |
com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV the exact cause. support Support The mapFormCli filed is a member of a number of composite indices ... ( members ={"mapToCli", "mapFromCli"}), @Index( members ={"mapToCli", "mapFromCli", "callDirection"}), @Index( members ={"startDate", "mapToCli", "mapFromCli"}),   | |
Date field Index is corrupted due to time change; @Index( members ={"startDate", "startTime", "channelNumber"}), @Index( members ={"startDate"}), @Index( members ={"startTime"}), @Index( members ={"startDate", "mapToCli | |
First query takes 4+ minutes to complete class in the DB. The class has data members that are basic Java types. Here is extract of the code ... ({ : // Indices building trees in client applications @Index( members ={"startDate", "toExtension"}), @Index( members ={"startDate", "fromExtension"}) }) public class RecordingMetaData { private Long id;  | |
jakarta.persistence.GeneratedValue.generator.strategy member . Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EnumType.ORDINAL Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.EnumType ORDINAL Persist enumerated type property or field as an integer. The ordinal value of an enum instance with no EnumeratedValue field is the value of its Enum.java.lang.Enum/ordinal() member . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EnumType.STRING Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.EnumType STRING Persist enumerated type property or field as a string. The string value of an enum instance with no EnumeratedValue field is the value of its Enum.java.lang.Enum/name() member . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Convert.attributeName the converted attribute, this member must not be specified. (In this case the path relative | |
jakarta.persistence.criteria.Expression.in(Object...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Expression Predicate in ( Object... values ) Create a predicate to test whether the expression is a member of the argument list. Parameters: values - values to be tested against Returns: predicate testing for membership. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Expression.in(Expression...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Expression Predicate in ( Expression ... values ) Create a predicate to test whether the expression is a member of the argument list. Parameters: values - expressions to be tested against Returns: predicate testing for membership. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Expression.in(Collection) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Expression Predicate in ( Collection values ) Create a predicate to test whether the expression is a member of the collection. Parameters: values - collection of values to be tested against Returns: predicate testing for membership. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Expression.in(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Expression Predicate in ( Expression values ) Create a predicate to test whether the expression is a member of the collection. Parameters: values - expression corresponding to collection to be tested against Returns | |
java.lang.NullPointerException when using ORDER BY is also a Date member like r.startDateTime. prolancer Emil Andonov As I was writing the previous ... the problem if a run a query where the ORDER BY filed is not a member of any index. It just happens that startDateTime is not a member of any index while startDate, callDirection and mapToCli are members | |
Strange behaviour with ORDER BY and IN if we order by a simple member (e.g. a String) being the Entity-ID and, at the same time, filter on this member with a simple IN-clause. Filtering with IN-clause or ordering on another member (which is not ... both are done on the ID member . Assuming this simple Entity class: @Entity public class Location | |
possible index required for improving query performance Hi, I have the following entity class: @Entity @Table @Indices({ @Index( members ={"relationshipType", "party"}), @Index( members ={"relationshipType", "otherParty"}), @Index( members ={"relationshipType ... RelationshipType { PARENT, OWNER, ADMIN, CONTAINS, MEMBER , EMPLOYEE, MANAGER } private BaseObject party | |
"where in" query - and the MEMBER OF operator doesn't seem to do what I want (although I may be using it incorrectly ... is in subqueries). The following code demonstrates how to use MEMBER OF with parameter for this purpose ... ; "SELECT e.name FROM MyEntity e WHERE e.name MEMBER OF :names");   | |
Query over the keySet of a map field with collection parameter " + EntityParent.class.getName() + " e " + "WHERE e.map member of ?1"; TypedQuery q = em.createQuery(query ... .value member of ?1 support Support I know this solution and this would also be also my first solution ... WHERE key member of ?1 Set params = new HashSet ( ) ; params . add ( "c2" ) ; q . setParameter ( 1 , params | |
composite index not used in query we defined a composite index for class Action: @Index(name="ssst", members ={"startDate","state ... the composite index: @Index(name="ssst", members ={"state","subType","type", "startDate"}) or any ... less useful, unless startDate is last. support Support the sequence of the index members is the key, thanks hgzwicker Hans-Georg Zwicker | |
How to apply Unique constraints on embedded fields? A . Something like: @Entity @Unique( members ={"b.c.values"}) @Entity public class A { private B b ... . but my requirement is something like this @Entity @Unique( members = { "b1.c.values", "b2.c.values ... These are my sample classes. @Entity @Unique( members = { "b1.c.values", "b2.c.values" }) public class | |
Error during cascaded merge back. Here are the relevant parts of the involved Entity classes: @Entity @Indices({ @Index( members = {"lastPosition.receiveTime"}), @Index( members = {"lastMovingPosition.receiveTime ... ; return channelConfigurationSets; } ... } @Entity @Index( members | |
JPA query of a Set of terms WHERE si.term MEMBER OF :terms", Page.class); query.setParameter("terms", terms ... = em.createQuery( "SELECT DISTINCT p FROM Page p " + "WHERE :t1 MEMBER OF p.terms AND :t2 MEMBER OF p | |
Query to search for common elements in two separate collections. I'm trying to work out the most efficient way to build a query that can compare two collections for identical members . Something like: SELECT o FROM Object o WHERE o.someCollection CONTAINS MEMBER ... . This is easier and supported by JPA: SELECT o FROM MyClass o JOIN o.someCollection e WHERE e MEMBER | |
Multi part paths in a composite index must have the same length( members ={"tStamp.value", "instrumentId"}) public class OBN implements Serializable{   ... index definition is invalid: @Entity @Index( members ={"lastName", "address.city"}) // INVALID public ... ; @Entity @Index( members ={"tStamp.value", "instrumentId"})   | |
Unexpected query token - AS WHERE ( artifactActivatedGoals MEMBER OF ?1 OR artifactActivatedAssumptions MEMBER OF ?1 OR artifactActivatedCalibrations MEMBER OF ?1 ) AND artifact MEMBER OF instanceEntryArtifactSet.artifacts   | |
Problem using "and" for joined entities and indexed fields({ @Index( members = {"children.name"}), @Index( members = {"children.age"}) })   ... , which is much more efficient for the third query: @Index( members = { "children.name", "children.age" }) (with or |