on the page http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html , paragraph 2.3.1. Hibernate-provided BasicTypes , JDBC type and Java type of CurrencyType is wrong