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

📄 factorybase.java

📁 OR Mapping工具
💻 JAVA
字号:
package org.ephman.abra.database;// meant to be copied down a levelimport java.sql.*;import java.util.*;import org.ephman.utils.*;import org.ephman.abra.utils.*;import org.ephman.abra.database.*;/** * FactoryBase class descendant for DB2 based architecture * * @author: Paul Bethe * @version 0.1 */public abstract class FactoryBase extends GenericFactoryBase{	/* id will be done in generator */	public boolean dbNeedsId () { return false; }	/* change these as neccessary */	protected void setClobs (ResultSet rs, Identified item) throws SQLException {		throw new AbraSQLException ("ephman.abra.database.noclobs", "DB2");    }	protected void setClob (ResultSet rs, String columnName, String value) throws SQLException {		throw new AbraSQLException ("ephman.abra.database.noclobs", "DB2");	}		protected int getLastId (DatabaseSession dbSess) throws SQLException {		throw new AbraSQLException ("ephman.abra.database.nolastid", "DB2");	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -