You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2021/09/23 04:50:53 UTC

[GitHub] [fineract] IOhacker opened a new pull request #1882: FINERACT-982 - Completely ditch use of Drizzle JDBC Driver after all

IOhacker opened a new pull request #1882:
URL: https://github.com/apache/fineract/pull/1882


   ## Description
   
   Changes were done for replacing the Drizzle JDBC Driver as per issue reported at FINERACT-982 - Completely ditch use of Drizzle JDBC Driver after all


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fineract] IOhacker commented on pull request #1882: FINERACT-982 - Completely ditch use of Drizzle JDBC Driver after all

Posted by GitBox <gi...@apache.org>.
IOhacker commented on pull request #1882:
URL: https://github.com/apache/fineract/pull/1882#issuecomment-926219408


   @awasum 
   
   This will work? (of course with the tables affected)
   
   fineract/fineract-provider/src/main/resources/sql/migrations/core_db/Vxxx__alter_m_template_for_utf8mb4_general_ci.sql
   
   Also I would like to propose to set this at DB level, like this
   
   - ./fineract-db/server_collation.cnf:/etc/mysql/conf.d/server_collation.cnf
   
   The file will contain:
   
   fineract-db/server_collation.cnf 
   [mysqld]
   character_set_server=utf8mb4
   collation_server=utf8mb4_general_ci
   
   Any thoughs/suggestions?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fineract] awasum commented on a change in pull request #1882: FINERACT-982 - Completely ditch use of Drizzle JDBC Driver after all

Posted by GitBox <gi...@apache.org>.
awasum commented on a change in pull request #1882:
URL: https://github.com/apache/fineract/pull/1882#discussion_r714601554



##########
File path: fineract-provider/src/main/resources/sql/migrations/core_db/V119__add_template_table.sql
##########
@@ -31,9 +31,9 @@ CREATE TABLE `m_template` (
 DROP TABLE IF EXISTS `m_templatemappers`;
 CREATE TABLE `m_templatemappers` (
   `id` BIGINT NOT NULL AUTO_INCREMENT,
-  `mapperkey` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+  `mapperkey` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,

Review comment:
       What happens to old deployments when u update and previous migration file? Can we instead update in a newer migration script?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fineract] IOhacker commented on pull request #1882: FINERACT-982 - Completely ditch use of Drizzle JDBC Driver after all

Posted by GitBox <gi...@apache.org>.
IOhacker commented on pull request #1882:
URL: https://github.com/apache/fineract/pull/1882#issuecomment-925825086


   Hi Awasum,
   
   I will fix it adding the update script. Also I have noticed an error while
   running the integraron test in the Pentaho reports.
   
   Regards
   
   
   El jue., 23 de septiembre de 2021 3:59 a. m., Awasum Yannick <
   ***@***.***> escribió:
   
   > ***@***.**** requested changes on this pull request.
   > ------------------------------
   >
   > In
   > fineract-provider/src/main/resources/sql/migrations/core_db/V119__add_template_table.sql
   > <https://github.com/apache/fineract/pull/1882#discussion_r714601554>:
   >
   > > @@ -31,9 +31,9 @@ CREATE TABLE `m_template` (
   >  DROP TABLE IF EXISTS `m_templatemappers`;
   >  CREATE TABLE `m_templatemappers` (
   >    `id` BIGINT NOT NULL AUTO_INCREMENT,
   > -  `mapperkey` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
   > +  `mapperkey` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
   >
   > What happens to old deployments when u update and previous migration file?
   > Can we instead update in a newer migration script?
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/fineract/pull/1882#pullrequestreview-761757046>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/ALD2ZAQI4ZYHSZ4PKQUI7JDUDLUADANCNFSM5ESZ5F5Q>
   > .
   > Triage notifications on the go with GitHub Mobile for iOS
   > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
   > or Android
   > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
   >
   >
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fineract] IOhacker closed pull request #1882: FINERACT-982 - Completely ditch use of Drizzle JDBC Driver after all

Posted by GitBox <gi...@apache.org>.
IOhacker closed pull request #1882:
URL: https://github.com/apache/fineract/pull/1882


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fineract] IOhacker commented on pull request #1882: FINERACT-982 - Completely ditch use of Drizzle JDBC Driver after all

Posted by GitBox <gi...@apache.org>.
IOhacker commented on pull request #1882:
URL: https://github.com/apache/fineract/pull/1882#issuecomment-926319718


   I will change the approach, not changing anything on the table collation. I will submit another PR 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fineract] francisguchie commented on pull request #1882: FINERACT-982 - Completely ditch use of Drizzle JDBC Driver after all

Posted by GitBox <gi...@apache.org>.
francisguchie commented on pull request #1882:
URL: https://github.com/apache/fineract/pull/1882#issuecomment-925868657


   @awasum , I have gone through the discussion on [FINERACT-982](https://issues.apache.org/jira/browse/FINERACT-982), does the PR cater for the non-tech users? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org