private int execSQLScript ( String sqlScript ) { String path = GeoPackageProperties . getProperty ( PropertyConstants . SQL , "directory" ) ; List < String > statements = ResourceIOUtils . parseSQLStatements ( path , sqlScript ) ; for ( String statement : statements ) { db . execSQL ( statement ) ; } return statements . size ( ) ; }
Execute the SQL Script