How to use native sql function with HQL query?

后端 未结 3 2042
星月不相逢
星月不相逢 2021-01-25 09:54

I am trying to execute a query like the following, using HQL, that uses a native SQL function (dbms_lob.getlength):

def results = Attachment.execute         


        
3条回答
  •  半阙折子戏
    2021-01-25 10:35

    You can always use basic java jdbc connection in order to execute query. Create the java code for this and store it in src/java/.

提交回复
热议问题