org.crazycake.jdbcTemplateTool.utils
类 CatalogUtils
java.lang.Object
org.crazycake.jdbcTemplateTool.utils.CatalogUtils
public class CatalogUtils
- extends Object
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatalogUtils
public CatalogUtils()
setCatalogContext
public static void setCatalogContext(String placeHolder,
String catalog)
getCatalogContext
public static CatalogContext getCatalogContext()
changeCatalog
public static String changeCatalog(String sql)
- JdbcTemplateTool supports mulitiple catalog query. You can put a placeholder before your table name, JdbcTemplateTool will change this placeholder to real catalog name with the catalog stored in catalogContext.
- 参数:
sql -
- 返回:
Copyright © 2014. All rights reserved.