Error : class_name is not mapped, Hibernate


You may get this error while using Hibernate with Java. There could be multiple reasons why this can happen

  1. You haven't really mapped the class name in config.
  2. The class name ( Entity) is case sensitive, meaning you should specify the entity name as is in the query. Your entity name may differ than table  name in DB, but still you will have to refer to exact case of entity name. 


Comments

Popular posts from this blog

How to flash CWM Recovery to Samsung Galaxy SL( GT-I9003) using Odin

How to boot Samsung Galaxy SL( GT-I9003) in recovery mode

Exception handling with RestTemplate