Skip to content

Commit

Permalink
fixed select clause bean null connection
Browse files Browse the repository at this point in the history
  • Loading branch information
synapticloop committed Mar 28, 2016
1 parent 57f5c53 commit 64db9e6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
25 changes: 25 additions & 0 deletions editor.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!doctype html>

<html lang="en">
<head>
<meta charset="utf-8">
<title>*.h2zero file editor</title>

<script src="https://code.jquery.com/jquery-2.2.1.min.js"/></script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>

<body>
<h1>*.h2zero editor</h1>

<h2>Editor</h2>
<div id="content-editor">
</div>

<h2>Output</h2>
<div id="content-output">
</div>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
) throws H2ZeroFinderException, SQLException {{{\n}

{\t}{\t}boolean hasConnection = (null != connection);{\n}
{\t}{\t}if(!hasConnection) {{{\n}
{\t}{\t}{\t}connection = ConnectionManager.getConnection();{\n}
{\t}{\t}}{\n}
{\n}
{\t}{\t}String statement = null;{\n}
{\n}
{\t}{\t}// first find the statement that we want{\n}
Expand Down

0 comments on commit 64db9e6

Please sign in to comment.