Home Select top 1 result using JPA
Reply: 0

Select top 1 result using JPA

user341 Published in March 23, 2018, 7:03 am

I need to bring from DB only one single result. How can I do that with JPA?

Select top 1 * from table

I tried

"select t from table t"



but didn't work. Any other ideas?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.403709 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO