Internal Website Search

1-10 of 200 resultsRefresh

orphanRemoval = true not working when CascadeType.REMOVE is disabled

= true)         private Set<Address> addresses;

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

Logical Operators in JPQL and Criteria API

>A valid operand of an AND operator must be one of: TRUE, FALSE   TRUE FALSE ... > TRUE TRUE FALSE

Database Management Settings

;recovery enabled="true" sync="false" path="." max="128mb" /> <recording enabled="false" sync="false" path="." mode="write" /> <locking version-check="true" /> <processing cache="64mb" max-threads="10" synchronized="false" />   <index-update enabled="true

Entity Management Settings

;entities> <enhancement agent="true" reflection="warning" /> <cache ref="weak" level2="0mb" /> <fetch hollow="true" /> <persist serialization="false" /> <cascade-persist always="auto" on-persist="false" on-commit="true" /> <dirty-tracking arrays

Collections in JPQL and Criteria Queries

> c.languages IS EMPTY is TRUE if the collection is empty ... if the collection is empty and TRUE otherwise. SIZE The SIZE ... > For example: 'English' MEMBER OF c.languages is TRUE

[ODB1] Chapter 4 - JDO Metadata

, has to be specified. requires-extent (true | false) By default, JDO manages ... -modifier="transactional" /> <field name="f3" default-fetch-group="true" /> <field name="f4" default-fetch-group="false" /> <field name="f5" embedded="true" />

[ODB1] Chapter 5 - JDO Connections

.option.NontransactionalRead", "true"); properties.setProperty( "javax.jdo.option.NontransactionalWrite", "false"); properties.setProperty( "javax.jdo.option.RetainValues", "true ... methods: // Using the setter methods: pmf.setOptimistic(true); pmf

[ODB1] Chapter 6 - Persistent Objects

>true is specified and the object in database is different, the cached object is refreshed ... instances of subclasses should also be included (true indicates that subclasses ... >obj is persistent, i.e. isPersistent(obj) returns true

[ODB1] Chapter 7 - JDOQL Queries

for which the evaluation of the filter expression is true are included in the result ... > boolean true, falsetrue value in that field. Other types of persistent