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

后端 未结 10 2905
执念已碎
执念已碎 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:23

    Another situation may be occurred except whatever dear RichB has been stated. in ORACLE every user has separate schema , Therefore probably there is tow tables with the same name in two different schemes then you should specify your default schema in persistence.xml with below property

    
    

提交回复
热议问题