01: /*
02: * JFox - The most lightweight Java EE Application Server!
03: * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.
04: *
05: * JFox is licenced and re-distributable under GNU LGPL.
06: */
07: package org.jfox.entity.dao;
08:
09: import org.jfox.entity.QueryExt;
10:
11: /**
12: * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
13: */
14: public interface DataAccessObject {
15:
16: QueryExt createNamedNativeQuery(String queryName);
17:
18: /**
19: * 返回类型为 EntityMapper
20: * @param sql sql template
21: */
22: QueryExt createNativeQuery(String sql);
23:
24: QueryExt createNativeQuery(String sql, Class<?> resultClass);
25: }
|