private SqlStatements(SqlStatements that) { this.attributes = Collections.synchronizedMap(that.getAttributes()); // already copied this.templateEngine = that.templateEngine; this.sqlParser = that.sqlParser; this.sqlLogger = that.sqlLogger; this.queryTimeout = that.queryTimeout; this.allowUnusedBindings = that.allowUnusedBindings; this.customizers.addAll(that.customizers); }
/** * Returns the attributes applied in this context. * * @return the defined attributes. */ public Map<String, Object> getAttributes() { return getConfig(SqlStatements.class).getAttributes(); }
/** * Returns the attributes applied in this context. * * @return the defined attributes. */ public Map<String, Object> getAttributes() { return getConfig(SqlStatements.class).getAttributes(); }