add start-up bean to fix uint16 bit-size
remove erroneous bitsize update
use HQL instead of SQL
Merge pull request #2315 from mtbc/trac-12183-uint16-bitsize

fix #12183: correct erroneous bitsize