--
You received this message because you are subscribed to the Google Groups "Sakai Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-dev/59AD4B1B-1D25-4B08-92E6-998FC774D22D%40umich.edu.
Dear All,
I am seeking clarification regarding the appropriate Hiberate Dialect version to use with Sakai version 23, which requires MySQL 8. According to the Sakai 23 Database Support documentation,
The recommended dialect is “hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect”.
However, I have encountered some confusion as I have also heard that “MySQL8Dialect” is intended for MySQL 8.
On the other hand, the Hibernate JavaDoc indicates that “MySQL8Dialect” is deprecated. Additionally, I came across you’re the below email thread which has further compounded my confusion.
Given these conflicting pieces of information, I would greatly appreciate your guidance on the correct Hibernate dialect to use. Accurate information on this matter would be extremely helpful for implementors working with Sakai 23 and MySQL8.
For context, I am currently using Mysql 8.0.39, mysql-connector-j-8.2.0.jar with MySQL5InnoDBDialect (sakai.properties - hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect), Sakai 22.x (not Sakai 23 yet) but I am uncertain if this is the optimal configuration.
Thank you for your assistance.
Best,
Sanghyun
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-dev/CAJEDiB7jkB9bWpS7x50pDwmVZgA_CTsxQ7R_9MEg8fer%3DGVfvQ%40mail.gmail.com.
[EXTERNAL EMAIL] Exercise caution before clicking on links or opening attachments.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-dev/SJ0PR03MB7052233B004C38180F5C619D83B02%40SJ0PR03MB7052.namprd03.prod.outlook.com.
Thank you for your reply, Austin,
Could you confirm if you used “MySQL5InnoDBDialect” for Sakai 21 with MySQL 5? I’m curious if you’ve transitioned from “MySQL8InnoDBDialect” to MySQL8InnoDBDialect” for MySQL 8? Additionally, is there a specific reason for not using “MySQL8InnoDBDialect”?
Best,
Sanghyun
Sorry, typos.
I meant “I’m curious if you’ve transitioned from “MySQL5InnoDBDialect” to MySQL8Dialect” for MySQL 8?”
Sanghyun
Thank you for your confirmation.
We used MySQL 5.7, mysql-connector-java-5.1.43.jar, org.hibernate.dialect.MySQL5InnoDBDialect
For MySQL8InnoDBDialect, I have some doubts as well, but I came across an example while Googling. It suggests “Run tests on MySQL 8 with MySQL8InnoDBDialect” in this Github
I haven’t seen any references to “MySQL8InnoDBDialect” elsewhere either.
Additionally, I’m curious about the dialect used fo the Sakai community QA server. Could someone please check the Hibernate version used on the Sakai QA server (version 23.x with MySQL8)? It seems that the Sakai.properties file available at the provided URL does not include this information.
Austin,
Have you updated any settings besides “org.hibernate.dialect.MySQL8Dialect” after I upgrade MySQL 57 to MySQL 8? For instance, I recall needing to adjust the ‘sql_mode’ settings in my “my.cnf” file. If you’ve come across any other necessary changes, please let me know.
Best,
Sanghyun
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-dev/SJ0PR03MB705222D2644034A33811D90783B02%40SJ0PR03MB7052.namprd03.prod.outlook.com.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-dev/CAKL84%3Dm3z4A4ZVff6KgCiCHUYYZcUap1gR8uS1x01PumJTkXOA%40mail.gmail.com.
Thank you, Austin!
Thank you, Earle!
Sanghyun