Package play.db.evolutions.exceptions

Examples of play.db.evolutions.exceptions.InconsistentDatabase


                        } else {
                            script = rs.getString("revert_script");
                        }
                        script = "# --- Rev:" + revision + "," + (state.equals("applying_up") ? "Ups" : "Downs") + " - " + hash + "\n\n" + script;
                        String error = rs.getString("last_problem");
                        throw new InconsistentDatabase(script, error, revision, moduleRoot.getKey());
                    }
                } catch (SQLException e) {
                    throw new UnexpectedException(e);
                } finally {
                    EvolutionQuery.closeConnection(connection);
View Full Code Here

TOP

Related Classes of play.db.evolutions.exceptions.InconsistentDatabase

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.