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...
About Question com.enthuware.ets.scbcd.v5.2.329 :
Moderator: admin
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scbcd.v5.2.329 :
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.
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.
Who is online
Users browsing this forum: No registered users and 86 guests