Hi.
Im having the exact same problem. The tables are being generated, and can be accessed and manipulated. Still hibernate claims they dont exist.
I run mysql 8.0.23 on ubuntu 20.04. In my application.yaml, i have set => "hibernate.dialect: org.hibernate.dialect.MySQL8Dialect" under spring jpa properties. The pom has the appropriate dependency for mysql-connector-java 8.0.23.
When running jetty, i get a line stating that mysql8dialect is in fact used:
"2021-04-15 13:58:22.463 [main] INFO org.hibernate.dialect.Dialect [Dialect.java:175] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect"
Still no luck.
When trying to run jetty, i get lots of warnings about classes being in multiple locations. javaee-api-8.0.1.jar seems to always be one of the duplicates.
example: [WARNING] javax.annotation.Generated scanned from multiple locations: jar:file:///home/myusername/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar!/javax/annotation/Generated.class, jar:file:///home/myusername/.m2/repository/javax/javaee-api/8.0.1/javaee-api-8.0.1.jar!/javax/annotation/Generated.class
Could this be related?
Thanks in advance for any help!