Home » Search

About null

1-10 of 200Refresh
Manual
84

Comparison in JPQL and Criteria API

, there is also a difference in the way that NULL values are handled by these operators. Comparing NULL values The following table shows how NULL values are handled by each comparison operator. One column presents comparison of NULL value with a non NULL value. The other column presents comparison of two NULL
Manual
81

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
Manual
70

Literals in JPQL and Criteria Queries

including NULL, boolean literals (TRUE and FALSE), numeric literals (e.g. 100), string literals (e.g ... and never replaced. The NULL literal The NULL literal represents a null value, similarly to null in Java and SQL. Since JPQL is case insensitive, NULL, null and Null are equivalent. Notice
Manual
58

Paths and Types in JPQL and Criteria API

through a NULL value The following query retrieves country names with their capital city names: SELECT ... is evaluated to NULL and c.capital.name is an attempt to navigate from a NULL value. In Java, a NullPointerException is thrown on any attempt to access a field or a method via a null reference. In
JDO Doc
56

Constants.OPTION_NULL_COLLECTION

Static Field javax.jdo.Constants String OPTION_NULL_COLLECTION "javax.jdo.option.NullCollection" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
JDO Doc
56

ForeignKeyAction.NULL

Enum Constant javax.jdo.annotations.ForeignKeyAction NULL Since: JDO 2.1
Forum
26

Null enums and IS (NOT) NULL: NullPointerException

Hello. I'm getting NullPointerException when adding %enum field% IS (NOT) NULL or == (!=) NULL in ... .exampleEnum IS NULL"); entities = query.getResultList(); } public void method ... > entities) { this.entities = entities; } } Thank you for this report. Comparing enum values to NULL was fixed in build 2.5.5_03. Vladiator
Issue
20

com.objectdb.o.InternalException: null

PersistableObject {     @OneToOne(mappedBy = "spouse")     private Customer spouse = null;     private Date dateOfBirth = null;     private String firstName = null;     private String lastName = null;     private String personalNumber = null;     private String street = null;     private String
Issue
20

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

via a querying @EJB gives many fields null (and not even empty, I mean truly null). In the following ... @OneToOne relationship fields that likewise become null: private List ownedElements ... []: Created: com.greensoft.entity.test.TestDeepValues [null](TEST: test deep values) INFO: RequestBean
Issue
20

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null:

.ArrayIndexOutOfBoundsException: null java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native ... (InstantiationException ex) { logger.log(Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { logger.log(Level.SEVERE, null, ex); } catch