Omaha #4673 - Remove executeNativeSql
Change-Id: I28678ae07c31b30fadf310056988f2384c1aa861 Former-commit-id: 5a9b269696ebfec6b266b8b1c15b6fde86314c80
This commit is contained in:
parent
943628f462
commit
5ff5234f65
1 changed files with 3 additions and 3 deletions
|
@ -68,7 +68,7 @@ import com.raytheon.uf.edex.database.query.DatabaseQuery;
|
||||||
* Nov 04, 2014 2714 bclement removed GINI specific DAOs
|
* Nov 04, 2014 2714 bclement removed GINI specific DAOs
|
||||||
* Apr 15, 2014 4388 bsteffen Preserve fill value across interpolation levels.
|
* Apr 15, 2014 4388 bsteffen Preserve fill value across interpolation levels.
|
||||||
* Jul 07, 2015 4279 rferrel Override delete to clean up orphan entries in satellite_spatial table.
|
* Jul 07, 2015 4279 rferrel Override delete to clean up orphan entries in satellite_spatial table.
|
||||||
*
|
* Aug 11, 2015 4673 rjpeter Remove use of executeNativeSql.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author bphillip
|
* @author bphillip
|
||||||
|
@ -427,8 +427,8 @@ public class SatelliteDao extends PluginDao {
|
||||||
* Delete orphan entries in the satellite_spatial table.
|
* Delete orphan entries in the satellite_spatial table.
|
||||||
*/
|
*/
|
||||||
try {
|
try {
|
||||||
this.executeNativeSql("delete from satellite_spatial where gid not in (select distinct coverage_gid from satellite) ;");
|
this.executeSQLUpdate("delete from satellite_spatial where gid not in (select distinct coverage_gid from satellite) ;");
|
||||||
} catch (DataAccessLayerException e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error purging orphaned satellite_spatial entries", e);
|
logger.error("Error purging orphaned satellite_spatial entries", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue