You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by GitBox <gi...@apache.org> on 2020/04/05 10:27:48 UTC

[GitHub] [cayenne] lbane opened a new pull request #417: No methods for queries with qualifier parameters generated

lbane opened a new pull request #417: No methods for queries with qualifier parameters generated
URL: https://github.com/apache/cayenne/pull/417
 
 
   Cgen should generate a `perform`-method for queries with qualifiers (e.g. `username = $ausername`) stored in the datamap, but there is no method generated. Queries without qualifiers get such a method.
   
   If the alias map for `Entity.lastPathComponent(Expression, Map)` is null then an exception is thrown later in the constructor of `org.apache.cayenne.map.PathComponentIterator` at the line 
   
   ```
   this.aliasMap = Objects.requireNonNull(aliasMap)
   ```
   
   This means the qualifier is seen as invalid and therefore no `perform`-method is generated.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cayenne] asfgit merged pull request #417: No methods for queries with qualifier parameters generated

Posted by GitBox <gi...@apache.org>.
asfgit merged pull request #417: No methods for queries with qualifier parameters generated
URL: https://github.com/apache/cayenne/pull/417
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cayenne] stariy95 commented on issue #417: No methods for queries with qualifier parameters generated

Posted by GitBox <gi...@apache.org>.
stariy95 commented on issue #417: No methods for queries with qualifier parameters generated
URL: https://github.com/apache/cayenne/pull/417#issuecomment-609907061
 
 
   Thanks for your pull request!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services