More than one table found in namespace (, ) - SchemaExtractionException

后端 未结 10 2938
执念已碎
执念已碎 2021-02-20 18:52

I have been facing this weird exception while trying to persist some values into a table using Hibernate in a Java application. However this exception occurs only for one parti

10条回答
  •  庸人自扰
    2021-02-20 19:09

    Use catalog value with @Table, i.e.:

    @Entity
    @Table(**catalog = "MY_DB_USER"**, name = "LOOKUP")
    public class Lookup implements Serializable {
    
    }
    

    I don't have this error now. Hope this work.

提交回复
热议问题