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

jakarta.persistence.criteria.CriteriaBuilder

() Create a disjunction (with zero disjuncts). A disjunction with zero disjuncts is false . Returns ... testing for a false value. Parameters: x - expression to be tested Returns: predicate. Since: Jakarta ... , the predicate will be false . Parameters: elem - element expression collection - expression Returns: is-member

jakarta.persistence.OneToOne

(optional = false ) @JoinColumn(name = "CUSTREC_ID", unique = true, nullable = false , updatable = false ) public CustomerRecord getCustomerRecord() { return customerRecord; } // On CustomerRecord class: @OneToOne(optional = false , mappedBy = "customerRecord") public Customer getCustomer() { return

jakarta.persistence.PersistenceUnitUtil

persistence context is an instance of the given entity class, or false otherwise. This method ... is to be determined entity - entity instance containing the attribute Returns: false if entity's state ... : false if entity's state has not been loaded or if the attribute state has not been loaded, else true

jakarta.persistence.ManyToOne

= false ) @JoinColumn(name = "CUST_ID", nullable = false , updatable = false ) public Customer ... optional (Optional) Whether the association is optional. If set to false then a non-null relationship

jakarta.persistence.EntityTransaction

to the database. Throws: IllegalStateException - if isActive is false . RollbackException - if the commit ... whether the transaction has been marked for rollback. Throws: IllegalStateException - if isActive is false ... back the current resource transaction. Throws: IllegalStateException - if isActive is false . PersistenceException

jakarta.persistence.StoredProcedureQuery

if the first result is a result set, and false if it is an update count or there are no results ... can then be used to test for further results. If execute or hasMoreResults returns false ... result corresponds to a result set, and false if it is an update count or if there are no results

jakarta.persistence.Column

(name = "DESC", nullable = false , length = 512) public String getDescription() { return description ... = false , precision = 12, scale = 2) public BigDecimal getCost() { return cost; } Portable ... entailed by the primary key mapping and to constraints specified at the table level. Default: false

jakarta.persistence.OneToMany

", nullable = false ) public Customer getCustomer() { return customer; } Example 2: One-to-Many association ... : @ManyToOne @JoinColumn(name = "CUST_ID", nullable = false ) public Customer getCustomer() { return customer ... . Default: false Since: Jakarta Persistence (JPA) 2.0 Additional JDK methods inherited from java.lang

jakarta.persistence.PersistenceUtil

whose load state is to be determined entity - entity containing the attribute Returns: false if entity's ... : false if the entity has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyColumn

and to constraints specified at the table level. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean nullable (Optional) Whether the database column is nullable. Default: false Since: Jakarta

jakarta.persistence.MapKeyJoinColumn

. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean nullable (Optional) Whether the foreign key column is nullable. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean insertable

jakarta.persistence.Convert

to a basic type , enabling a converter defined autoApply= false , overriding the use of a converter ... : false Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java.lang

jakarta.persistence.Converter

annotation explicitly specifies a different converter . If autoApply = false , the converter applies ... type. Default: false Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java

jakarta.persistence.EntityManager

, except for getProperties , getTransaction , and isOpen (which returns false ). If this method is called when the entity ... . Returns false if the entity manager is not joined to the current transaction or if no transaction

jakarta.persistence.SharedCacheMode

_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: Jakarta Persistence (JPA) 1.0 ENABLE

jakarta.persistence.SharedCacheMode.DISABLE_SELECTIVE

Jakarta Persistence (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: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Index

(Optional) Whether the index is unique. Default: false Since: Jakarta Persistence (JPA) 1.0 String

jakarta.persistence.JoinColumn

key. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean nullable (Optional

jakarta.persistence.NamedEntityGraph

can still be fully specified by an attribute node referencing a subgraph. Default: false Since: Jakarta

jakarta.persistence.EntityManagerFactory

, which will return false . Once an EntityManagerFactory has been closed, all its entity managers are considered

jakarta.persistence.criteria.Subquery

to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified

jakarta.persistence.metamodel.IdentifiableType

attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns

jakarta.persistence.metamodel.EntityType

false for an idclass. Inherited from IdentifiableType Returns: boolean indicating

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

jakarta.persistence.criteria.CriteriaQuery

query results are eliminated. A true value will cause duplicates to be eliminated. A false value

jakarta.persistence.AttributeConverter

which is declared autoApply= false , to explicitly disable conversion , or to resolve ambiguities

jakarta.persistence.Cache

Jakarta Persistence (JPA) Interface jakarta.persistence.Cache Interface used to interact with the second-level cache. If no second-level cache is in use, the methods of this interface have no effect, except for contains , which returns false . Since: Jakarta Persistence (JPA) 2.0 The Shared (L2

jakarta.persistence.Cacheable

; it can be overridden by specifying Cacheable on a subclass. Cacheable( false ) means that the entity

jakarta.persistence.PersistenceUnitUtil.isLoaded(Object)

whose load state is to be determined Returns: false if the entity has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.isLoaded(Object,String)

Returns: false if entity's state has not been loaded or if the attribute state has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.isLoaded(E,Attribute)

whose load state is to be determined entity - entity instance containing the attribute Returns: false

jakarta.persistence.criteria.AbstractQuery.distinct(boolean)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery 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