📄 supplierbean_qfsutw__weblogic_cmp_rdbms.java
字号:
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setLinkman(
java.lang.String linkman)
{
this.linkman = linkman;
__WL_isModified[5] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
public java.lang.String getMobilePhone()
{
try {
if (!__WL_isLoaded[6]) {
__WL_loadGroup0();
}
return mobilePhone;
} catch (RuntimeException re) {
if (__WL_verbose) {
Debug.say("rethrowing RuntimeException.");
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setMobilePhone(
java.lang.String mobilePhone)
{
this.mobilePhone = mobilePhone;
__WL_isModified[6] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
public java.lang.String getFax()
{
try {
if (!__WL_isLoaded[7]) {
__WL_loadGroup0();
}
return fax;
} catch (RuntimeException re) {
if (__WL_verbose) {
Debug.say("rethrowing RuntimeException.");
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setFax(
java.lang.String fax)
{
this.fax = fax;
__WL_isModified[7] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
public java.lang.String getFixedPhone()
{
try {
if (!__WL_isLoaded[8]) {
__WL_loadGroup0();
}
return fixedPhone;
} catch (RuntimeException re) {
if (__WL_verbose) {
Debug.say("rethrowing RuntimeException.");
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setFixedPhone(
java.lang.String fixedPhone)
{
this.fixedPhone = fixedPhone;
__WL_isModified[8] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
public java.lang.String getAddress()
{
try {
if (!__WL_isLoaded[9]) {
__WL_loadGroup0();
}
return address;
} catch (RuntimeException re) {
if (__WL_verbose) {
Debug.say("rethrowing RuntimeException.");
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setAddress(
java.lang.String address)
{
this.address = address;
__WL_isModified[9] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
public java.lang.String getZipCode()
{
try {
if (!__WL_isLoaded[10]) {
__WL_loadGroup0();
}
return zipCode;
} catch (RuntimeException re) {
if (__WL_verbose) {
Debug.say("rethrowing RuntimeException.");
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setZipCode(
java.lang.String zipCode)
{
this.zipCode = zipCode;
__WL_isModified[10] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
public java.lang.String getBankName()
{
try {
if (!__WL_isLoaded[11]) {
__WL_loadGroup0();
}
return bankName;
} catch (RuntimeException re) {
if (__WL_verbose) {
Debug.say("rethrowing RuntimeException.");
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setBankName(
java.lang.String bankName)
{
this.bankName = bankName;
__WL_isModified[11] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
public java.lang.String getBankAccount()
{
try {
if (!__WL_isLoaded[12]) {
__WL_loadGroup0();
}
return bankAccount;
} catch (RuntimeException re) {
if (__WL_verbose) {
Debug.say("rethrowing RuntimeException.");
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setBankAccount(
java.lang.String bankAccount)
{
this.bankAccount = bankAccount;
__WL_isModified[12] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
public java.lang.String getEmail()
{
try {
if (!__WL_isLoaded[13]) {
__WL_loadGroup0();
}
return email;
} catch (RuntimeException re) {
if (__WL_verbose) {
Debug.say("rethrowing RuntimeException.");
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setEmail(
java.lang.String email)
{
this.email = email;
__WL_isModified[13] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
public java.lang.String getHomesite()
{
try {
if (!__WL_isLoaded[14]) {
__WL_loadGroup0();
}
return homesite;
} catch (RuntimeException re) {
if (__WL_verbose) {
Debug.say("rethrowing RuntimeException.");
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setHomesite(
java.lang.String homesite)
{
this.homesite = homesite;
__WL_isModified[14] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
public java.lang.String getRemark()
{
try {
if (!__WL_isLoaded[15]) {
__WL_loadGroup0();
}
return remark;
} catch (RuntimeException re) {
if (__WL_verbose) {
Debug.say("rethrowing RuntimeException.");
re.printStackTrace();
}
throw re;
} catch (Exception ex) {
if (__WL_verbose) {
Debug.say("wrapping Exception in PersistenceRuntimeException.");
ex.printStackTrace();
}
throw new PersistenceRuntimeException(ex);
}
}
public void setRemark(
java.lang.String remark)
{
this.remark = remark;
__WL_isModified[15] = true;
if (! __WL_modifiedBeanIsRegistered) {
__WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
__WL_modifiedBeanIsRegistered = true;
}
}
//=================================================================
//Finder methods.
public java.util.Collection ejbFindBySupplierName(java.lang.String param0) throws javax.ejb.FinderException
{ if(__WL_verbose) {
Debug.say("called findBySupplierName");
}
java.sql.Connection __WL_con = null;
java.sql.PreparedStatement __WL_stmt = null;
java.sql.ResultSet __WL_rs = null;
String selectForUpdate = __WL_pm.selectForUpdate();
try {
__WL_con = __WL_pm.getConnection();
}
catch (java.lang.Exception e) {
__WL_pm.releaseResources(__WL_con, __WL_stmt, __WL_rs);
throw new javax.ejb.FinderException("Couldn't get connection: " + EOL +
e.toString() + EOL +
RDBMSUtils.throwable2StackTrace(e));
}
try {
java.lang.String __WL_query = "SELECT WL0.supplierName, WL0.abbreviation, WL0.address, WL0.bankAccount, WL0.bankName, WL0.companyPhone, WL0.email, WL0.fax, WL0.fixedPhone, WL0.homesite, WL0.linkman, WL0.mobilePhone, WL0.pyCode, WL0.remark, WL0.supplierZone, WL0.zipCode FROM supplier WL0 WHERE ( (WL0.supplierName LIKE ? ) ) " + selectForUpdate;
if(__WL_verbose) {
Debug.say("Finder produced statement string " + __WL_query);
}
__WL_stmt = __WL_con.prepareStatement(__WL_query);
// preparedStatementParamIndex reset.
if (param0 == null) { __WL_stmt.setNull(1,java.sql.Types.VARCHAR); } else { __WL_stmt.setString(1, param0); }
__WL_rs = __WL_stmt.executeQuery();
}
catch (java.lang.Exception e) {
__WL_pm.releaseResources(__WL_con, __WL_stmt, __WL_rs);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -