postgresql database, forwarding the data type numeric translation exception varchar

Reference colleague's approach:

 

 The advantage of this approach is that, do not modify the properties of the entity class, such as the entity class attributes into int bigint or long type, all is not required.

Guess you like

Origin www.cnblogs.com/dongyaotou/p/12466733.html