Beginner |
 |
Joined: Thu Jan 12, 2006 6:32 pm Posts: 39 Location: Austin, Tx, USA, NA, Sol 3
|
I've gone over the SQL mapping twice; Granted I may be missing something, but I can't find it. The message that comes to the screen is no help since all it prints is a '?'.
org.hibernate.PropertyAccessException: exception getting propert
y value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) getter of us.tx.state.oag.PeopleSoft.hbm.HbmPsJobCodeTable.?
Looks like the code isn't supplying a substitution value.
Hibernate version: 3.x
Mapping documents:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-cascade="none" default-access="property" auto-import="true">
<class name="us.tx.state.oag.PeopleSoft.hbm.HbmPsJobCodeTable"
table="REMOTE_PS_JOBCODE_TBL">
<composite-id>
<key-property name="SetId" column="SETID" type="string"/>
<key-property name="JobCode" column="JOBCODE" type="string"/>
<key-property name="EffectiveDate" column="EFFDT" type="timestamp"/>
</composite-id>
<property name="EffectiveStatus" column="EFF_STATUS" type="string" update="false" insert="false"/>
<property name="Description" column="DESCR" type="string" update="false" insert="false"/>
<property name="ShortDescription" column="DESCRSHORT" type="string" update="false" insert="false"/>
<property name="JobFunction" column="JOB_FUNCTION" type="string" update="false" insert="false"/>
<property name="SetIdSalary" column="SETID_SALARY" type="string" update="false" insert="false"/>
<property name="SalaryAdminPlan" column="SAL_ADMIN_PLAN" type="string" update="false" insert="false"/>
<property name="Grade" column="GRADE" type="string" update="false" insert="false"/>
<property name="Step" column="STEP" type="short" update="false" insert="false"/>
<property name="ManagerLevel" column="MANAGER_LEVEL" type="string" update="false" insert="false"/>
<property name="SurveySalary" column="SURVEY_SALARY" type="integer" update="false" insert="false"/>
<property name="SurveyJobCode" column="SURVEY_JOB_CODE" type="string" update="false" insert="false"/>
<property name="UnionCode" column="UNION_CD" type="string" update="false" insert="false"/>
<property name="RetroRate" column="RETRO_RATE" type="big_decimal" update="false" insert="false"/>
<property name="RetroPercent" column="RETRO_PERCENT" type="big_decimal" update="false" insert="false"/>
<property name="CurrencyCode" column="CURRENCY_CD" type="string" update="false" insert="false"/>
<property name="StandardHours" column="STD_HOURS" type="big_decimal" update="false" insert="false"/>
<property name="StandardHoursFrequency" column="STD_HRS_FREQUENCY" type="string" update="false" insert="false"/>
<property name="CompensationFrequency" column="COMP_FREQUENCY" type="string" update="false" insert="false"/>
<property name="WorkersCompCode" column="WORKERS_COMP_CD" type="string" update="false" insert="false"/>
<property name="JobFamily" column="JOB_FAMILY" type="string" update="false" insert="false"/>
<property name="JobKnowHowPoints" column="JOB_KNOWHOW_POINTS" type="integer" update="false" insert="false"/>
<property name="JobAccountTabPoints" column="JOB_ACCNTAB_POINTS" type="integer" update="false" insert="false"/>
<property name="JobProblemSolvingPoints" column="JOB_PROBSLV_POINTS" type="integer" update="false" insert="false"/>
<property name="JobPointsTotal" column="JOB_POINTS_TOTAL" type="integer" update="false" insert="false"/>
<property name="JobKnowHowPercent" column="JOB_KNOWHOW_PCT" type="big_decimal" update="false" insert="false"/>
<property name="JobAccountTabPercent" column="JOB_ACCNTAB_PCT" type="big_decimal" update="false" insert="false"/>
<property name="JobProblemSolvingPercent" column="JOB_PROBSLV_PCT" type="big_decimal" update="false" insert="false"/>
<property name="RegularTemporary" column="REG_TEMP" type="string" update="false" insert="false"/>
<property name="DirectlyTipped" column="DIRECTLY_TIPPED" type="string" update="false" insert="false"/>
<property name="MedicalCheckupRequired" column="MED_CHKUP_REQ" type="string" update="false" insert="false"/>
<property name="FslaStatus" column="FSLA_STATUS" type="string" update="false" insert="false"/>
<property name="EeoCode1" column="EEO1CODE" type="string" update="false" insert="false"/>
<property name="EeoCode4" column="EEO4CODE" type="string" update="false" insert="false"/>
<property name="EeoCode5" column="EEO5CODE" type="string" update="false" insert="false"/>
<property name="EeoCode6" column="EEO6CODE" type="string" update="false" insert="false"/>
<property name="EeoJobGroup" column="EEO_JOB_GROUP" type="string" update="false" insert="false"/>
<property name="UsSocCode" column="US_SOC_CD" type="string" update="false" insert="false"/>
<property name="IpedSsCode" column="IPEDSSCODE" type="string" update="false" insert="false"/>
<property name="CanPayEqualJobClass" column="CAN_PAYEQ_JOB_CLS" type="string" update="false" insert="false"/>
<property name="CanNocCode" column="CAN_NOC_CD" type="string" update="false" insert="false"/>
<property name="Seasonal" column="SEASONAL" type="string" update="false" insert="false"/>
<property name="BpsActivityCode" column="BPS_ACTIVITY_CD" type="string" update="false" insert="false"/>
<property name="FunctionCode" column="FUNCTION_CD" type="string" update="false" insert="false"/>
<property name="BaCode" column="BA_CD" type="string" update="false" insert="false"/>
<property name="Technical" column="TECHNICAL" type="string" update="false" insert="false"/>
<property name="MedicalSurveyRequired" column="MED_SURV_REQ" type="string" update="false" insert="false"/>
<property name="EmployeeCategoryFra" column="EMP_CATEGRY_FRA" type="string" update="false" insert="false"/>
<property name="ActivityTypeFra" column="ACTIVITY_TYPE_FRA" type="string" update="false" insert="false"/>
<property name="IsneeCodeFra" column="INSEE_CD_FRA" type="string" update="false" insert="false"/>
<property name="JobCtgCodeFra" column="JOB_CTG_FRA_CD" type="string" update="false" insert="false"/>
<property name="UkSocialCode" column="UK_SOC_CD" type="string" update="false" insert="false"/>
<property name="GvtPayPlan" column="GVT_PAY_PLAN" type="string" update="false" insert="false"/>
<property name="GvtOccSeries" column="GVT_OCC_SERIES" type="string" update="false" insert="false"/>
<property name="TrnProgram" column="TRN_PROGRAM" type="string" update="false" insert="false"/>
<property name="Company" column="COMPANY" type="string" update="false" insert="false"/>
<property name="GvtFunctionClass" column="GVT_FUNC_CLASS" type="string" update="false" insert="false"/>
<property name="GvtPositionTitleCode" column="GVT_POSN_TITLE_CD" type="string" update="false" insert="false"/>
<property name="GvtOfficialDescr" column="GVT_OFFICIAL_DESCR" type="string" update="false" insert="false"/>
<property name="GvtOrgTitleCode" column="GVT_ORG_TTL_CD" type="string" update="false" insert="false"/>
<property name="GvtOrgTitleDescr" column="GVT_ORG_TTL_DESCR" type="string" update="false" insert="false"/>
<property name="GvtPayBasis" column="GVT_PAY_BASIS" type="string" update="false" insert="false"/>
<property name="GvtSubAgency" column="GVT_SUB_AGENCY" type="string" update="false" insert="false"/>
<property name="GvtPoi" column="GVT_POI" type="string" update="false" insert="false"/>
<property name="GvtParenTitle" column="GVT_PAREN_TITLE" type="string" update="false" insert="false"/>
<property name="GvtOpmCertNumber" column="GVT_OPM_CERT_NBR" type="string" update="false" insert="false"/>
<property name="GvtPosnClassStnd" column="GVT_POSN_CLASS_STD" type="string" update="false" insert="false"/>
<property name="GvtPosnSensCode" column="GVT_POSN_SENS_CD" type="string" update="false" insert="false"/>
<property name="GvtIaActions" column="GVT_IA_ACTIONS" type="string" update="false" insert="false"/>
<property name="GvtExecFinDiscl" column="GVT_EXEC_FIN_DISCL" type="string" update="false" insert="false"/>
<property name="GvtEmpFinInt" column="GVT_EMP_FIN_INT" type="string" update="false" insert="false"/>
<property name="GvtPatcobCode" column="GVT_PATCOB_CD" type="string" update="false" insert="false"/>
<property name="GvtClassStandard" column="GVT_CLS_STANDARD" type="string" update="false" insert="false"/>
<property name="GvtClassifierId" column="GVT_CLASSIFIER_ID" type="string" update="false" insert="false"/>
<property name="GvtDateClassified" column="GVT_DT_CLASSIFIED" type="timestamp" update="false" insert="false"/>
<property name="BargUnit" column="BARG_UNIT" type="string" update="false" insert="false"/>
<property name="GvtFundSource" column="GVT_FUND_SOURCE" type="string" update="false" insert="false"/>
<property name="GvtLeoPosition" column="GVT_LEO_POSITION" type="string" update="false" insert="false"/>
<property name="GvtPerfPlan" column="GVT_PERF_PLAN" type="string" update="false" insert="false"/>
<property name="GvtTargetGrade" column="GVT_TARGET_GRADE" type="string" update="false" insert="false"/>
<property name="GvtPiUpdInd" column="GVT_PI_UPD_IND" type="string" update="false" insert="false"/>
<property name="EncumberIndc" column="ENCUMBER_INDC" type="string" update="false" insert="false"/>
<property name="PositionMgmtIndc" column="POSN_MGMT_INDC" type="string" update="false" insert="false"/>
<property name="EgAcademicRank" column="EG_ACADEMIC_RANK" type="string" update="false" insert="false"/>
<property name="EgGroup" column="EG_GROUP" type="string" update="false" insert="false"/>
<property name="HpStatusDuties" column="HP_STATS_DUTIES" type="string" update="false" insert="false"/>
<property name="HpStatusRptFlag" column="HP_STATS_RPT_FLAG" type="string" update="false" insert="false"/>
<property name="EncumberedSalaryOption" column="ENCUMB_SAL_OPTN" type="string" update="false" insert="false"/>
<property name="EncumberedSalaryAmount" column="ENCUMB_SAL_AMT" type="big_decimal" update="false" insert="false"/>
<property name="InailCode" column="INAIL_CODE" type="string" update="false" insert="false"/>
<property name="AscoCodeAustin" column="ASCO_CD_AUS" type="string" update="false" insert="false"/>
<property name="PkgTemplateId" column="PKG_TEMPLATE_ID" type="string" update="false" insert="false"/>
<property name="PkgRuleId" column="PKG_RULE_ID" type="string" update="false" insert="false"/>
<property name="FunctionAustin" column="FUNCTION_AUS" type="string" update="false" insert="false"/>
<property name="AnnualContactHoursAustin" column="ANN_CNTACT_HRS_AUS" type="big_decimal" update="false" insert="false"/>
<property name="TeachWeeksAustin" column="TEACH_WEEKS_AUS" type="short" update="false" insert="false"/>
<property name="CasualTypeAustin" column="CASUAL_TYPE_AUS" type="string" update="false" insert="false"/>
<property name="WorkdayHours" column="WORK_DAY_HOURS" type="big_decimal" update="false" insert="false"/>
<property name="FaPayProgram" column="FA_PAY_PROGRAM" type="string" update="false" insert="false"/>
<property name="ElectionGroup" column="ELECTION_GROUP" type="string" update="false" insert="false"/>
<property name="LaborAgreement" column="LABOR_AGREEMENT" type="string" update="false" insert="false"/>
<property name="FpProfCategory" column="FP_PROF_CATG" type="string" update="false" insert="false"/>
<property name="FpJobFamily" column="FP_JOB_FAMLY" type="string" update="false" insert="false"/>
<property name="FpOffColag" column="FP_OFF_COLAG" type="string" update="false" insert="false"/>
<property name="FpMatrixType" column="FP_MATRIX_TYP" type="string" update="false" insert="false"/>
<property name="FpBusinessCode" column="FP_BUSINESS_CD" type="string" update="false" insert="false"/>
<property name="FpJobCodeAcc" column="FP_JOBCD_ACC" type="string" update="false" insert="false"/>
<property name="FpAtchArea" column="FP_ATCH_AREA" type="string" update="false" insert="false"/>
<property name="FpJobType" column="FP_JOB_TYP" type="string" update="false" insert="false"/>
<property name="FpAutoRatify" column="FP_AUTO_RATFY" type="string" update="false" insert="false"/>
<property name="LastUpdateDate" column="LAST_UPDATE_DATE" type="timestamp" update="false" insert="false"/>
<property name="RegRegion" column="REG_REGION" type="string" update="false" insert="false"/>
<property name="SalRangeMinRate" column="SAL_RANGE_MIN_RATE" type="big_decimal" update="false" insert="false"/>
<property name="SalRangeMidRate" column="SAL_RANGE_MID_RATE" type="big_decimal" update="false" insert="false"/>
<property name="SalRangeMaxRate" column="SAL_RANGE_MAX_RATE" type="big_decimal" update="false" insert="false"/>
<property name="SalRangeCurrency" column="SAL_RANGE_CURRENCY" type="string" update="false" insert="false"/>
<property name="SalRangeFrequency" column="SAL_RANGE_FREQ" type="string" update="false" insert="false"/>
<property name="JobProfileId" column="JOB_PROFILE_ID" type="string" update="false" insert="false"/>
<property name="LongDescription" column="DESCRLONG" type="text" update="false" insert="false"/>
</class>
</hibernate-mapping>
Code between sessionFactory.openSession() and session.close():
N/A: Using JBoss
Full stack trace of any exception that occurs:
2006-07-06 15:58:49,375 INFO [STDOUT] PortletLog|1|7/6/06|15:58:49:375|
PersonnelActionManagement - *** ERROR: in showDefineAction
2006-07-06 15:58:49,375 INFO [STDOUT] PortletLog|1|7/6/06|15:58:49:375|
PersonnelActionManagement - org.hibernate.PropertyAccessException: exception getting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) getter of us.tx.state.oag.PeopleSoft.hbm.HbmPsJobCodeTable.?
2006-07-06 15:58:49,437 INFO [STDOUT] org.hibernate.PropertyAccessException: exception getting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) getter of us.tx.state.oag.PeopleSoft.hbm.HbmPsJobCodeTable.?
at org.hibernate.tuple.PojoComponentTuplizer.getPropertyValues(PojoComponentTuplizer.java:42)
at org.hibernate.type.ComponentType.getPropertyValues(ComponentType.java:257)
...
Caused by: java.lang.ClassCastException
at us.tx.state.oag.PeopleSoft.hbm.HbmPsJobCodeTable$$BulkBeanByCGLIB$$3e7dbdc1.getPropertyValues(<generated>)
at net.sf.cglib.beans.BulkBean.getPropertyValues(BulkBean.java:48)
at org.hibernate.tuple.PojoComponentTuplizer.getPropertyValues(PojoComponentTuplizer.java:39)
... 66 more
Name and version of the database you are using:
Sybase 12.x
|
|