Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
7 subscribers
Views
1583 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I have a schema that includes one elements marked with "@Transient". T
jasmins
over 8 years ago
I have a schema that includes one elements marked with "@Transient". The corresponding datastore validates it. I create a query rule that works without problems. However when I use it with a query entity rule (with no fields selected - selecting all) I get the error:"There was an error testing the rule:Expression evaluation error at function a!queryEntity: An error occurred while retrieving the data.
"For the record here's my query entity rule:
a!queryEntity(
entity:cons!<entity pointer>,
query:a!query(pagingInfo:a!pagingInfo(startIndex: 1,batchSize: - 1)))
OriginalPostID-181974
OriginalPostID-181974
Discussion posts and replies are publicly visible
Top Replies
jasmins
over 8 years ago
+1
Thanks Sean for reply,Issue got resolved. query entity giving me error on selection of all columns from datastore it means ,it is taking that column also which is defined as transient using JPA annotation…
Parents
0
jasmins
over 8 years ago
Thanks Sean for reply,Issue got resolved.
query entity giving me error on selection of all columns from datastore it means ,it is taking that column also which is defined as transient using JPA annotation and not present in database table,so i am taking only selected column which I want.
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
jasmins
over 8 years ago
Thanks Sean for reply,Issue got resolved.
query entity giving me error on selection of all columns from datastore it means ,it is taking that column also which is defined as transient using JPA annotation and not present in database table,so i am taking only selected column which I want.
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data