How to make it so that the table user_roles defines the two columns (userID, roleID) as a composite primary key. should be easy, just can\'t remember/find.
In
Thank you for improving your question ... and taking into account the suggestions.
(Sorry, It is a bit strange that you postfix your entities with Daos, but it is not the point.)
I'm not sure there is any problem left :