Package yalp.db

Examples of yalp.db.SQLSplitter


    static Pattern keyPattern = Pattern.compile("([^(]+)\\(([^)]+)\\)");
    // Allows people to clear the cache, so Fixture is not stateful
    public static Map<String, Object> idCache = new HashMap<String, Object>();

    public static void executeSQL(String sqlScript) {
        for (CharSequence sql : new SQLSplitter(sqlScript)) {
            final String s = sql.toString().trim();
            if (s.length() > 0) {
                DB.execute(s);
            }
        }
View Full Code Here

TOP

Related Classes of yalp.db.SQLSplitter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.