The embedded SQL statement casts the manager names in the unit table into an XML type (in this case into an XML string), and feeds them into the XQuery.
嵌入式sql语句将unit表中的主管姓名强制转换为xml类型(本例中为xml字符串),然后将其提供给XQuery。
Here, split is a method that processes an input string (of the type string) that contains a specified delimiter character (in this case a comma) and returns a list of strings.
这里的split方法处理包含指定分隔字符(在这里是逗号)的输入字符串(字符串类型),返回字符串的列表。
The exception is thrown by the explicit cast because the test case is trying to convert something of type String to an Integer.
这个异常是由显式类型转换抛出的,因为测试用例试图把类型为 String 的东西转换成 Integer。
应用推荐