hibernate mapping verify if an object is mapped
How can I check if an object is mapped or not?
I get an error cause I have an object not mapped in Hibernate
org.hibernate.hql.ast.QuerySyntaxException: Product is not mapped [select
prod from com.neila.Product product
, I wanna test before executing the code if that object is already mapped.
No comments:
Post a Comment