search

Home  >  Q&A  >  body text

Unable to insert values ​​into mysql database using spring boo

Hibernate: Insert employee (age, name) values ​​(?,?)

I don't know how to fix it, I tried everything but until I get this error. How to solve this problem, I searched on google, stack overflow but I didn't find the exact solution.

P粉488464731P粉488464731278 days ago589

reply all(1)I'll reply

  • P粉955063662

    P粉9550636622024-03-23 00:37:32

    This is not an error, it is a log telling you that the insert occurred.

    Due to this line in the propertiesspring.jpa.show-sql = true

    If you want to remove it for some reason, just set show-sql to false or delete the line

    reply
    0
  • Cancelreply