It should run properly as soon as your process is persisted to a data base that is running regardless of your tests being executed or not. I mean that you have db server started as regular server and not in memory.
Could you post your hibernate config file?