For example, anchor ID is defined as BIGINT in the DB (Liquibase changelog). BIGINT is 64-bit, corresponding to Long in Java. But the AnchorEntity class has anchor ID type set to Integer. Theoretically this could cause problems given an extremely large number of anchors.
Also YangResourceEntity has ID type Long in Java, but type INTEGER in the DB.
Note: any changes should be reflected in https://wiki.onap.org/display/DW/CPS+Internal+Relation+DB+Schema