net.csdn.jpa.association
Class Association
java.lang.Object
net.csdn.jpa.association.Association
public class Association
- extends Object
User: WilliamZhu
Date: 12-7-26
Time: 下午7:36
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Association
public Association(Model object,
String field,
String targetField,
String type)
Association
public Association(Model object,
String field,
String targetField,
String type,
String tableName,
String master)
remove
public void remove(JPABase model)
fetch
public List fetch()
count
public long count()
count
public long count(String countStr)
where
public JPQL where(String where,
Map<String,Object> params)
where
public JPQL where(String where)
where
public JPQL where(Map whereQuery)
order
public JPQL order(String orderBy)
offset
public JPQL offset(Integer offset)
limit
public JPQL limit(Integer limit)
delete
public void delete()
set
public boolean set(JPABase model)
add
public boolean add(Map params)
add
public boolean add(JPABase model)
Copyright © 2014. All Rights Reserved.