Groups
Groups
Sign in
Groups
Groups
Ebean ORM
Conversations
About
Send feedback
Help
Use CTW in Ebean ORM
57 views
Skip to first unread message
danu...@gmail.com
unread,
Aug 7, 2025, 11:55:22 PM
Aug 7
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 Ebean ORM
Hi Guys,
I just wanna ask, is it possible to use CTE in Raw SQL Query in Ebean ORM?
I've tried with find() and RawSqlBuilder, but there is an error "Query must be start with select".
Any other way?
Regards,
Argi
Rob Bygrave
unread,
Aug 7, 2025, 11:58:23 PM
Aug 7
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 Ebean ORM
RawSqlBuilder has the
unparsed()
option so you could use that instead of parse().
Alternatively, use
findNative()
... which does automatic mapping of columns using jdbc meta data.
Refer to:
https://ebean.io/docs/query/findNative
Cheers, Rob.
Reply all
Reply to author
Forward
0 new messages