Hi I am receiving the above problem. Here are my configuration files.
Exception name is
"org.hibernate.hql.ast.QuerySyntaxException: <table name> is not mapped" person.hbm.xml Event.hbm.xml Hibernate Configuration File (hibernate.cfg.xml) And here is the code I am using to get the data of Person table
And table structure I am using is
Field Type Collation Null Key
---------- ------------ ----------------- ------ ------
PERSON_ID bigint(20) (NULL) NO PRI
age int(11) (NULL) YES
firstname varchar(255) latin1_swedish_ci YES
lastname varchar(255) latin1_swedish_ci YES
BYTE_DATE blob (NULL) YES
EVENT_DATE datetime (NULL) YES
TITLE varchar(255) latin1_swedish_ci YES
Please let me know if you need some more details.
[ May 19, 2008: Message edited by: Ankur Sharma ]