Issues
- Broken link: https://hibernate.org/Documentation/AutomaticallyTrimmingStringPropertiesGoodForDB2AndOracleWEBSITE-674
- Broken link: https://hibernate.org/hib_docs/reference/en/html/queryhql-aggregation.htmlWEBSITE-673Resolved issue: WEBSITE-673Marko Bekhta
- Broken link: https://hibernate.org/documentation/WEBSITE-672
- Broken link: https://hibernate.org/xsd/hibernate-configuration-5.4.xsdWEBSITE-671
- Broken link: https://hibernate.org/orm/releases/6.6/downloadWEBSITE-670Resolved issue: WEBSITE-670
- Broken link: https://hibernate.org/orm/documentation/4.3/manual/en-US/html_single/WEBSITE-669Resolved issue: WEBSITE-669
- Broken link: https://hibernate.org/orm/documentation/4.3/manual/en-US/html_single/WEBSITE-668Resolved issue: WEBSITE-668
- Broken link: https://hibernate.org/validator/hibernate-validatorWEBSITE-667
- Broken link: https://hibernate.org/orm/releases/%20in%20browseWEBSITE-666Resolved issue: WEBSITE-666
- Broken link: https://hibernate.org/74.html#A12WEBSITE-665Resolved issue: WEBSITE-665
- Broken link: https://hibernate.org/orm/documentation/5.2/%20%20%20http:/java-course.ru/student/book2/hibernate-first/WEBSITE-664Resolved issue: WEBSITE-664
- Broken link: https://hibernate.org/xsd/orm/mapping/mapping-3.1.0.xsdWEBSITE-663
- Contributors search page shows spinning disk (and no contributors)WEBSITE-662Resolved issue: WEBSITE-662Marko Bekhta
- Broken link: https://hibernate.org/orm/downloadWEBSITE-661Resolved issue: WEBSITE-661Yoann Rodière
- ERROR org.hibernate.id.enhanced.TableStructure - could not read a hi valueWEBSITE-660Resolved issue: WEBSITE-660
- Broken link: https://hibernate.org/orm/releases/6.4/%20dowenload%20mediumWEBSITE-659Resolved issue: WEBSITE-659
- 404 error on https://in.relation.to/2005/07/20/multitable-bulk-operations/WEBSITE-658
- Remove accountWEBSITE-657Resolved issue: WEBSITE-657Yoann Rodière
- Remove reply with undesired informationWEBSITE-656Resolved issue: WEBSITE-656Yoann Rodière
- Update Metamodel Generator's dependency section in the Hibernate ORM tooling pageWEBSITE-655Resolved issue: WEBSITE-655Marco Belladelli
- Add Gradle Develocity to the list of infrastructure providersWEBSITE-654Resolved issue: WEBSITE-654Andrea Boriero
- Link to SoftDelete not targetWEBSITE-653Resolved issue: WEBSITE-653Yoann Rodière
- Please remove okkosound@gmail.com from the Hibernate projectWEBSITE-652
- Broken link: https://hibernate.org/hibernate-configuration-5.3.dtdWEBSITE-651Resolved issue: WEBSITE-651Yoann Rodière
- Broken link: https://hibernate.org/documentation/WEBSITE-650Resolved issue: WEBSITE-650Yoann Rodière
- Getting started page is outdatedWEBSITE-649Resolved issue: WEBSITE-649Yoann Rodière
- Broken link: https://hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/transactions.html#transactions-threadsWEBSITE-648Resolved issue: WEBSITE-648Yoann Rodière
- Broken link: https://hibernate.org/documentation/WEBSITE-647
- Broken link: https://hibernate.org/orm/releases/%20in%20browserhttps://hibernate.org/orm/releases/%20in%20browserWEBSITE-646Resolved issue: WEBSITE-646Yoann Rodière
- Broken link: https://hibernate.org/orm/releases/506/WEBSITE-645Resolved issue: WEBSITE-645Yoann Rodière
- Broken link: https://hibernate.org/orm/releases/5.3.7/WEBSITE-644Resolved issue: WEBSITE-644Yoann Rodière
- Broken link: https://hibernate.org/org/dtd/WEBSITE-643Resolved issue: WEBSITE-643Yoann Rodière
- Broken link: https://hibernate.org/downloads.WEBSITE-642Resolved issue: WEBSITE-642Yoann Rodière
- Broken link: https://hibernate.org/training/WEBSITE-641Resolved issue: WEBSITE-641Yoann Rodière
- Broken links to Maven Central and ORM 5.6.6+ ZIPsWEBSITE-640Yoann Rodière
- Broken link: https://hibernate.org/tools/downloads/WEBSITE-639Resolved issue: WEBSITE-639
- Broken link: https://hibernate.org/orm/domain-model/WEBSITE-638Resolved issue: WEBSITE-638Yoann Rodière
- Broken link: https://hibernate.org/downloads.WEBSITE-637
- Broken link: https://hibernate.org/downloads.WEBSITE-636Resolved issue: WEBSITE-636Yoann Rodière
- Broken link: https://hibernate.org/orm/downlodsWEBSITE-635Resolved issue: WEBSITE-635Yoann Rodière
- Broken link: https://hibernate.org/orm/releases/in.browserWEBSITE-634
- Broken link: https://hibernate.org/search/documentation/migrate/4.5WEBSITE-633Resolved issue: WEBSITE-633Yoann Rodière
- Broken link: https://hibernate.org/%E1%BB%8Fm/releases/5.4/WEBSITE-632Resolved issue: WEBSITE-632Yoann Rodière
- Broken link: https://hibernate.org/orm/diwbkiads/WEBSITE-631Resolved issue: WEBSITE-631Yoann Rodière
- Remove a.mazurov@indexatum.com from hibernate JIRAWEBSITE-630Resolved issue: WEBSITE-630Sanne Grinovero
- Broken link: https://hibernate.org/hib_docs/reference/html/components.html#components-s2-4WEBSITE-629Resolved issue: WEBSITE-629Yoann Rodière
- Broken link https://hibernate.org/orm/releases/5.6/WEBSITE-628
- Broken link: https://hibernate.org/73.htmlWEBSITE-627Resolved issue: WEBSITE-627Yoann Rodière
- Broken link: https://hibernate.org/orm/documentation/6.1WEBSITE-626Resolved issue: WEBSITE-626Steve Ebersole
- Broken linkWEBSITE-625
This issue can't be edited
Because it belongs to an archived project. Jira admins can restore projects from the archive.
Offer dialects the possibility to batch operations for a given flush cycle
Description
Environment
Details
Assignee
Guillaume ScheibelGuillaume ScheibelReporter
Emmanuel BernardEmmanuel BernardParticipants
Emmanuel BernardGuillaume ScheibelComponents
Priority
Major
Details
Details
Assignee
Reporter
Participants
Components
Priority
Activity
Emmanuel BernardOctober 10, 2012 at 3:19 PM
Emmanuel BernardOctober 10, 2012 at 1:23 PM
As discussed this morning,
emmanuel you will see how we append the HSearch custom listeners to the configuration 09:35
emmanuel so in OGM's case we will need to replace more than append (and be careful) but that's the idea 09:35
emmanuel basically by using a similar code in OgmIntegrator you can get going 09:36
gscheibel is the order into OgmIntegrator.prepareServices() important ? 09:39
emmanuel gscheibel: no I don't think so 09:43
gscheibel ok (prefer to be sure) 09:43
emmanuel I don't think you need to touch prepareServices though 09:44
emmanuel it seems interate i all youo need 09:44
gscheibel so it's in JTATransactionManagerTransaction 09:46
gscheibel I'll find where I have to start 09:46
gscheibel I don't despair 09:47
emmanuel gscheibel: What do you want to touch in JTATransactionManagerTransaction 09:48
emmanuel ? 09:48
emmanuel As i said yesterday, the batch feature should have nothing to do with transactions 09:48
emmanuel The integration point is OgmIngetrator.integrate 09:48
emmanuel and you need to add a custom Listener for Flush and auto flush operations 09:49
Emmanuel BernardOctober 9, 2012 at 6:27 PM
What I had in mind is pretty clear in my head let me try and clarify it here.
On the dialect API, add two methods prepareBatch(eventsource) and executeBatch(eventSource).
eventsource is more or less a session object but from within Hibernate ORM. You need eventsource to differentiate one batch from a concurrent batch of a different session. Remember that dialects are accessed concurrently
Each Dialect method will also receive the eventsource to properly add the operation to the right batch
prepareBatch and executeBatch should be called before and after onFlush / onAutoFlush
That means that today the Dialect will be responsible for setting operations to the right batch and be thread safe. An alternative design can be to queue change from within Hibernate OGM and then call the dialect with a Set<Operations> but let's do this design in a later phase.
Note that the dialect might return data when updating things and this might limit the batch ability but I have no real visibility just yet. Let's cross fingers.
Emmanuel BernardOctober 9, 2012 at 6:17 PM
Summary of a discussion on IRC
if you look at FlushEventListener, basically you could hook the right calls in there
that's probably the easiest way
you also need to deal with AutoflushEventListener to be complete
Though delegation might not work for auto flushes as you have not checked if flush was really needed.
If the prepare and ask phase of the dialect for an empty workset is very lightweight, that's not a problem and the delegation can still work.
Emmanuel BernardOctober 9, 2012 at 5:47 PM
Right for all data stores.
Note that to support the concurrent stacks (from different sessions), there are two main strategies:
a ThreadLocal
a weak-key based concurrent hashmap (Jason's implementation)
In an ideal world, we would keep the stack of operations per session but today, I don't know a way on ORM to attach arbitrary data to a session.