When I create a table via liquibase I have to use int type. And cannot use long cause it’s not supported:
Which type should I use when I define an entity? Should it be long or int or something else?
- @Id
- private long id;
I’d like to have the same scheme generation script when I invoke liquibase:updateSQL or generate it via hibernate option. But it is not clear to me the mapping issue.