The meaning of the parameters in java.sql.connection.creatstatement (int resultSetType, int resultSetConcurrency)

xiaoxiao2021-03-06  101

ResultSetType Type_forward_only tells the system to only scroll forward when reading the data.

TYPE_SCROLL_SENSITIVE is reflected in the ResultSet after modification.

TYPE_SCROLL_INSENSITIVE is not reflected in the ResultSet, unless Statement is reopened.

ResultSetConcurrency

Concur_read_only tells the system that will not modify resutlset

Concur_updatable tells the system to modify resutlset

DEFAULT

If you do not add any parameters, the preset is type_forward_only and concur_read_only.

转载请注明原文地址:https://www.9cbs.com/read-97143.html

New Post(0)