transactionprovider.java
来自「jdo开发实例,一个功能全面的oa系统」· Java 代码 · 共 49 行
JAVA
49 行
//Source file: c:\\test\\cc\\realmap\\lib\\transactionProvider.java
package com.gzrealmap.oa.db;
import com.gzrealmap.lib.jdbc.JDBCUtil;
/**
** This class implement the id/class mapping in a simple db record way.
** If you want some other way of mapping, you may change this class or
** change the whole
* @deprecated
*/
public class transactionProvider
{
private JDBCUtil db = JDBCUtil.getInstance();
//public transactionRegistry theTransactionRegistry;
/**
@roseuid 3DD74351009A
@deprecated
*/
private transactionProvider() throws Exception
{
//db = new DB();
//db.connect();
}
/**
return the className
@param id, transactionID
@return java.lang.String
@roseuid 3DD7246202CE
@deprecated
*/
public static String lookup(String id) throws Exception
{
transactionRegistry tran = getTransaction(id);
return tran.getClassName();
}
/**
** return the transactionRegistry entity
* @deprecated
*/
public static transactionRegistry getTransaction(String id) throws Exception
{
return new transactionRegistry(id );
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?