/** * @param quoteAllFields * true if all fields in DB should be quoted. */ public void setQuoteAllFields( boolean quoteAllFields ) { databaseInterface.setQuoteAllFields( quoteAllFields ); }
@Override public void setQuoteAllFields( boolean quoteAllFields ) { if ( databaseDialect != null ) { databaseDialect.setQuoteAllFields( quoteAllFields ); } super.setQuoteAllFields( quoteAllFields ); }
private DatabaseMeta getDatabaseMeta( IDatabaseConnection connection ) throws ConnectionServiceException { if ( this.connectionServiceImpl == null ) { return this.databaseMeta; } // DatabaseConnection objects may be de-serialized from the client and missing extra parameters and attributes. // Resolve the connection by name through ConnectionService before use. // All public methods should use getDatabaseMeta to guarantee accurate connection info. // NOTE: We want to retrieve the connection again later, so we don't want an unsanitized name here connection = connectionServiceImpl.getConnectionByName( connection.getName(), false ); connection .setPassword( ConnectionServiceHelper.getConnectionPassword( connection.getName(), connection.getPassword() ) ); DatabaseMeta dbmeta = DatabaseUtil.convertToDatabaseMeta( connection ); dbmeta.getDatabaseInterface().setQuoteAllFields( true ); //This line probably shouldn't be here. It overrides the "Quote all in Database" checkbox return dbmeta; }