Nope, scratch that...
I did it, it was a problem of locating configuration files correctly.
Now... I swear I saw the
JBoss console telling me named queries were getting bounded. All of the sudden, it creates the tables and doesn't bind any named queries, I have to put them manually on the hbm.xml file but it is so much better to have them on their respectively entity-class java file, don't you think?
How do I do that again? I remember that when I managed to bind those named queries at the same time it created the tables, I had this exception telling me it couldn't resolve type java.util.Collection in a @ManyToOne annotation.