When BasicType is already registered for JdbcType and Java class (more precisely Java type) pair, @JavaType annotazion will have no effect, and previously registered BasicType will be used.