public GeneratedKey(String column, String configuredSqlStatement, boolean isIdentity, String type) { super(); this.column = column; this.type = type; this.isIdentity = isIdentity; this.configuredSqlStatement = configuredSqlStatement; DatabaseDialects dialect = DatabaseDialects .getDatabaseDialect(configuredSqlStatement); if (dialect == null) { this.runtimeSqlStatement = configuredSqlStatement; } else { this.runtimeSqlStatement = dialect.getIdentityRetrievalStatement(); } }
/** * */ public GeneratedKey(String column, String configuredSqlStatement, boolean isIdentity, String type) { super(); this.column = column; this.type = type; this.isIdentity = isIdentity; this.configuredSqlStatement = configuredSqlStatement; DatabaseDialects dialect = DatabaseDialects.getDatabaseDialect(configuredSqlStatement); if (dialect == null) { this.runtimeSqlStatement = configuredSqlStatement; } else { this.runtimeSqlStatement = dialect.getIdentityRetrievalStatement(); } }
/** * */ public GeneratedKey(String column, String configuredSqlStatement, boolean isIdentity, String type) { super(); this.column = column; this.type = type; this.isIdentity = isIdentity; this.configuredSqlStatement = configuredSqlStatement; DatabaseDialects dialect = DatabaseDialects .getDatabaseDialect(configuredSqlStatement); if (dialect == null) { this.runtimeSqlStatement = configuredSqlStatement; } else { this.runtimeSqlStatement = dialect.getIdentityRetrievalStatement(); } }
/** * */ public GeneratedKey(String column, String configuredSqlStatement, boolean isIdentity, String type) { super(); this.column = column; this.type = type; this.isIdentity = isIdentity; this.configuredSqlStatement = configuredSqlStatement; DatabaseDialects dialect = DatabaseDialects .getDatabaseDialect(configuredSqlStatement); if (dialect == null) { this.runtimeSqlStatement = configuredSqlStatement; } else { this.runtimeSqlStatement = dialect.getIdentityRetrievalStatement(); } }