get the database cursor 获取数据库游标
To utilize this functionality, you need to refer to the database cursor by name, as shown in Listing 6.
要利用此项功能,您需要按名称引用数据库游标,如清单6所示。
The previous example held the database cursor open between user interactions, preventing other users from accessing database segments that are locked.
在前面的示例中,两个用户交互之间将保持数据库游标打开,从而防止其他用户访问被锁定的数据段。
The EJB 2.x approach enables the flexibility to do performance enhancing tricks like map the get() methods onto a database cursor or stream implementation, reducing the number of transformations.
EJB 2.x 方法允许灵活地进行性能增强,例如将 get() 方法映射到数据库指针或流实现上,以降低转换次数。
应用推荐