Repository navigation
Commit adab6dc
committed
Bump mybatis to 3.5.19
3.1.1 is from 2012. 3.5.19 is the last Java 8 release of the 3.5 line.
3.6.0 is only days old, so this stays on 3.5. OGNL and javassist are
still shaded inside the mybatis jar, and nothing else is needed at
runtime.
The 3.5 line binds a simple parameterType's type handler from the
declared type. User.selectPreferencesForUser declared java.lang.String
but is called with the Integer user id, so it now declares
java.lang.Integer in every database's mapper. Upstream Mirth made the
same change when it moved to 3.5.15.
DebugUsage.getDebugUsageStatistics and deleteDebugUsageStatistics
declared java.lang.String but are called with a DebugUsage, so they
now declare that class; they worked either way, because the serverId
property they read is a String. The other String and Integer
parameterTypes match what their callers pass.
MyBatis stopped logging SQL under the java.sql loggers in 3.2 and logs
each statement under its own ID instead, so the java.sql entry in
log4j2.properties had no effect any more. logPrefix is now set, so
every statement logs under mybatis.<namespace>.<id>, and that entry
now names mybatis, so one logger still controls all SQL logging. The
comments there now explain how to log a single namespace and warn that
DEBUG and TRACE can write sensitive data to the logs.
THIRD-PARTY-README lists the OGNL 3.4.4 and Javassist 3.30.2-GA copies
bundled inside the jar. OGNL 3.4.4 is Apache 2.0, and the 2004 BSD
notice stays because the MyBatis NOTICE file reproduces it.
mybatis-parent 15 was only the parent of 3.1.1, so its checksum entry
is replaced by mybatis-parent 48, the parent of 3.5.19.
Signed-off-by: Nico Piel <nicopiel@mailbox.org>
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Tony Germano <tony@germano.name>1 parent 8821c16 commit adab6dc
15 files changed
Lines changed: 48 additions & 28 deletions
File tree
- gradle
- server
- conf
- dbconf
- derby
- mysql
- oracle
- postgres
- sqlserver
- docs/thirdparty
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2786 | 2786 | | |
2787 | 2787 | | |
2788 | 2788 | | |
2789 | | - | |
2790 | | - | |
2791 | | - | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
2792 | 2792 | | |
2793 | | - | |
2794 | | - | |
| 2793 | + | |
| 2794 | + | |
2795 | 2795 | | |
2796 | 2796 | | |
2797 | | - | |
2798 | | - | |
2799 | | - | |
| 2797 | + | |
| 2798 | + | |
| 2799 | + | |
2800 | 2800 | | |
2801 | 2801 | | |
2802 | 2802 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
67 | 79 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
0 commit comments