public ConnectionSpec toConnectionSpec ( ) { try { return getDatabaseAPI ( ) . newConnectionSpecInstance ( getConnect ( ) , getUser ( ) , getPasswd ( ) , false ) ; } catch ( InvalidConnectionSpecArguments ex ) { throw new AssertionError ( ex ) ; } }
Gets a connection spec configured with the user password and connection string specified . Connections created from this connection spec will have auto commit turned off .