我们可以使用参数绑定来绑定方法参数,返回类型和异常,以及我们希望的目标。
We can use argument binding to bind method parameters, return types and exceptions as well as targets if we wish.
务必知道,服务接口的方法参数、返回类型和异常必须符合JAX - WS和EJB规范。
It is important to know that the service interface's method arguments, return types, and exceptions must conform to JAX-WS and EJB specifications.
当带一个值类型调用UniqueResult()和查询返回null时抛出更有意义的异常
Throws a more meaningful exception when calling UniqueResult() with a value type and the query returns null.
应用推荐