diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/StatementUtil.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/StatementUtil.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/StatementUtil.java b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/StatementUtil.java index faaf68f5fe3..ae34da7ffb8 100644 --- a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/StatementUtil.java +++ b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/StatementUtil.java @@ -91,13 +91,13 @@ public class StatementUtil { int length = ((String) dataValue).length(); if (length > 4000) { throw new OseeDataStoreException( - "SQL data value length must be <= 4000 not " + length + "\nValue: " + dataValue); + "SQL data value length must be <= 4000 not " + length + "\nValue: " + dataValue); } } if (dataValue == null) { throw new OseeDataStoreException( - "instead of passing null for an query parameter, pass the corresponding SQL3DataType"); + "instead of passing null for an query parameter, pass the corresponding SQL3DataType"); } else if (dataValue instanceof SQL3DataType) { int dataTypeNumber = ((SQL3DataType) dataValue).getSQLTypeNumber(); if (dataTypeNumber == java.sql.Types.BLOB) { @@ -109,7 +109,7 @@ public class StatementUtil { } } else if (dataValue instanceof ByteArrayInputStream) { preparedStatement.setBinaryStream(preparedIndex, (ByteArrayInputStream) dataValue, - ((ByteArrayInputStream) dataValue).available()); + ((ByteArrayInputStream) dataValue).available()); } else { preparedStatement.setObject(preparedIndex, dataValue); } |