As the exception says, MYSql server returned an error with the message "Table 'mydb.temp' doesn't exist". This probably means you are trying to insert a record into a table named temp which doesn;t exist. Do you have any entity mapped to temp table?
Snce you have turn hibernate.show_sql on, can you see when it;s trying to insert into temp?
This is awkward. I've grown a second evil head. I'm going to need a machete and a tiny ad ...
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps