public final class HoneyContext extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getBeanField(String key) |
static CacheSuidStruct |
getCacheInfo(String sqlStr) |
static Connection |
getCurrentConnection() |
static RouteStruct |
getCurrentRoute() |
static String |
getDbDialect() |
static org.teasoft.honey.osql.core.MoreTableStruct[] |
getMoreTableStructs(String key) |
static List<org.teasoft.honey.osql.core.PreparedValue> |
getPreparedValue(String sqlStr) |
static boolean |
isNeedGenId(Class clazz) |
static void |
removeCurrentConnection() |
static void |
removeCurrentRoute() |
static void |
setCurrentConnection(Connection conn) |
static void |
setCurrentRoute(RouteStruct routeStruct) |
public static org.teasoft.honey.osql.core.MoreTableStruct[] getMoreTableStructs(String key)
public static List<org.teasoft.honey.osql.core.PreparedValue> getPreparedValue(String sqlStr)
public static CacheSuidStruct getCacheInfo(String sqlStr)
public static String getDbDialect()
public static Connection getCurrentConnection()
public static void setCurrentConnection(Connection conn)
public static void removeCurrentConnection()
public static RouteStruct getCurrentRoute()
public static void setCurrentRoute(RouteStruct routeStruct)
public static void removeCurrentRoute()
public static boolean isNeedGenId(Class clazz)
Copyright © 2020. All rights reserved.