Hello.

java.lang.Number is an abstract class in Java that has different 
implementations, such as `BigInteger`, `BigDecimal`, wrappers over 
primitive data types and you can create your own implementations too. So, 
technically, it can hold everything.

This data type is not supported by JDBC. It cannot be supported as a 
number, because it can hold different not really compatible with each other 
objects. Its mapping to a JAVA_OBJECT looks like being perfectly valid.

Note that NUMBER data type from SQL is mapped to a BigDecimal in JDBC 
specification and in H2.

-- 
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 h2-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/a9dcf9cc-bb34-4df9-a975-796702803282%40googlegroups.com.

Reply via email to