About Question com.enthuware.ets.scbcd.v5.2.329 :

Moderator: admin

Post Reply
ETS User

About Question com.enthuware.ets.scbcd.v5.2.329 :

Post by ETS User »

Path expressions that contain NULL values during evaluation return NULL values.


Could you give me an example of something like this. I cannot understand this sentence...

admin
Site Admin
Posts: 10065
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scbcd.v5.2.329 :

Post by admin »

For example, while accessing an attribute of Address entity from Customer entity, if address is null, the resulting value will be null.

select a.city from Customer c inner join c.address a where c.id=123

if there is no address associated with the given customer id (i.e. the path c.address is null, the query will return null.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 86 guests