|
|
|
@ -16,7 +16,7 @@ export function getCreator(connection: Connection) {
|
|
|
|
|
export function getDatabaseType(connection: Connection) { |
|
|
|
|
switch (connection.connectionType) { |
|
|
|
|
case connectionType.JDBC: |
|
|
|
|
return getJdbcDatabaseType((connection.connectionData as ConnectionJDBC).database, (connection.connectionData as ConnectionJDBC).driver); |
|
|
|
|
return getJdbcDatabaseType((connection.connectionData as ConnectionJDBC).database, (connection.connectionData as ConnectionJDBC).driver).databaseType; |
|
|
|
|
case connectionType.JNDI: |
|
|
|
|
return connectionType.JNDI; |
|
|
|
|
default: |
|
|
|
|