This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 211632
Collapse All | Expand All

(-)db.metadata.model/src/org/netbeans/modules/db/metadata/model/JDBCConnMetadataModel.java (-1 / +2 lines)
Lines 143-149 Link Here
143
            
143
            
144
            String driverName = dmd.getDriverName();
144
            String driverName = dmd.getDriverName();
145
            if (driverName != null) {
145
            if (driverName != null) {
146
                if (driverName.contains("Microsoft SQL Server") || driverName.contains("jTDS")) { // NOI18N
146
                if ((driverName.contains("Microsoft") && driverName.contains("SQL Server")) ||
147
                        driverName.contains("jTDS")) { // NOI18N
147
                    return new MSSQLMetadata(conn, defaultSchemaName);
148
                    return new MSSQLMetadata(conn, defaultSchemaName);
148
                }
149
                }
149
            }
150
            }

Return to bug 211632