To_chars in JPA

后端 未结 0 522
面向向阳花
面向向阳花 2021-01-08 01:05

I have native query added in JPA and want to format the date as yyyy-MM-dd

        select to_char(date,\'yyyy-MM-dd\') from table1 where date > sysdate;


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题