Revision 1874 branches/gvSIG_GisPlanet/applications/appgvSIG/src/com/iver/cit/gvsig/Abrir.java
Abrir.java | ||
---|---|---|
261 | 261 |
Connection conn = DriverManager.getConnection(dbURL, user, pwd); |
262 | 262 |
conn.setAutoCommit(false); |
263 | 263 |
|
264 |
VectorialDatabaseDriver driver = new MySQLDriver();
|
|
264 |
VectorialDatabaseDriver driver = wiz.getDriver();
|
|
265 | 265 |
driver.setData(conn, tableName, fields, whereClause, fidField); |
266 | 266 |
lyr = LayerFactory.createDBLayer(driver, layerName, null); |
267 | 267 |
|
Also available in: Unified diff