In eclipse I configured a database connection and I set up my JPA project to use it. In my entity classes, I get the following error: Schema "ROOT" cannot be resolved for table "XXX"
In the project's JPA settings, there is a check box to "Override default schema from connection" with the schema set to "ROOT" by default. I can not change that because when I check the checkbox, the schema dropdown is empty.
How do I force eclipse to use the correct schema? What is the correct schema name anyway? I only know the database / catalog name.
您可以在JPA属性中为休眠设置默认模式
<prop key="hibernate.default_schema">application_schema</prop>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.