Skip to content

Commit

Permalink
change wiht to with
Browse files Browse the repository at this point in the history
  • Loading branch information
michael committed Nov 5, 2012
1 parent 413ce42 commit b142fef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/net/tsz/afinal/FinalDb.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public <T> T findById(Object id ,Class<T> clazz){
* @param id
* @param clazz
*/
public <T> T findWihtManyToOneById(Object id ,Class<T> clazz){
public <T> T findWithManyToOneById(Object id ,Class<T> clazz){
checkTableExist(clazz);
String sql = SqlBuilder.getSelectSQL(clazz, id);
debugSql(sql);
Expand Down Expand Up @@ -247,7 +247,7 @@ public <T> T findWihtManyToOneById(Object id ,Class<T> clazz){
* @param clazz
* @param findClass 要查找的类
*/
public <T> T findWihtManyToOneById(Object id ,Class<T> clazz,Class<?> ... findClass){
public <T> T findWithManyToOneById(Object id ,Class<T> clazz,Class<?> ... findClass){
checkTableExist(clazz);
String sql = SqlBuilder.getSelectSQL(clazz, id);
debugSql(sql);
Expand Down Expand Up @@ -289,7 +289,7 @@ public <T> T findWihtManyToOneById(Object id ,Class<T> clazz,Class<?> ... findCl
* @param id
* @param clazz
*/
public <T> T findWihtOneToManyById(Object id ,Class<T> clazz){
public <T> T findWithOneToManyById(Object id ,Class<T> clazz){
checkTableExist(clazz);
String sql = SqlBuilder.getSelectSQL(clazz, id);
debugSql(sql);
Expand Down Expand Up @@ -321,7 +321,7 @@ public <T> T findWihtOneToManyById(Object id ,Class<T> clazz){
* @param clazz
* @param findClass
*/
public <T> T findWihtOneToManyById(Object id ,Class<T> clazz,Class<?> ... findClass){
public <T> T findWithOneToManyById(Object id ,Class<T> clazz,Class<?> ... findClass){
checkTableExist(clazz);
String sql = SqlBuilder.getSelectSQL(clazz, id);
debugSql(sql);
Expand Down

0 comments on commit b142fef

Please sign in to comment.