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.
Returns:
the data source login time limit
Throws:
-
SQLException - if a database access error occurs.
Since:
1.4
See Also:
CommonDataSource.setLoginTimeout(int)
,