ObjectDB Database Search

1-50 of 200 results

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 FALSE NULL NULL represents unknown. Therefore, if one operand is NULL and the other operand is FALSE

Lock prevents PersistenceManager.close when retainValues = false

to false .  If retainValues == true, the code proceeds as expected.  I don't understand ... close operation. The  retainValues == false mode affects commit operations but should not

@JoinColumn(nullable=false)

During the evaluation of ObjectDB (We're currently developing with EclipseLink/mysql) I noticed was the following: I marked a @Column as nullable= false Than I tried to save it with the property ... @JoinColumn(name="alarm_group_id", nullable= false ) private AlarmGroup alarmGroup; bugsbunny2003 Marcel Rokers

recovery enabled="false", still creates tablename.odb$ files

recovery enabled="false", still creates tablename.odb$ files

Database Management Settings

is "true" or " false " ) specifies if a recovery file is used. The sync attribute (whose value is "true" or " false " ) specifies if physical writing is required before commit returns. sync= false ... ). The element specifies the recording settings: The enabled attribute (whose value is "true" or " false

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

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

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 ... OF c.languages is TRUE if languages contains 'English' and FALSE if not. 'English' NOT MEMBER OF c ... for the languages  parameter  is a collection that contains 'English' and FALSE if not

Database Schema Evolution

with default values ( 0 , false or null ). Fields in the old schema that do not have matching fields in ... with a default value ( 0 , false or null ). The following type conversions are supported: From any numeric ... boolean ( 0 , null and false are converted to false , any other value is converted to true ). From

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

JPA Entity Fields

{ @Basic ( optional = false ) Integer field1; @OneToOne ( cascade = CascadeType . ALL ) MyEntity field2 ... are allowed by default. Specifying optional= false (as demonstrated for field1 ) causes an exception

FROM clause (JPQL / Criteria API)

_TIMESTAMP,DELETE, DESC, DISTINCT, ELSE, EMPTY, END, ENTRY, ESCAPE, EXISTS, FALSE , FETCH,FROM, GROUP

Index Definition

" is specified (the default is false ). The optional name attribute has no specific role

Shared (L2) Entity Cache

explicitly. For example: @Cacheable ( false ) @Entity public class MyNonCacheableEntityClass extends

Server User List

is "true" or " false " ) specifies if the user is a superuser. A superuser is authorized to manage

SSL Configuration

" false " ) specifies if SSL is used. As shown above, SSL is disabled by default. It could be enabled

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder

