Hi,
With revision 4028 the system property h2.allowBigDecimalExtensions has
been removed without providing any alternative for BigDecimal subclasses.
Can you merge the following patch:
Index: h2/src/main/org/h2/value/ValueDecimal.java
===================================================================
--- h2/src/main/org/h2/value/ValueDecimal.java (revision 5837)
+++ h2/src/main/org/h2/value/ValueDecimal.java (working copy)
@@ -57,9 +57,6 @@
private ValueDecimal(BigDecimal value) {
if (value == null) {
throw new IllegalArgumentException();
- } else if (!value.getClass().equals(BigDecimal.class)) {
- throw DbException.get(ErrorCode.INVALID_CLASS_2,
- BigDecimal.class.getName(), value.getClass().getName
());
}
this.value = value;
}
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.