|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.geekologue.md4j.dao.hibernate.Helper
public class Helper
Constructor Summary | |
---|---|
Helper()
|
Method Summary | |
---|---|
static java.util.Map |
getQueryResultAsMap(org.hibernate.Criteria query,
java.lang.String keyProjectionProp,
java.lang.String valueProjectionProp)
|
static java.util.List |
getQueryResultAsMapList(org.hibernate.Criteria query,
java.util.Set projectionProps)
Produce a List containint Maps for each row for the given scalar query This method will only change the given criteria to add the appropriate projections, aliases must already be properly set, for example, a projection "foo.bar" assumes "foo" is already an alias. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Helper()
Method Detail |
---|
public static final java.util.List getQueryResultAsMapList(org.hibernate.Criteria query, java.util.Set projectionProps)
query
- projectionProps
- public static final java.util.Map getQueryResultAsMap(org.hibernate.Criteria query, java.lang.String keyProjectionProp, java.lang.String valueProjectionProp)
query
- projectionProps
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |