Id do that in a custom repsoitory. You probably need to write own statements, thus loosing some default functionallity like findBy*, but you dont have to worry about your tables outside the repository. Tim