View Javadoc

1   package com.github.smokestack.jpa;
2   
3   public class MockNativeQuery extends MockBaseQuery {
4   
5   	protected String sqlString;
6   	protected Class resultClass;
7   	protected String resultSetMapping;
8   
9   	public MockNativeQuery(String sqlString) {
10  		this.sqlString=sqlString;
11  	}
12  
13  	public MockNativeQuery(String sqlString, Class resultClass) {
14  		this.sqlString=sqlString;
15  		this.resultClass=resultClass;
16  	}
17  
18  	public MockNativeQuery(String sqlString, String resultSetMapping) {
19  		this.sqlString=sqlString;
20  		this.resultSetMapping=resultSetMapping;
21  	}
22  
23  }