// Path: moneta-core/src/test/java/org/moneta/MonetaTestBase.java
// public class MonetaTestBase extends HSqlTestBase {
// 
// 	@Before
// 	public void setUp() throws Exception {
// 		super.setUp();
// 		MonetaEnvironment.setConfiguration( 
// 				new MonetaConfiguration(
// 						new FileInputStream(MonetaConfigurationTest.CONFIG_TEST_FILE_NAME)));
// 	}
// 	
// 
// 
// }
// 
// Path: moneta-core/src/main/java/org/moneta/dao/types/SqlStatement.java
// public class SqlStatement extends BaseType {
// 	
// 	public SqlStatement()  {}
// 	public SqlStatement(String sqlText)  {
// 		this.setSqlText(sqlText);
// 	}
// 	
// 	private String sqlText;
// 	private List<Object> hostVariableValueList = new ArrayList<Object>();
// 	
// 	public String getSqlText() {
// 		return sqlText;
// 	}
// 	
// 	public void setSqlText(String sqlText) {
// 		this.sqlText = sqlText;
// 	}
// 
// 	public List<Object> getHostVariableValueList() {
// 		return hostVariableValueList;
// 	}
// 	
// 
// }
// 
// Path: moneta-core/src/main/java/org/moneta/types/search/SearchResult.java
// public class SearchResult extends BaseType {
// 	
// 	private Integer errorCode;
// 	private String errorMessage;
// 
// 	@JsonProperty("records")
// 	private Record[] resultData;
// 	
// 	public Integer getErrorCode() {
// 		return errorCode;
// 	}
// 	
// 	public void setErrorCode(Integer errorCode) {
// 		this.errorCode = errorCode;
// 	}
// 	
// 	public String getErrorMessage() {
// 		return errorMessage;
// 	}
// 	
// 	public void setErrorMessage(String errorMessage) {
// 		this.errorMessage = errorMessage;
// 	}
// 	
// 	public Record[] getResultData() {
// 		return resultData;
// 	}
// 
// 	public void setResultData(Record[] resultData) {
// 		this.resultData = resultData;
// 	}
// 
// }


import org.junit.Assert;
import org.junit.Test;
import org.moneta.MonetaTestBase;
import org.moneta.dao.types.SqlStatement;
import org.moneta.types.search.SearchResult;

/*
 * This software is licensed under the Apache License, Version 2.0
 * (the "License") agreement; you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.moneta.dao;


public class SqlSelectExecutorTest extends MonetaTestBase {

	@Test
	public void testBasic() throws Exception {
		SqlSelectExecutor exec = new SqlSelectExecutor("Environment", 

// Path: moneta-core/src/test/java/org/moneta/MonetaTestBase.java
// public class MonetaTestBase extends HSqlTestBase {
// 
// 	@Before
// 	public void setUp() throws Exception {
// 		super.setUp();
// 		MonetaEnvironment.setConfiguration( 
// 				new MonetaConfiguration(
// 						new FileInputStream(MonetaConfigurationTest.CONFIG_TEST_FILE_NAME)));
// 	}
// 	
// 
// 
// }
// 
// Path: moneta-core/src/main/java/org/moneta/dao/types/SqlStatement.java
// public class SqlStatement extends BaseType {
// 	
// 	public SqlStatement()  {}
// 	public SqlStatement(String sqlText)  {
// 		this.setSqlText(sqlText);
// 	}
// 	
// 	private String sqlText;
// 	private List<Object> hostVariableValueList = new ArrayList<Object>();
// 	
// 	public String getSqlText() {
// 		return sqlText;
// 	}
// 	
// 	public void setSqlText(String sqlText) {
// 		this.sqlText = sqlText;
// 	}
// 
// 	public List<Object> getHostVariableValueList() {
// 		return hostVariableValueList;
// 	}
// 	
// 
// }
// 
// Path: moneta-core/src/main/java/org/moneta/types/search/SearchResult.java
// public class SearchResult extends BaseType {
// 	
// 	private Integer errorCode;
// 	private String errorMessage;
// 
// 	@JsonProperty("records")
// 	private Record[] resultData;
// 	
// 	public Integer getErrorCode() {
// 		return errorCode;
// 	}
// 	
// 	public void setErrorCode(Integer errorCode) {
// 		this.errorCode = errorCode;
// 	}
// 	
// 	public String getErrorMessage() {
// 		return errorMessage;
// 	}
// 	
// 	public void setErrorMessage(String errorMessage) {
// 		this.errorMessage = errorMessage;
// 	}
// 	
// 	public Record[] getResultData() {
// 		return resultData;
// 	}
// 
// 	public void setResultData(Record[] resultData) {
// 		this.resultData = resultData;
// 	}
// 
// }


// Path: moneta-core/src/test/java/org/moneta/dao/SqlSelectExecutorTest.java
import org.junit.Assert;
import org.junit.Test;
import org.moneta.MonetaTestBase;
import org.moneta.dao.types.SqlStatement;
import org.moneta.types.search.SearchResult;

/*
 * This software is licensed under the Apache License, Version 2.0
 * (the "License") agreement; you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.moneta.dao;


public class SqlSelectExecutorTest extends MonetaTestBase {

	@Test
	public void testBasic() throws Exception {
		SqlSelectExecutor exec = new SqlSelectExecutor("Environment", 

				new SqlStatement("select * from INFORMATION_SCHEMA.SYSTEM_TABLES"));
