⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 transactionprovider.java

📁 jdo开发实例,一个功能全面的oa系统
💻 JAVA
字号:
//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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -