Package org.fcrepo.mock.sql

Examples of org.fcrepo.mock.sql.MockStatement


        UpdatingMockConnection(MyMockDriver driver) {
            this.driver = driver;
        }
        @Override
        public Statement createStatement() throws SQLException {
            return new MockStatement() {
                @Override
                public int executeUpdate(String sql) throws SQLException {
                    if (sql.trim().toLowerCase().startsWith("insert")) {
                        driver.logInsert();
                    }
View Full Code Here

TOP

Related Classes of org.fcrepo.mock.sql.MockStatement

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.