MySQL UUID has no dash in value

cuba version 6.10
this is mysql, the id type is UUD
this is mssql, the id type also is UUD

the UUID in mysql has no “-”,but in java code,the id has ‘-’ like as in mssql,
so when query,i couldn’t select the id in mysql

1 Like

oh sorry,this is not a bug
but why i query a null result
this is my code, i set the Permission for user,but the query result is null

You can enable detailed SQL logging by turning “eclipselink.sql” on:

Then you can find SQL query generated by ORM with parameter values in the logs and understand why it does not return expected result.