简体   繁体   English

如何从休眠状态的MS SQL Server中获取引发错误异常

[英]How to get raiseerror exception from MS SQL Server in hibernate

We have Stored procedures, from which client is throwing raiseErrors which we have to get using hibernate. 我们有存储过程,客户端从该过程中引发了我们必须使用休眠模式引发的raiseErrors。 Is there any way to get those warnings from sql using hibernate?Thanks in advance. 有什么办法可以使用hibernate从sql中获得这些警告吗?

可能的动作是使用可为您提供json或soap的Web服务,并且您可以使用Spring Hibernate进行集成。RESTfulWeb服务是实现此目的的简便方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM