I need my database to see if a 'table' exists so i know if anything has been stored there or not. As if not i can assume it is a new instalition and run the set up process, and if it is then they get to carry on as normal.
However if i try to select something from a non existant table i get an error
Code:
Exception in thread "AWT-EventQueue-0" org.hibernate.hql.ast.QuerySyntaxException: Users is not mapped [from Users]
What is the correct method of testing if a table exists so i know if there are any users there or not.
Thank you.