1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

"Not supported for DML operations" with simple UPDATE query

Discussão em 'Outras Linguagens' iniciado por Stack, Fevereiro 1, 2021.

  1. Stack

    Stack Membro Participativo

    I'm getting the error Not supported for DML operations when I use the following HQL...

    @Query("UPDATE WorkstationEntity w SET w.lastActivity = :timestamp WHERE w.uuid = :uuid")
    void updateLastActivity(@Param("uuid") String uuid, @Param("timestamp") Timestamp timestamp);


    What could be causing the issue? It doesn't seem to be a common error given the few results I've found in Google.

    Continue reading...

Compartilhe esta Página