Hi.I tried one hibernate example with annotations. I tried to retrieve data from a table. The name of the table is MstEngineDetails. The primary key in the table is EngineCode and also have a column called ID in the same table.But iam using EngineCode as id reference.
I get a warning message as " no persistent classes found for query class: from com.EngineDetails ".Apart from the warning, my list from the data base is zero(println statement).
I will put my code . Please let me if you can find some errors in the code. Thanks in advance.