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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -