[hibernate-issues] [JIRA] (HHH-10840) Serializable Session Factory

Sanne Grinovero (JIRA) jira at hibernate.atlassian.net
Mon Jun 8 09:05:38 EDT 2020


Sanne Grinovero ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A99e61e65-956b-4a21-b29c-06057642e9ea ) *commented* on HHH-10840 ( https://hibernate.atlassian.net/browse/HHH-10840?atlOrigin=eyJpIjoiZjNiOGQwYmQxZTk0NDRhNWJmNDY3M2Y5MGQ2YTUwYjYiLCJwIjoiaiJ9 )

Re: Serializable Session Factory ( https://hibernate.atlassian.net/browse/HHH-10840?atlOrigin=eyJpIjoiZjNiOGQwYmQxZTk0NDRhNWJmNDY3M2Y5MGQ2YTUwYjYiLCJwIjoiaiJ9 )

Related discussion:

* https://github.com/hibernate/hibernate-orm/pull/2107

I’d love to know how far bootstrap is still a problem after all optimisations which we’ve done in Hibernate 5.4.x - specifically to improve bootstrap?

Also please checkout Quarkus ( https://quarkus.io/ ) , as we worked closely together to improve bootstrap times - we’re not using Java Serialization but I believe it’s a better approach, as it allows bootstrap in the order of milliseconds when compiled to native image, and it does great in not-native as well.

I’m skeptical that an approach based on serialization would be able to outperform the Quarkus boostrap code - not to mention that it would have some problems, such as needing to verify if the serialized state is matching the current application state.

( https://hibernate.atlassian.net/browse/HHH-10840#add-comment?atlOrigin=eyJpIjoiZjNiOGQwYmQxZTk0NDRhNWJmNDY3M2Y5MGQ2YTUwYjYiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-10840#add-comment?atlOrigin=eyJpIjoiZjNiOGQwYmQxZTk0NDRhNWJmNDY3M2Y5MGQ2YTUwYjYiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100128- sha1:078e4e4 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200608/670e4f8e/attachment.html 


More information about the hibernate-issues mailing list