way to fetch column from mysql in Hibernate, Spring mvc web application -
//this query can used list of paymentattribute whicch payment details not null @query("select p.paymentdetailname paymentattribute p p.entityid=?1 , p.entitytype=?2 , p.paymentdetailname not null") list<string> getnonnullpaymenydetaisname(string entityid,string entitytype);
my paymentattribute table contains column entityid, entitytype,paymentdetailsname etc. want fetch paymentdetail column per query stated above . getting error. there way in spring-mvc web applications , via can fetch column rather complete tuples. above code part of repository.
Comments
Post a Comment