Hi,
A SQL TINYINT has 8 bits or 1 byte, so the closest match in the Java world is java.lang.Byte. We chose wrapper types over primitive types for two reasons:
1. They can be NULL
2. They work better with the all-present generics in jOOQ's API
If you're working with int variables in your user code, you will have to turn them into java.lang.Byte manually, through casting and (auto-)boxing.
If you prefer to work with java.lang.Integer instead (deferring the risk of overflow to the database), you can rewrite data types in the code generator:
Cheers
Lukas