Home > Back-end >  Build table mysql8.0 using hibernate, unable to specify the database problems
Build table mysql8.0 using hibernate, unable to specify the database problems

Time:11-21

I am spring3.1.1 framework, hibernate4.0 mysql8.0, framework, mysql upgrade from 5.0 to 8.0, after building table and found a strange problem, hibernate build table, query a database of all the table exists, I configure a JDBC url. The generate=JDBC \ : mysql \ ://192.168.1.14 \ : 3306/qttest? CharacterEncoding=utf-8 & amp; UseSSL=false& ServerTimezone=GMT % 2 b8, but build table, prompt another database qt1test, prompt table already exists, unable to create table in the qttest, or how to solve this problem is to upgrade framework, two databases table name, the same will appear this problem, please give advice or comments?

CodePudding user response:

You build unit name and database name can
For example: db1. Table1, db2. Table1
  • Related