Hi
I'm confused when creating a Hibernate's persistent class.
MySQL's unsigned int value ranges from 0 to 4,294,967,295.
Java's int value ranges from -2,147,483,648 to of 2,147,483,647.
Java's long value ranges from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
Which Java primitive data type (int or long) we should map to the MySQL unsigned int?


Reply With Quote
