Use #result as optinal directive for only few columns (not all)
---------------------------------------------------------------
Key: CAY-1282
URL: https://issues.apache.org/jira/browse/CAY-1282
Project: Cayenne
Issue Type: Bug
Components: Cayenne Core Library
Affects Versions: 1.2.5, 2.0.5, 3.0
Reporter: Evgeny Ryabitskiy
Fix For: 1.2.5, 2.0.5, 3.0
Here is few queries to show the problem:
SELECT ARTIST_ID, ARTIST_NAME FROM ARTIST
- working properly
SELECT #result('ARTIST_ID' 'java.lang.Integer'), #result('ARTIST_NAME'
'java.lang.String') FROM ARTIST
- also working properly
SELECT ARTIST_ID, #result('ARTIST_NAME' 'java.lang.String') FROM ARTIST
- first column is returned as null!!! Not nice...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.