/**
   * <p>Attempts to establish a connection with the data source that
   * this <code>DataSource</code> object represents.
   *
   * @return  a connection to the data source
   * @exception SQLException if a database access error occurs
   */
  Connection getConnection() throws SQLException;

Von oben verstehe ich dass entweder eine korrekte Verbindung oder ein
SQLException zurückgegeben bzw. geworfen wird.

Am Mittwoch, den 08.11.2006, 12:01 +0100 schrieb Patrick Schulz:
> 
> Wenn <res-auth> auf Application steht, ich aber nur ein simples
> DataSource.getConnection() ohne user und password verwende, wann kommt
> dann der Knall?
> Wenn ich getConnection ohne Parameter aufrufe? Wahrscheinlich nicht,
> sondern eben erst beim ersten Aufruf von Methoden der Connection, die
> eine korrekte Verbindung brauchen...
> 
> 

-- 
----------------------------------------------------------------------------
PUG - Penguin User Group Wiesbaden - http://www.pug.org

Antwort per Email an