nHibernate SchemaUpdate 失败
我尝试针对 Oracle 11g 数据库使用 nHibernate 中的架构更新功能,但它抛出以下异常:“提供的限制比请求的架构(‘表’)支持的限制更多。”
它似乎是 ado.net 例外,但我找不到太多相关信息。 对这个例外的任何见解都会很棒。 如果有帮助,我将使用 System.Data.OracleClient 程序集与 Oracle 对话。
I'm trying to use the schema update feature in nHibernate against an Oracle 11g database and it's throwing the following exception: "More restrictions were provided than the requested schema ('Tables') supports."
It appears to be an ado.net exception, but I can't find much information for it. Any insight towards this exception would be great. If it's helpful, I'm using the System.Data.OracleClient assembly to talk to Oracle.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来我遇到了一个错误,该错误已根据 NH-1480。 我们使用的是与 Fluent NHibernate 一起发布的 2.1 Alpha 1。 针对 2.1 Beta 1 重建 Fluent NHibernate 解决了这个问题。
It appears that I was bumping into an error that has already been fixed according to NH-1480. We were using 2.1 Alpha 1 that was shipping alongside Fluent NHibernate. Rebuilding Fluent NHibernate against 2.1 Beta 1 solved this issue.