-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch size optimization can be applied by `ListingConfig.ORG_HIBERNAT… #15
Conversation
…E_FETCHSIZE`, witch will add `typedQuery.setHint("org.hibernate.fetchSize", ListingConfig.ORG_HIBERNATE_FETCHSIZE);` to the query if set.
CHANGELOG.md
Outdated
@@ -14,6 +14,7 @@ | |||
|
|||
* Visual table summary? Want to know what's the most of something? No problem! You can acquire terms and statistics by just throwing attribute names into filter! Have a look at *Visual Table Summary* in this [UX Collective article](https://uxdesign.cc/design-better-data-tables-4ecc99d23356). | |||
* TO FUCKING DO! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete me...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
der pull reqeust geht ja nur in den 1.6.0-SNAPSHOT branch, da fehlt noch doku...
* You can also set this globally by adding <code><property name="hibernate.jdbc.fetch_size" value="100"/> </code> to your options in | ||
* <code>persitence.xml</code> | ||
*/ | ||
public static int ORG_HIBERNATE_FETCHSIZE = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ich glaub ich würde hier das Ding einfach nur FETCHSIZE nennen, den unter umständen wechselt die Implementierung drunter. Zum Beispiel via Eclipselink...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hatte ich auch gedacht, aber wieder vergessen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
…E_FETCHSIZE
, witch will add
typedQuery.setHint("org.hibernate.fetchSize", ListingConfig.ORG_HIBERNATE_FETCHSIZE);` to the query if set.