You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jinq
Is there any methods i can use in lambdas that will map to a sql CAST?
We need to compare a string "123" to a number 123.
If there is any other way to do this than sql cast then that could work aswell.
Jinq
unread,
Feb 20, 2019, 11:50:21 AM2/20/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jinq
I don't think so. Jinq relies on JPA's JPQL for its queries, but JPQL's (and particularly Hibernate's) handling of types is pretty shaky, so they don't have proper support for casting. You would have to drop down to native queries for something like that.