ObjectDB Database Search
1-50 of 200 resultsorphanRemoval = true not working when CascadeType.REMOVE is disabled Dear all, I have entities Employee and Address, their relation is defined (full example in attachment): @Entity public static class Employee { .... @OneToMany(orphanRemoval = true ) private Set | |
Logical Operators in JPQL and Criteria API must be one of: TRUE , FALSE , and NULL . The following table shows how the AND operator is evaluated based on its two operands: TRUE FALSE NULL TRUE TRUE FALSE NULL FALSE FALSE FALSE FALSE NULL NULL ... is NULL and the other operand is either TRUE or NULL , the result is NULL (unknown). ObjectDB supports | |
Database Management Settings is " true " or "false" ) specifies if a recovery file is used. The sync attribute (whose value is " true ... is much faster in writing data to a database, but true might be safer in production. By default, the recovery ... ). The element specifies the recording settings: The enabled attribute (whose value is " true " or "false | |
Collections in JPQL and Criteria Queries IS EMPTY is TRUE if the collection is empty and FALSE otherwise. c.languages IS NOT EMPTY is FALSE if the collection is empty and TRUE otherwise. SIZE The SIZE(collection) function returns the number ... OF c.languages is TRUE if languages contains 'English' and FALSE if not. 'English' NOT MEMBER OF c | |
Literals in JPQL and Criteria Queries including NULL , boolean literals ( TRUE and FALSE ), numeric literals (e.g. 100 ), string literals ... supports two boolean literals - TRUE and FALSE . Since JPQL is case insensitive, TRUE is equivalent to true and True , and FALSE is equivalent to false and False . Numeric Literals JPQL supports | |
Deleting JPA Entity Objects class Employee { : @OneToOne ( orphanRemoval = true ) private Address address; : } When an Employee ... this regard, orphanRemoval= true and cascade=CascadeType.REMOVE are identical, and if orphanRemoval= true is specified, CascadeType.REMOVE is redundant. The difference between the two settings is in | |
Entity Management Settings The element specifies enhancement related settings: The agent attribute (whose value is " true " or "false ... is " true " or "false" ) specifies if lazy loading of entity objects content is enabled. Instantiating ... . The element The serialization attribute of the element (whose value is " true " or "false | |
Comparison in JPQL and Criteria API = NULL NULL = NULL NULL NULL NULL == FALSE TRUE != TRUE FALSE Comparison operators are always evaluated to TRUE , FALSE or NULL . When both operands are not NULL (not shown in the table) the operator is evaluated to either TRUE or FALSE , and in that case, == is equivalent to = and != is equivalent | |
Strings in JPQL and Criteria Queries (usually a parameter or literal). For example: c.name LIKE '_r%' is TRUE for 'Brazil' and FALSE for 'Denmark' c.name LIKE '%' is always TRUE (for any c.name value). c.name NOT LIKE '%' is always FALSE ... ;is evaluated to TRUE . '100' LIKE '%\%' ESCAPE '\' is evaluated to FALSE . In the expressions | |
Index Definition; @Entity public class EntityWithSimpleIndex { @Index String indexedField1; @Index ( unique =" true ") int ... ). @Index represents either an ordinary index with no unique constraint or a unique index if unique=" true ... ( members ={"firstName"}, unique =" true ") }) public class EntityWithCompositeIndex { String | |
SSL Configuration contains the following element: The enabled attribute of the ssl element (whose value is " true " or ... the enabled attribute of the ssl element has to be set to true . Every Keystore / Truststore file | |
SELECT clause (JPQL / Criteria API).class); Root c = q. from (Country.class); q. select (c. get ("currency")). distinct ( true | |
FROM clause (JPQL / Criteria API), SUBSTRING, SUM, THEN,TRAILING, TRIM, TRUE , TYPE, UNKNOWN, UPDATE, UPPER, VALUE, WHEN, WHERE. JPQL | |
WHERE clause (JPQL / Criteria API) evaluates to TRUE are passed to the SELECT clause and then collected as query results. WHERE Predicate | |
Database Schema Evolution boolean ( 0 , null and false are converted to false , any other value is converted to true ). From | |
Shared (L2) Entity Cache explicitly. For example: @Cacheable // or @Cacheable( true ) @Entity public class | |
Server User List is " true " or "false" ) specifies if the user is a superuser. A superuser is authorized to manage | |
NPE using AND TRUE in WHERE clause The following (dynamically generated) query causes an NPE: SELECT e FROM Event e WHERE e.account=:account AND TRUE When I change it to a trivial term which evaluates to true , it works fine: SELECT e FROM Event e WHERE e.account=:account AND 1=1 Here is the stack trace: om.objectdb.o | |
jakarta.persistence.PersistenceUnitUtil , Class entityClass ) Return true if the given entity belonging to the persistence unit and to an open ... has not been loaded or if the attribute state has not been loaded, else true . Since: Jakarta ... : false if entity's state has not been loaded or if the attribute state has not been loaded, else true | |
jakarta.persistence.criteria.CriteriaBuilder ) Create a conjunction of the given restriction predicates. A conjunction of zero predicates is true ... restriction predicates. A conjunction of zero predicates is true . Parameters: restrictions - a list of zero or ... a conjunction (with zero conjuncts). A conjunction with zero conjuncts is true . Returns: and predicate | |
jakarta.persistence.StoredProcedureQuery counts, possibly also in combination with output parameter values). The execute method returns true ... other than through INOUT and OUT parameters, if any. If the execute method returns true , the pending result ... Since: Jakarta Persistence (JPA) 2.1 Public Instance Methods boolean execute () Return true if the first | |
jakarta.persistence.EntityManagerFactory true on the returned instance. Returns: entity manager instance. Throws: IllegalStateException ... . The EntityManager.isOpen method will return true on the returned instance. Parameters: map - properties ... it is invoked. The EntityManager.isOpen method will return true on the returned instance. Parameters | |
jakarta.persistence.Convert defined autoApply= true , or overriding the use of a converter specified by a field or property ... ; ... } Example 2: Auto-apply conversion of a basic attribute @Converter(autoApply = true ) public class ... : Disable conversion in the presence of an autoapply converter @Convert(disableConversion = true | |
jakarta.persistence.JoinColumn) Whether the foreign key column is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean insertable ... provider. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true | |
jakarta.persistence.Column is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean insertable (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default: true ... UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence | |
jakarta.persistence.OrderColumn) Whether the database column is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean insertable ... . Default: true Since: Jakarta Persistence (JPA) 1.0 boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true | |
jakarta.persistence.PersistenceUtil state has not been loaded or if the attribute state has not been loaded, else true . Since: Jakarta ... : false if the entity has not been loaded, else true . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Graph for the attribute with the given name. Parameters: attributeName - name of the attribute Returns: true ... : attribute - attribute Returns: true if there is an existing attribute node. Since: Jakarta Persistence | |
jakarta.persistence.MapKeyColumn statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0 ... the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0 String columnDefinition | |
jakarta.persistence.MapKeyJoinColumn provider. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true | |
jakarta.persistence.Converter type parameter of AttributeConverter . If autoApply = true , the persistence provider ... attribute annotated @Convert(disableConversion= true ) , or to an attribute for which the Convert | |
jakarta.persistence.EntityGraph of the attribute Returns: true if there is an existing attribute node. Throws: IllegalArgumentException ... attribute. Inherited from Graph Parameters: attribute - attribute Returns: true | |
jakarta.persistence.Basic is not null . If not specified, defaults to true . Default: true Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SchemaManager it may ignore the problem and continue. Parameters: createSchemas - if true , attempt to create schemas ... may throw an exception, or it may ignore the problem and continue. Parameters: dropSchemas - if true | |
jakarta.persistence.Subgraph Parameters: attributeName - name of the attribute Returns: true if there is an existing attribute node ... - attribute Returns: true if there is an existing attribute node. Since: Jakarta Persistence (JPA) 3.2 void | |
jakarta.persistence.OneToOne(optional = false) @JoinColumn(name = "CUSTREC_ID", unique = true , nullable = false, updatable ... . Default: true Since: Jakarta Persistence (JPA) 1.0 String mappedBy (Optional) The field that owns | |
jakarta.persistence.StoredProcedureQuery.execute() Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery boolean execute() Return true if the first result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Returns: true if first | |
jakarta.persistence.StoredProcedureQuery.hasMoreResults() Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery boolean hasMoreResults() Return true if the next result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Returns: true | |
jakarta.persistence.Basic.optional . If not specified, defaults to true . Default: true Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.ManyToOne is not null . Default: true Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from | |
jakarta.persistence.EntityTransaction a resource transaction. Throws: IllegalStateException - if isActive is true . Since: Jakarta Persistence | |
jakarta.persistence.EntityManager whether the entity manager is open. Returns: true until the entity manager has been closed. Since: Jakarta | |
jakarta.persistence.criteria.Subquery distinct ) Specify whether duplicate query results are eliminated. A true value will cause duplicates | |
jakarta.persistence.metamodel.IdentifiableType attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns | |
jakarta.persistence.metamodel.EntityType () Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns | |
jakarta.persistence.metamodel.SingularAttribute () Is the attribute an id attribute? This method returns true if the attribute is a simple id , an embedded | |
jakarta.persistence.metamodel.MappedSuperclassType () Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false | |
jakarta.persistence.criteria.AbstractQuery results are eliminated. A true value will cause duplicates to be eliminated. A false value | |
Step 1: Create a Maven Web Project-plugin 6.1.10 10 foo 9999 start-jetty pre-integration-test run 0 true stop-jetty post-integration-test | |
Step 1: Create a Maven Web Project; 0 true   |