java - Get repeated column values only once through JPA -



java - Get repeated column values only once through JPA -

i wonder if exist way select through jpa in particular jpql table different column values once. illustration have table that

item1 10 item2 30 item1 25 item2 11 item3 56 item3 9

i select item1 item2 , item3. haven't found accomplish in pratical , fast way.

java sql jpa

Comments

Popular posts from this blog

ruby on rails - Devise Logout Error in RoR -

model view controller - MVC Rails Planning -

php - Working with pretty urls on apache and fastcgi after hhvm installation -