diff --git a/loader/src/main/java/org/cilogon/oauth2/servlet/storage/idp/CILSQLIdentityProviderStore.java b/loader/src/main/java/org/cilogon/oauth2/servlet/storage/idp/CILSQLIdentityProviderStore.java index b5afe442..afae1c45 100644 --- a/loader/src/main/java/org/cilogon/oauth2/servlet/storage/idp/CILSQLIdentityProviderStore.java +++ b/loader/src/main/java/org/cilogon/oauth2/servlet/storage/idp/CILSQLIdentityProviderStore.java @@ -125,7 +125,9 @@ public void add(Collection idps) throws CILogonExcep PreparedStatement stmt = c.prepareStatement(getIdpTable().createInsertStatement()); for (IdentityProvider idp : idps) { try { - stmt.setString(1, idp.getIdentifierString()); + for (int i = 1; i <= getIdpTable().getColumnDescriptor().size(); i++) { + stmt.setString(i, idp.getIdentifierString()); // Set everything to the IDP id by default. + } stmt.execute(); } catch (SQLException e) { diff --git a/qdl/buildNumber.properties b/qdl/buildNumber.properties index 31f1ff5a..6497d242 100644 --- a/qdl/buildNumber.properties +++ b/qdl/buildNumber.properties @@ -1,3 +1,3 @@ #maven.buildNumber.plugin properties file -#Mon Jul 17 07:58:06 CDT 2023 -buildNumber\\d*=1213 +#Mon Jul 17 15:05:52 CDT 2023 +buildNumber\\d*=1223 diff --git a/server/buildNumber.properties b/server/buildNumber.properties index 77907308..f8eb215b 100644 --- a/server/buildNumber.properties +++ b/server/buildNumber.properties @@ -1,6 +1,6 @@ #maven.buildNumber.plugin properties file -#Mon Jul 17 07:57:42 CDT 2023 -buildNumber\\d*=2716 +#Mon Jul 17 15:05:52 CDT 2023 +buildNumber\\d*=2723 =\=\=\=\=\=\= >>>>>>>=Stashed changes <<<<<<<=Updated upstream diff --git a/test/buildNumber.properties b/test/buildNumber.properties index 2f0e1333..9b1bd7bf 100644 --- a/test/buildNumber.properties +++ b/test/buildNumber.properties @@ -1,6 +1,6 @@ #maven.buildNumber.plugin properties file -#Mon Jul 17 07:57:46 CDT 2023 -buildNumber\\d*=2609 +#Mon Jul 17 15:05:52 CDT 2023 +buildNumber\\d*=2616 =\=\=\=\=\=\= >>>>>>>=Stashed changes <<<<<<<=Updated upstream