JGroups JDBC_PING2 does not work with MSSQL Server #871
thomasdarimont
started this conversation in
Show and tell
Replies: 3 comments 2 replies
-
Hi @thomasdarimont is this solution sufficient for you? @ryanemerson: AIUI, you created templates for different DBs, is this something you can do in KC? [1] shows {{boolean}} to be a standard SQL type, so I don't really want to change this... |
Beta Was this translation helpful? Give feedback.
1 reply
-
@ryanemerson no changes required from JGroups then? |
Beta Was this translation helpful? Give feedback.
1 reply
-
OK, good to know, thx |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to use JDBC_PING2 with MSSQL server with the following config:
When I try to run that against MSSQL Server I see the following error:
and the jgroups table is not generated.
Turns out, JDBC_PING2 currently (as of JGroups 5.3.13) uses the following SQL to create the table:
https://github.com/belaban/JGroups/blob/master/src/org/jgroups/protocols/JDBC_PING2.java#L49
Unfortunately, MSSQL server does not support the column type
boolean
. Changingboolean
tobit
by overridinginitialize_sql
fixed the problem:Beta Was this translation helpful? Give feedback.
All reactions