When I set the scrollability attribute after execute, it does not have any effect on the scrollability of the RowSet. Why?
A bean’s properties can be classified as: • • Object creation properties should be set before the creation of the object since, they are the key properties for creating the object. The runtime properties can be set at anytime and they alter the behavior of the bean at runtime.Scrollability, user name, password are all object creation propertes. Auto-commit status, prefetch count et al, are all runtime properties. Typically the background object comes to life during execute/setCommand so all Statement creation attributes should be set before that. Since, a connetion object is required for creating a Statement URL, username, Password et al required for creating a should be set before setting the Command.
Related Questions
- I got the message "Runtime error ‘13’" when I tried to execute Step 6 of the Survey Schedule Generator for Visitor Centers. How do I fix this problem?
- When I set the scrollability attribute after execute, it does not have any effect on the scrollability of the RowSet. Why?
- What if a stock does not execute during the full week (Monday - Friday)?