I am new to Hibernate. While creating a small app using it I got following exception:
Exception in thread \"main\" java.lang.IllegalArgumentException: Unknown entit
How do you map your entities to the db tables? You can try using @Table(name="???") annotation with @Entity for this purpose, while ??? indicates the table name in the database for this entity.