阅读背景:

如何在项目中使用Hibernate定义序列,以及项目与Oracle和Mysql一起使用的方式。

来源:互联网 

We have a java project that uses Hibernate as the OR Mapper. We need the project to work with both Oracle and Mysql. because some customers don't want to install Oracle. we have added @sequenceGenerator annotation on entities to have sequence. but the project can not connect to Mysql DBMS with these annotations. Is there any way that we can have sequences in both mysql and Oracle mode, without any changes?We have a java project that uses Hibernate as t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: