Compare commits

...

5 Commits

Author SHA1 Message Date
Emmanuel GALLOIS
da03557bff feat(TDI-50821): bump component-runtime to 1.38.13 (#6735)
Co-authored-by: jzhao-talend <jzhao@talend.com>
2024-01-24 16:30:32 +08:00
jzhao
93d3f09fb6 chore(TDI-50828): Bump tck connectors 1.27.29 for 7.3.1-R2024-02 (#6740) 2024-01-19 19:46:45 +08:00
kjwang
85348bb73c Fix TUP-41299 Cannot connect to Oracle with patch R2023-11 (Temp commit (#6713)
Fix TUP-41299 Cannot connect to Oracle with patch R2023-11 (Temp commit  that make plugin's timestamp update)

https://jira.talendforge.org/browse/TUP-41299
2024-01-09 10:41:20 +08:00
kjwang
823909d626 Fix TUP-41299 Cannot connect to Oracle with patch R2023-11 (Temp commit that make plugin's timestamp update)
Fix TUP-41299 Cannot connect to Oracle with patch R2023-11 (Temp commit that make plugin's timestamp update)
https://jira.talendforge.org/browse/TUP-41299
2024-01-09 10:32:28 +08:00
kjwang
0752fde57e Fix TUP-41299 Cannot connect to Oracle with patch R2023-11 (#6693)
Fix TUP-41299 Cannot connect to Oracle with patch R2023-11
https://jira.talendforge.org/browse/TUP-41299
2024-01-08 11:48:57 +08:00
5 changed files with 6 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ public class MyURLClassLoader extends URLClassLoader {
private Map pclasses = new HashMap();
public MyURLClassLoader(String fileName) throws IOException {
this(new File(fileName).toURL());
this(new File(fileName).toURI().toURL());
}
public MyURLClassLoader(URL url) {

View File

@@ -10,7 +10,7 @@
<artifactId>studio-tacokit-dependencies</artifactId>
<packaging>pom</packaging>
<properties>
<tacokit.components.version>1.27.28</tacokit.components.version>
<tacokit.components.version>1.27.29</tacokit.components.version>
</properties>
<repositories>
<repository>

View File

@@ -11,7 +11,7 @@
<packaging>pom</packaging>
<properties>
<tcomp.version>1.38.12</tcomp.version>
<tcomp.version>1.38.13</tcomp.version>
<slf4j.version>1.7.32</slf4j.version>
<log4j2.version>2.17.1</log4j2.version>
<reload4j.version>1.2.19</reload4j.version>

View File

@@ -52,7 +52,7 @@ public class HotClassLoader extends URLClassLoader {
if (pathToAdd2 != null && pathToAdd2.length() > 0) {
try {
File pathToAdd = new File(pathToAdd2).getCanonicalFile();
addURL(pathToAdd.toURL());
addURL(pathToAdd.toURI().toURL());
} catch (IOException e) {
ExceptionHandler.process(e);
}

View File

@@ -2848,7 +2848,7 @@ public class DatabaseForm extends AbstractForm {
File file = new File(stringToFile);
if (file != null) {
try {
MyURLClassLoader cl = new MyURLClassLoader(file.toURL());
MyURLClassLoader cl = new MyURLClassLoader(new URL[] {file.toURI().toURL()},this.getClass().getClassLoader());
Class[] classes = cl.getAssignableClasses(Driver.class);
for (Class classe : classes) {
driverClassTxt.add(classe.getName());
@@ -6109,7 +6109,7 @@ public class DatabaseForm extends AbstractForm {
File file = new File(stringToFile);
if (file != null) {
try {
MyURLClassLoader cl = new MyURLClassLoader(file.toURL());
MyURLClassLoader cl = new MyURLClassLoader(new URL[] {file.toURI().toURL()},this.getClass().getClassLoader());
Class[] classes = cl.getAssignableClasses(Driver.class);
for (Class classe : classes) {
generalJdbcClassNameText.add(classe.getName());