Browse Source

Pull request #11558: REPORT-90800 设计器远程设计不显示驱动路径

Merge in DESIGN/design from ~MAXIMUS/design:release/11.0 to release/11.0

* commit '8098bf3c0d8768de10760962c6756f940522391a':
  REPORT-90800 设计器远程设计不显示驱动路径
release/11.0
Maximus-郭晓龙 2 years ago
parent
commit
ca0df34968
  1. 2
      designer-base/src/main/java/com/fr/design/data/datapane/connect/DatabaseConnectionPane.java

2
designer-base/src/main/java/com/fr/design/data/datapane/connect/DatabaseConnectionPane.java

@ -537,7 +537,7 @@ public abstract class DatabaseConnectionPane<E extends com.fr.data.impl.Connecti
jsp.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
Connection con = DatabaseConnectionPane.this.updateBean();
if(con instanceof JDBCDatabaseConnection) {
if(con instanceof JDBCDatabaseConnection && WorkContext.getCurrent().isLocal()) {
String driverPath = JarFileParseUtil.getDriverClassPath((JDBCDatabaseConnection) con);
jta.append(Toolkit.i18nText("Fine_Designer_Current_Driver_Path") + ":" + driverPath + "\n");
JPanel testDriverPanel = generateTestDriverPanel((JDBCDatabaseConnection) con, driverPath);

Loading…
Cancel
Save