with zero disjuncts is false . Return: or predicate Since: JPA 2.0 Predicate equal ( Expression  x ... for a false value. Parameters: x - expression to be tested Return: predicate Since: JPA 2.0 Predicate isMember ... is a member of a collection. If the collection is empty, the predicate will be false . Parameters

InterfaceRef jakarta.persistence.EntityTransaction

changes to the database. Throws: IllegalStateException - if {@link #isActive()} is false ... whether the transaction has been marked for rollback Throws: IllegalStateException - if {@link #isActive()} is false ... - if {@link #isActive()} is false PersistenceException - if an unexpected error condition

InterfaceRef jakarta.persistence.PersistenceUnitUtil

is an instance of the given entity class, or false otherwise. This method may, but is not required to, load ... the attribute attribute - attribute whose load state is to be determined Return: false if entity's ... state is to be determined Return: false if the entity has not been loaded, else true Since: JPA 2.0

InterfaceRef jakarta.persistence.StoredProcedureQuery

, and false if it is an update count or there are no results other than through INOUT and OUT parameters ... . If execute or hasMoreResults returns false , the getUpdateCount method can be called to obtain ... () Return true if the first result corresponds to a result set, and false if it is an update count

InterfaceRef jakarta.persistence.PersistenceUtil

- whose load state is to be determined Return: false if the entity has not been loaded, else true ... attributeName - name of attribute whose load state is to be determined Return: false if entity's state

AnnotationRef jakarta.persistence.MapKeyJoinColumn

default false (Optional) Whether the foreign key column is nullable. Since: JPA 2.0 String options ... that is the value of the map. Since: JPA 2.0 boolean unique default false (Optional) Whether the property

AnnotationRef jakarta.persistence.OneToOne

to false then a non-null relationship must always exist. Since: JPA 1.0 boolean orphanRemoval default false (Optional) Whether to apply the remove operation to entities that have been removed from

AnnotationRef jakarta.persistence.MapKeyColumn

; " _ "; " KEY ". Since: JPA 2.0 boolean nullable default false (Optional) Whether the database column ... that is the value of the map. Since: JPA 2.0 boolean unique default false (Optional) Whether the column

EnumRef jakarta.persistence.SharedCacheMode

( false ) is specified. Entities for which Cacheable( false ) is specified are not cached. Since: JPA 2.0

InterfaceRef jakarta.persistence.EntityManager

the IllegalStateException , except for () , () , and () (which returns false ). If this method is called ... to the current transaction. Returns false if the entity manager is not joined to the current transaction

EnumConstRef jakarta.persistence.SharedCacheMode.DISABLE_SELECTIVE

JPA Enum Constant in jakarta.persistence.SharedCacheMode DISABLE_SELECTIVE Caching is enabled for all entities except those for which Cacheable( false ) is specified. Entities for which Cacheable( false ) is specified are not cached. Since: JPA 2.0

AnnotationRef jakarta.persistence.Converter

for which the Convert annotation explicitly specifies a different plain. If autoApply = false , the converter ... false Specifies whether the annotated converter should be automatically applied to attributes of the target type. Since: JPA 2.1

AnnotationRef jakarta.persistence.Convert

() autoApply= false , overriding the use of a converter defined autoApply=true , or overriding the use ... . Since: JPA 2.1 boolean disableConversion default false Disables an plain or inherited converter

EntityTransaction.rollback() - JPA Method

JPA Method in jakarta.persistence.EntityTransaction void rollback () Roll back the current resource transaction. Throws: IllegalStateException - if {@link #isActive()} is false PersistenceException - if an unexpected error condition is encountered Since: JPA 1.0

EntityTransaction.commit() - JPA Method

JPA Method in jakarta.persistence.EntityTransaction void commit () Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if {@link #isActive()} is false RollbackException - if the commit fails Since: JPA 1.0

InterfaceRef jakarta.persistence.metamodel.MappedSuperclassType

type has a single id attribute. Returns true for a simple id or embedded id; returns false

PersistenceUtil.isLoaded(entity) - JPA Method

: entity - whose load state is to be determined Return: false if the entity has not been loaded, else true Since: JPA 2.0

PersistenceUtil.isLoaded(entity,attributeName) - JPA Method

whose load state is to be determined Return: false if entity's state has not been loaded or

PersistenceUnitUtil.isLoaded(entity) - JPA Method

Return: false if the entity has not been loaded, else true Since: JPA 2.0

PersistenceUnitUtil.isLoaded(entity,attributeName) - JPA Method

: false if entity's state has not been loaded or if the attribute state has not been loaded, else true Since: JPA 2.0

EntityManagerFactory.close() - JPA Method

JPA Method in jakarta.persistence.EntityManagerFactory void close () Close the factory, releasing any resources that it holds. After a factory instance has been closed, all methods invoked on it will throw the IllegalStateException , except for isOpen , which will return false

CriteriaBuilder.or(restrictions) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate or (   List  restrictions ) Create a disjunction of the given restriction predicates. A disjunction of zero predicates is false . Parameters: restrictions - a list of zero or more restriction predicates Return: or predicate Since: JPA 3.2

InterfaceRef jakarta.persistence.EntityManagerFactory

false . Once an EntityManagerFactory has been closed, all its entity managers are considered to be in

AnnotationAttrRef jakarta.persistence.MapKeyJoinColumn.unique

JPA Annotation Attribute in jakarta.persistence.MapKeyJoinColumn boolean unique default false (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. Since: JPA 2.0

AnnotationAttrRef jakarta.persistence.MapKeyJoinColumn.nullable

JPA Annotation Attribute in jakarta.persistence.MapKeyJoinColumn boolean nullable default false (Optional) Whether the foreign key column is nullable. Since: JPA 2.0

AnnotationAttrRef jakarta.persistence.OneToMany.orphanRemoval

JPA Annotation Attribute in jakarta.persistence.OneToMany boolean orphanRemoval default false (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Since: JPA 2.0

AnnotationAttrRef jakarta.persistence.OneToOne.orphanRemoval

JPA Annotation Attribute in jakarta.persistence.OneToOne boolean orphanRemoval default false (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Since: JPA 2.0

AnnotationAttrRef jakarta.persistence.OneToOne.optional

JPA Annotation Attribute in jakarta.persistence.OneToOne boolean optional default true (Optional) Whether the association is optional. If set to false then a non-null relationship must always exist. Since: JPA 1.0

AnnotationAttrRef jakarta.persistence.MapKeyColumn.nullable

JPA Annotation Attribute in jakarta.persistence.MapKeyColumn boolean nullable default false (Optional) Whether the database column is nullable. Since: JPA 2.0

AnnotationRef jakarta.persistence.OneToMany

boolean orphanRemoval default false (Optional) Whether to apply the remove operation to entities

StoredProcedureQuery.hasMoreResults() - JPA Method

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. Return: true if next result corresponds

Subquery.distinct(distinct) - JPA Method

JPA Method in jakarta.persistence.criteria.Subquery Subquery distinct (   boolean distinct ) Specify whether duplicate query results are eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not

AnnotationAttrRef jakarta.persistence.ManyToOne.optional

JPA Annotation Attribute in jakarta.persistence.ManyToOne boolean optional default true (Optional) Whether the association is optional. If set to false then a non-null relationship must always exist. May be used in schema generation to infer that the mapped foreign key column is not null . Since: JPA 1.0