JBoss List Archives
Sign In
Sign Up
Sign In
Sign Up
Manage this list
2025
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
List overview
Download
hibernate-issues
October 2022
----- 2025 -----
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
hibernate-issues@lists.jboss.org
1 participants
833 discussions
Start a n
N
ew thread
[JIRA] (HSEARCH-4678) select nextval ('hsearch_outbox_event_generator ') performs very slowly on CockroachDB,why not use UUID
by Yasin Koyuncu (JIRA)
Yasin Koyuncu (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3...
) *commented* on HSEARCH-4678 (
https://hibernate.atlassian.net/browse/HSEARCH-4678?atlOrigin=eyJpIjoiMzA...
) Re: select nextval ('hsearch_outbox_event_generator ') performs very slowly on CockroachDB,why not use UUID (
https://hibernate.atlassian.net/browse/HSEARCH-4678?atlOrigin=eyJpIjoiMzA...
) Yes, I already saw those configurations, however it is limited and does not allow me to change this sequence configuration. But maybe this solution using UUID s could be the solution without polluting configuration options. (
https://hibernate.atlassian.net/browse/HSEARCH-4678#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4678#add-comment?atlOrigin...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
2 years, 3 months
1
0
0
/
0
[JIRA] (HSEARCH-4678) select nextval ('hsearch_outbox_event_generator ') performs very slowly on CockroachDB,why not use UUID
by Yoann Rodière (JIRA)
Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-4678 (
https://hibernate.atlassian.net/browse/HSEARCH-4678?atlOrigin=eyJpIjoiNWF...
) Re: select nextval ('hsearch_outbox_event_generator ') performs very slowly on CockroachDB,why not use UUID (
https://hibernate.atlassian.net/browse/HSEARCH-4678?atlOrigin=eyJpIjoiNWF...
) > > > > we can use the jpa annotations > > That’s not an option, as Hibernate Search needs to be able to add that entity to the Hibernate ORM mapping conditionally depending on settings. Believe me, we’re not using XML mapping because we like it 😑 It’s just the only solution for dynamic mapping (yes, it’s dynamic). Also, I don’t really want to expose these entity types as API, because that will get in the way of future evolutions. There’s a middle ground to be found between flexibility for Hibernate Search users and flexibility for Hibernate Search developers. You can already change the XML mapping yourself if you want, through configuration properties. Though that’s completely unsupported and could break at any time: see org.hibernate.search.mapper.orm.coordination.outboxpolling.cfg.spi.HibernateOrmMapperOutboxPollingSpiSettings#OUTBOXEVENT_ENTITY_MAPPING. (
https://hibernate.atlassian.net/browse/HSEARCH-4678#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4678#add-comment?atlOrigin...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
2 years, 3 months
1
0
0
/
0
[JIRA] (HSEARCH-4678) select nextval ('hsearch_outbox_event_generator ') performs very slowly on CockroachDB,why not use UUID
by Yasin Koyuncu (JIRA)
Yasin Koyuncu (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3...
) *commented* on HSEARCH-4678 (
https://hibernate.atlassian.net/browse/HSEARCH-4678?atlOrigin=eyJpIjoiNGU...
) Re: select nextval ('hsearch_outbox_event_generator ') performs very slowly on CockroachDB,why not use UUID (
https://hibernate.atlassian.net/browse/HSEARCH-4678?atlOrigin=eyJpIjoiNGU...
) I think maybe instead of using this hardcoded entity mapping, we can use the jpa annotations on the entity and if someone wants to override them they can use xml configuration for it for their own needs? (
https://hibernate.atlassian.net/browse/HSEARCH-4678#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4678#add-comment?atlOrigin...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
2 years, 3 months
1
0
0
/
0
[JIRA] (HHH-15598) Remove unused legacy SPIs: InstrumentedClassLoader, ByteCodeHelper
by Sanne Grinovero (JIRA)
Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-15598 (
https://hibernate.atlassian.net/browse/HHH-15598?atlOrigin=eyJpIjoiZmFlMj...
) Re: Remove unused legacy SPIs: InstrumentedClassLoader, ByteCodeHelper (
https://hibernate.atlassian.net/browse/HHH-15598?atlOrigin=eyJpIjoiZmFlMj...
) Sent a draft:
https://github.com/hibernate/hibernate-orm/pull/5406
(
https://github.com/hibernate/hibernate-orm/pull/5406
) (
https://hibernate.atlassian.net/browse/HHH-15598#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15598#add-comment?atlOrigin=ey...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
2 years, 3 months
1
0
0
/
0
[JIRA] (HSEARCH-4716) JDBC Batch performance affected by outbox event sequence generator
by Yoann Rodière (JIRA)
Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNmU4NWEx...
) / Improvement (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiNmU...
) HSEARCH-4716 (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiNmU...
) JDBC Batch performance affected by outbox event sequence generator (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiNmU...
) Change By: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Fix versions: 6.2-backlog (
https://hibernate.atlassian.net/browse/HSEARCH-4716#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4716#add-comment?atlOrigin...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
2 years, 3 months
1
0
0
/
0
[JIRA] (HSEARCH-4716) JDBC Batch performance affected by outbox event sequence generator
by Yoann Rodière (JIRA)
Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-4716 (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiMTQ...
) Re: JDBC Batch performance affected by outbox event sequence generator (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiMTQ...
) Thanks for reporting. This looks like an alternative solution to the same problem as
https://hibernate.atlassian.net/browse/HSEARCH-4678
(
https://hibernate.atlassian.net/browse/HSEARCH-4678
). Maybe you’ll want to chime in there? (
https://hibernate.atlassian.net/browse/HSEARCH-4716#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4716#add-comment?atlOrigin...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
2 years, 3 months
1
0
0
/
0
[JIRA] (HSEARCH-4678) select nextval ('hsearch_outbox_event_generator ') performs very slowly on CockroachDB,why not use UUID
by Yoann Rodière (JIRA)
Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-4678 (
https://hibernate.atlassian.net/browse/HSEARCH-4678?atlOrigin=eyJpIjoiNTU...
) Re: select nextval ('hsearch_outbox_event_generator ') performs very slowly on CockroachDB,why not use UUID (
https://hibernate.atlassian.net/browse/HSEARCH-4678?atlOrigin=eyJpIjoiNTU...
) Someone proposed an alternative solution on
https://hibernate.atlassian.net/browse/HSEARCH-4716
(
https://hibernate.atlassian.net/browse/HSEARCH-4716
). I suppose we could do both (allow UUIDs or sequences with a large increment size), but I’d like to avoid an explosion of the amount of setups in the wild, which would cause us much trouble when testing. So I’d really like to find one solutions that satisfies everyone, if possible… (
https://hibernate.atlassian.net/browse/HSEARCH-4678#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4678#add-comment?atlOrigin...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
2 years, 3 months
1
0
0
/
0
[JIRA] (HHH-15598) Remove unused legacy SPIs: InstrumentedClassLoader, ByteCodeHelper
by Sanne Grinovero (JIRA)
Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMmUzOWRmZWY4...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-15598?atlOrigin=eyJpIjoiMmUzOW...
) HHH-15598 (
https://hibernate.atlassian.net/browse/HHH-15598?atlOrigin=eyJpIjoiMmUzOW...
) Remove unused legacy SPIs: InstrumentedClassLoader, ByteCodeHelper (
https://hibernate.atlassian.net/browse/HHH-15598?atlOrigin=eyJpIjoiMmUzOW...
) Issue Type: Improvement Assignee: Unassigned Created: 12/Oct/2022 01:12 AM Fix Versions: 6.2.0 Priority: Major Reporter: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) The org.hibernate.bytecode.spi.InstrumentedClassLoader is a little utility we don't use ourselves anymore. It's simple enough that anyone needing such a thing could re-implement it themselves so I suggest we remove it. Same for org.hibernate.bytecode.spi.ByteCodeHelper : it has no use within our own runtime code, but it's used by tests - so I'd move it to the testing utilities. Since these are SPIs I’m proposing the change for 6.2, without need for a deprecation cycle. I’ll send a draft to check if this is agreeable. (
https://hibernate.atlassian.net/browse/HHH-15598#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15598#add-comment?atlOrigin=ey...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
2 years, 3 months
1
0
0
/
0
[JIRA] (HSEARCH-4716) JDBC Batch performance affected by outbox event sequence generator
by Yasin Koyuncu (JIRA)
Yasin Koyuncu (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3...
) *updated* an issue Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiODE5MWJk...
) / Improvement (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiODE...
) HSEARCH-4716 (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiODE...
) JDBC Batch performance affected by outbox event sequence generator (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiODE...
) Change By: Yasin Koyuncu (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3...
) Summary: JDBC Batch performance affected by outbox event box sequence generator (
https://hibernate.atlassian.net/browse/HSEARCH-4716#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4716#add-comment?atlOrigin...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
2 years, 3 months
1
0
0
/
0
[JIRA] (HSEARCH-4716) JDBC Batch performance affected by event box sequence generator
by Yasin Koyuncu (JIRA)
Yasin Koyuncu (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3...
) *created* an issue Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNmVlNzE4...
) / Improvement (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiNmV...
) HSEARCH-4716 (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiNmV...
) JDBC Batch performance affected by event box sequence generator (
https://hibernate.atlassian.net/browse/HSEARCH-4716?atlOrigin=eyJpIjoiNmV...
) Issue Type: Improvement Affects Versions: 6.1.6.Final Assignee: Unassigned Components: mapper-orm-coordination-outbox-polling Created: 12/Oct/2022 01:01 AM Priority: Minor Reporter: Yasin Koyuncu (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3...
) We are using jdbc batching and I noticed the bottleneck was these queries which were executed too often: select nextval ('hsearch_outbox_event_generator') Then I’ve looked a bit in the code and found this entity mapping: in org.hibernate.search.mapper.orm.coordination.outboxpolling.event.impl. OutboxPollingOutboxEventAdditionalJaxbMappingProducer public static final String ENTITY_DEFINITION = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<hibernate-mapping>\n" + " <class name=\"" + CLASS_NAME + "\" entity-name=\"" + ENTITY_NAME + "\" table=\"" + TABLE_NAME + "\">\n" + " <id name=\"id\" type=\"long\">\n" + " <generator class=\"org.hibernate.id.enhanced.SequenceStyleGenerator\">\n" + " <param name=\"sequence_name\">" + TABLE_NAME + "_GENERATOR</param>\n" + " <param name=\"table_name\">" + TABLE_NAME + "_GENERATOR</param>\n" + " <param name=\"initial_value\">1</param>\n" + " <param name=\"increment_size\">1</param>\n" + " </generator>\n" + " </id>\n" + " <property name=\"entityName\" type=\"string\" length=\"256\" nullable=\"false\" />\n" + " <property name=\"entityId\" type=\"string\" length=\"256\" nullable=\"false\" />\n" + " <property name=\"entityIdHash\" type=\"integer\" index=\"entityIdHash\" nullable=\"false\" />\n" + " <property name=\"payload\" type=\"materialized_blob\" nullable=\"false\" />\n" + " <property name=\"retries\" type=\"integer\" nullable=\"false\" />\n" + " <property name=\"processAfter\" type=\"Instant\" index=\"processAfter\" nullable=\"true\" />\n" + " <property name=\"status\" index=\"status\" nullable=\"false\">\n" + " <type name=\"org.hibernate.type.EnumType\">\n" + " <param name=\"enumClass\">" + OutboxEvent.Status.class.getName() + "</param>\n" + " </type>\n" + " </property>\n" + " </class>\n" + "</hibernate-mapping>\n"; In order to make less calls we can increase the following value: {{ <param name=\"increment_size\">1</param>\n"}} Is it possible to make this configurable? Thx in advance, Yasin (
https://hibernate.atlassian.net/browse/HSEARCH-4716#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4716#add-comment?atlOrigin...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
2 years, 3 months
1
0
0
/
0
← Newer
1
...
45
46
47
48
49
50
51
...
84
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Results per page:
10
50
100
200