Revision 45647 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/main/java/org/gvsig/fmap/dal/store/jdbc2/spi/JDBCHelperBase.java
JDBCHelperBase.java | ||
---|---|---|
117 | 117 |
protected FeatureType providerFeatureType = null; |
118 | 118 |
|
119 | 119 |
public JDBCHelperBase(JDBCConnectionParameters connectionParameters) { |
120 |
this.connectionParameters = connectionParameters; |
|
120 |
if (connectionParameters == null) { |
|
121 |
throw new IllegalArgumentException("Connection parameters can't be null."); |
|
122 |
} |
|
123 |
this.connectionParameters = connectionParameters; |
|
121 | 124 |
|
122 |
// If a particular treatment is required to convert SRS to the |
|
123 |
// BBDD format, overwrite JDBCSRSsBase and use it instead of JDBCSRSsDumb. |
|
124 |
this.srssolver = new SRSSolverDumb(this); |
|
125 |
} |
|
125 |
// If a particular treatment is required to convert SRS to the
|
|
126 |
// BBDD format, overwrite JDBCSRSsBase and use it instead of JDBCSRSsDumb.
|
|
127 |
this.srssolver = new SRSSolverDumb(this);
|
|
128 |
}
|
|
126 | 129 |
|
127 | 130 |
protected void initialize( |
128 | 131 |
ResourceConsumer helperClient, |
Also available in: Unified diff