Is Hibernate creating the schema? What does the table look like in the database?
Yes, Hibernate has created the schema.
I switch to MySQL that I know well and it generate both tables: Application and Category.
In the Application table it generate a Tinyblob for the foreign key! The column name is Category. It is not what I expected.