My problem is solved. I had missed @ID annotation from Entity. Now it works with String datatype also. But in any case a primary key is mandatory in view. Now am just ignoring it.
Thanks Himadri -- View this message in context: http://openjpa.208410.n2.nabble.com/getResultList-returns-same-record-at-every-index-with-Database-view-tp5277490p5281861.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
