Gets the maximum time in seconds that this data source can wait
while attempting to connect to a database. A value of zero
means that the timeout is the default system timeout
if there is one; otherwise, it means that there is no timeout.
When a DataSource object is created, the login timeout is
initially zero.
SQLException | if a database access error occurs. |
setLoginTimeout
Diagram: DataSource