nHibernate SchemaUpdate 失败

发布于 2024-07-22 22:51:42 字数 196 浏览 3 评论 0原文

我尝试针对 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

静赏你的温柔 2024-07-29 22:51:42

看来我遇到了一个错误,该错误已根据 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文