I am trying to create java class with annotations for a selected few tables from our database . I can see tutorials for creating mapping with hbm files but not annotations .
In the exported tab i selected the EJB annoation and its creating java file, a java home file and an id file . The id file has all the getter and setters . am i doing anyhting wrong here ?
Also if I need to generate file only for a specific table , can I do that using hibernate tools ?