[hibernate-issues] [JIRA] (HHH-13805) Dialect is not autodetected on Sql Server 2014 with custom INT sequences

Nathan Xu (JIRA) jira at hibernate.atlassian.net
Sun Mar 15 08:46:18 EDT 2020


Nathan Xu ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Af1c90216-c2ff-4df7-8e20-9d0e140d7f64 ) *commented* on HHH-13805 ( https://hibernate.atlassian.net/browse/HHH-13805?atlOrigin=eyJpIjoiYmM2ZDI3MTZlZDU4NDdhZTgwOGE4ZGM0NTQ2MDM4ZjMiLCJwIjoiaiJ9 )

Re: Dialect is not autodetected on Sql Server 2014 with custom INT sequences ( https://hibernate.atlassian.net/browse/HHH-13805?atlOrigin=eyJpIjoiYmM2ZDI3MTZlZDU4NDdhZTgwOGE4ZGM0NTQ2MDM4ZjMiLCJwIjoiaiJ9 )

seems the dialect is detected otherwise you won’t be able to get sequence info in the first place. Technically, SQLServer2012Dialect ` is detected but it seems it should be enough for the sequence purpose. The real problem is the sqlserver jdbc driver is not robust enough to transform int type to long type, as in other more robust drivers.

Not sure we need to fix the issue. Is there any roadblock to update sequence to long type, btw?

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

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#100121- sha1:a2b3dcc )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200315/b8009f0e/attachment.html 


More information about the hibernate-issues mailing list