| |

VerySource

 Forgot password?
 Register
Search
View: 704|Reply: 3

How to implement such a SQL statement with hql

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-16 23:30:02
| Show all posts |Read mode
select * from (select my_table. *, rownum as my_rownum from (selete * from ZsysDept) my_table where rownum <16) where my_rownum> = 1
Reply

Use magic Report

0

Threads

39

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 China

Post time: 2020-4-20 15:45:01
| Show all posts
The standard paging program in Hibernate.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-4-29 10:45:01
| Show all posts
If you want to paginate Oracle, hibernate has encapsulated the function
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-7-7 13:30:01
| Show all posts
If multi-table join paging, can standard paging in hibernate be implemented? , The standard paging in hibernate seems to have a problem, and the content of the first page and the second page is somewhat duplicated
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list