-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: one-to-one load exception
PostPosted: Wed Dec 01, 2004 9:24 pm 
Newbie

Joined: Mon Jan 12, 2004 11:16 pm
Posts: 4
Hibernate version:
2.1.7
Mapping documents:
achivephoto.hbm.xml
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" >

<hibernate-mapping>
<!--
Created by the Middlegen Hibernate plugin 2.1

http://boss.bekk.no/boss/middlegen/
http://www.hibernate.org/
-->

<class
name="com.cnpec.ims.dam.model.archivesetup.ArchivePhoto"
table="ARCHIVE_PHOTO"
>
<meta attribute="class-description" inherit="false">
@hibernate.class
table="ARCHIVE_PHOTO"
</meta>

<composite-id name="comp_id" class="com.cnpec.ims.dam.model.archivesetup.ArchivePhotoPK">
<meta attribute="field-description" inherit="false">
@hibernate.id
generator-class="assigned"
</meta>
<key-property
name="prjtCd"
column="PRJT_CD"
type="java.lang.String"
length="2"
>
<meta attribute="field-description">
@hibernate.property
column="PRJT_CD"
length="2"
</meta>
</key-property>
<key-property
name="arcvCd"
column="ARCV_CD"
type="java.lang.String"
length="27"
>
<meta attribute="field-description">
@hibernate.property
column="ARCV_CD"
length="27"
</meta>
</key-property>
</composite-id>

<property
name="volNo"
type="java.lang.String"
column="VOL_NO"
length="10"
>
<meta attribute="field-description">
@hibernate.property
column="VOL_NO"
length="10"
</meta>
</property>
<property
name="photTyp"
type="java.lang.String"
column="PHOT_TYP"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="PHOT_TYP"
length="20"
</meta>
</property>
<property
name="photSpec"
type="java.lang.String"
column="PHOT_SPEC"
length="50"
>
<meta attribute="field-description">
@hibernate.property
column="PHOT_SPEC"
length="50"
</meta>
</property>
<property
name="photPn"
type="java.lang.String"
column="PHOT_PN"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="PHOT_PN"
length="20"
</meta>
</property>
<property
name="photDt"
type="java.sql.Date"
column="PHOT_DT"
length="7"
>
<meta attribute="field-description">
@hibernate.property
column="PHOT_DT"
length="7"
</meta>
</property>
<property
name="photPlc"
type="java.lang.String"
column="PHOT_PLC"
length="50"
>
<meta attribute="field-description">
@hibernate.property
column="PHOT_PLC"
length="50"
</meta>
</property>
<property
name="refNo"
type="java.lang.String"
column="REF_NO"
length="40"
>
<meta attribute="field-description">
@hibernate.property
column="REF_NO"
length="40"
</meta>
</property>
<property
name="cdromNo"
type="java.lang.String"
column="CDROM_NO"
length="22"
>
<meta attribute="field-description">
@hibernate.property
column="CDROM_NO"
length="22"
</meta>
</property>
<property
name="erecordTag"
type="java.lang.String"
column="ERECORD_TAG"
length="1"
>
<meta attribute="field-description">
@hibernate.property
column="ERECORD_TAG"
length="1"
</meta>
</property>
<property
name="erecordPath"
type="java.lang.String"
column="ERECORD_PATH"
length="250"
>
<meta attribute="field-description">
@hibernate.property
column="ERECORD_PATH"
length="250"
</meta>
</property>
<property
name="erecordName"
type="java.lang.String"
column="ERECORD_NAME"
length="100"
>
<meta attribute="field-description">
@hibernate.property
column="ERECORD_NAME"
length="100"
</meta>
</property>
<property
name="erecordCate"
type="java.lang.String"
column="ERECORD_CATE"
length="10"
>
<meta attribute="field-description">
@hibernate.property
column="ERECORD_CATE"
length="10"
</meta>
</property>
<property
name="erecordFormat"
type="java.lang.String"
column="ERECORD_FORMAT"
length="50"
>
<meta attribute="field-description">
@hibernate.property
column="ERECORD_FORMAT"
length="50"
</meta>
</property>
<property
name="erecordSize"
type="java.lang.String"
column="ERECORD_SIZE"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="ERECORD_SIZE"
length="20"
</meta>
</property>
<property
name="opSys"
type="java.lang.String"
column="OP_SYS"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="OP_SYS"
length="20"
</meta>
</property>
<property
name="dbms"
type="java.lang.String"
column="DBMS"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="DBMS"
length="20"
</meta>
</property>
<property
name="excSoft"
type="java.lang.String"
column="EXC_SOFT"
length="40"
>
<meta attribute="field-description">
@hibernate.property
column="EXC_SOFT"
length="40"
</meta>
</property>
<property
name="excSoftVer"
type="java.lang.String"
column="EXC_SOFT_VER"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="EXC_SOFT_VER"
length="20"
</meta>
</property>
<property
name="remark"
type="java.lang.String"
column="REMARK"
length="200"
>
<meta attribute="field-description">
@hibernate.property
column="REMARK"
length="200"
</meta>
</property>

<!-- Associations -->
<!-- derived association(s) for compound key -->
<!-- end of derived association(s) -->

<!-- bi-directional one-to-one association to Archive -->
<one-to-one
name="archive"
class="com.cnpec.ims.dam.model.archivesetup.Archive"
outer-join="false"
constrained="true"
cascade="save-update"
>
<meta attribute="field-description">
@hibernate.one-to-one
class="com.cnpec.ims.dam.model.archivesetup.Archive"
outer-join="auto"
constrained="true"
</meta>
</one-to-one>

</class>
</hibernate-mapping>
archive.hbm.xml
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" >

<hibernate-mapping>
<!--
Created by the Middlegen Hibernate plugin 2.1

http://boss.bekk.no/boss/middlegen/
http://www.hibernate.org/
-->

<class
name="com.cnpec.ims.dam.model.archivesetup.Archive"
table="ARCHIVE"
proxy="com.cnpec.ims.dam.model.archivesetup.Archive"
>
<meta attribute="class-description" inherit="false">
@hibernate.class
table="ARCHIVE"
</meta>

<composite-id name="comp_id" class="com.cnpec.ims.dam.model.archivesetup.ArchivePK">
<meta attribute="field-description" inherit="false">
@hibernate.id
generator-class="assigned"
</meta>
<key-property
name="prjtCd"
column="PRJT_CD"
type="java.lang.String"
length="2"
>
<meta attribute="field-description">
@hibernate.property
column="PRJT_CD"
length="2"
</meta>
</key-property>
<key-property
name="arcvCd"
column="ARCV_CD"
type="java.lang.String"
length="27"
>
<meta attribute="field-description">
@hibernate.property
column="ARCV_CD"
length="27"
</meta>
</key-property>
</composite-id>

<property
name="arcvType"
type="java.lang.Integer"
column="ARCV_TYPE"
length="2"
>
<meta attribute="field-description">
@hibernate.property
column="ARCV_TYPE"
length="2"
</meta>
</property>
<property
name="arcvCateCd"
type="java.lang.String"
column="ARCV_CATE_CD"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="ARCV_CATE_CD"
length="20"
</meta>
</property>
<property
name="arcvCateNm"
type="java.lang.String"
column="ARCV_CATE_NM"
length="200"
>
<meta attribute="field-description">
@hibernate.property
column="ARCV_CATE_NM"
length="200"
</meta>
</property>
<property
name="arcvVolno"
type="java.lang.String"
column="ARCV_VOLNO"
length="6"
>
<meta attribute="field-description">
@hibernate.property
column="ARCV_VOLNO"
length="6"
</meta>
</property>
<property
name="rollTtl"
type="java.lang.String"
column="ROLL_TTL"
length="200"
>
<meta attribute="field-description">
@hibernate.property
column="ROLL_TTL"
length="200"
</meta>
</property>
<property
name="hoSno"
type="java.lang.String"
column="HO_SNO"
length="10"
>
<meta attribute="field-description">
@hibernate.property
column="HO_SNO"
length="10"
</meta>
</property>
<property
name="stgDrt"
type="java.lang.String"
column="STG_DRT"
length="10"
>
<meta attribute="field-description">
@hibernate.property
column="STG_DRT"
length="10"
</meta>
</property>
<property
name="accessibility"
type="java.lang.String"
column="ACCESSIBILITY"
length="1"
>
<meta attribute="field-description">
@hibernate.property
column="ACCESSIBILITY"
length="1"
</meta>
</property>
<property
name="arcsNo"
type="java.lang.String"
column="ARCS_NO"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="ARCS_NO"
length="20"
</meta>
</property>
<property
name="rollThck"
type="java.lang.String"
column="ROLL_THCK"
length="2"
>
<meta attribute="field-description">
@hibernate.property
column="ROLL_THCK"
length="2"
</meta>
</property>
<property
name="ttPages"
type="java.lang.Integer"
column="TT_PAGES"
length="10"
>
<meta attribute="field-description">
@hibernate.property
column="TT_PAGES"
length="10"
</meta>
</property>
<property
name="ttSheets"
type="java.lang.Integer"
column="TT_SHEETS"
length="10"
>
<meta attribute="field-description">
@hibernate.property
column="TT_SHEETS"
length="10"
</meta>
</property>
<property
name="rcvDt"
type="java.sql.Date"
column="RCV_DT"
length="7"
>
<meta attribute="field-description">
@hibernate.property
column="RCV_DT"
length="7"
</meta>
</property>
<property
name="rollSts"
type="java.lang.String"
column="ROLL_STS"
length="1"
>
<meta attribute="field-description">
@hibernate.property
column="ROLL_STS"
length="1"
</meta>
</property>
<property
name="roller"
type="java.lang.String"
column="ROLLER"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="ROLLER"
length="20"
</meta>
</property>
<property
name="inputPn"
type="java.lang.String"
column="INPUT_PN"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="INPUT_PN"
length="20"
</meta>
</property>
<property
name="inputDt"
type="java.sql.Date"
column="INPUT_DT"
length="7"
>
<meta attribute="field-description">
@hibernate.property
column="INPUT_DT"
length="7"
</meta>
</property>
<property
name="iwRcvr"
type="java.lang.String"
column="IW_RCVR"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="IW_RCVR"
length="20"
</meta>
</property>
<property
name="iwDt"
type="java.sql.Date"
column="IW_DT"
length="7"
>
<meta attribute="field-description">
@hibernate.property
column="IW_DT"
length="7"
</meta>
</property>
<property
name="tdaRcvr"
type="java.lang.String"
column="TDA_RCVR"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="TDA_RCVR"
length="20"
</meta>
</property>
<property
name="tdaHoDt"
type="java.sql.Date"
column="TDA_HO_DT"
length="7"
>
<meta attribute="field-description">
@hibernate.property
column="TDA_HO_DT"
length="7"
</meta>
</property>
<property
name="tdaHoNo"
type="java.lang.String"
column="TDA_HO_NO"
length="20"
>
<meta attribute="field-description">
@hibernate.property
column="TDA_HO_NO"
length="20"
</meta>
</property>
<property
name="tdaRmk"
type="java.lang.String"
column="TDA_RMK"
length="200"
>
<meta attribute="field-description">
@hibernate.property
column="TDA_RMK"
length="200"
</meta>
</property>
<property
name="pobLtd"
type="java.lang.String"
column="POB_LTD"
length="200"
>
<meta attribute="field-description">
@hibernate.property
column="POB_LTD"
length="200"
</meta>
</property>
<property
name="issBdt"
type="java.sql.Date"
column="ISS_BDT"
length="7"
>
<meta attribute="field-description">
@hibernate.property
column="ISS_BDT"
length="7"
</meta>
</property>
<property
name="issEdt"
type="java.sql.Date"
column="ISS_EDT"
length="7"
>
<meta attribute="field-description">
@hibernate.property
column="ISS_EDT"
length="7"
</meta>
</property>
<property
name="remark"
type="java.lang.String"
column="REMARK"
length="200"
>
<meta attribute="field-description">
@hibernate.property
column="REMARK"
length="200"
</meta>
</property>

<!-- Associations -->
<!-- derived association(s) for compound key -->
<!-- end of derived association(s) -->

<!-- bi-directional one-to-one association to ArchiveItem -->
<one-to-one
name="archiveItem"
class="com.cnpec.ims.dam.model.archivesetup.ArchiveItem"
outer-join="auto"
cascade="none"
>
<meta attribute="field-description">
@hibernate.one-to-one
outer-join="auto"
</meta>
</one-to-one>
<!-- bi-directional one-to-one association to ArchiveHm -->
<one-to-one
name="archiveHm"
class="com.cnpec.ims.dam.model.archivesetup.ArchiveHm"
outer-join="auto"
cascade="none"
>
<meta attribute="field-description">
@hibernate.one-to-one
outer-join="auto"
</meta>
</one-to-one>
<!-- bi-directional one-to-one association to ArchiveTran -->
<one-to-one
name="archiveTran"
class="com.cnpec.ims.dam.model.archivehodes.ArchiveTran"
outer-join="auto"
cascade="none"
>
<meta attribute="field-description">
@hibernate.one-to-one
outer-join="auto"
</meta>
</one-to-one>
<!-- bi-directional one-to-one association to ArchiveDest -->
<one-to-one
name="archiveDest"
class="com.cnpec.ims.dam.model.archivehodes.ArchiveDest"
outer-join="auto"
cascade="none"
>
<meta attribute="field-description">
@hibernate.one-to-one
outer-join="auto"
</meta>
</one-to-one>
<!-- bi-directional one-to-one association to ArchiveXray -->
<one-to-one
name="archiveXray"
class="com.cnpec.ims.dam.model.archivesetup.ArchiveXray"
outer-join="auto"
property-ref="archive"
>
<meta attribute="field-description">
@hibernate.one-to-one
outer-join="auto"
property-ref="archive"
</meta>
</one-to-one>
<!-- bi-directional one-to-one association to ArchivePhoto -->
<one-to-one
name="archivePhoto"
class="com.cnpec.ims.dam.model.archivesetup.ArchivePhoto"
outer-join="auto"
cascade="none"
>
<meta attribute="field-description">
@hibernate.one-to-one
outer-join="auto"
</meta>
</one-to-one>
<!-- bi-directional one-to-one association to ArchiveIc -->
<one-to-one
name="archiveIc"
class="com.cnpec.ims.dam.model.archivesetup.ArchiveIc"
outer-join="auto"
>
<meta attribute="field-description">
@hibernate.one-to-one
outer-join="auto"
</meta>
</one-to-one>
<!-- bi-directional one-to-many association to ArchiveIdoc -->
<set
name="archiveIdocs"
lazy="true"
inverse="true"
cascade="all"
>
<meta attribute="field-description">
@hibernate.set
lazy="true"
inverse="true"
cascade="none"

@hibernate.collection-key
column="PRJT_CD"
@hibernate.collection-key
column="ARCV_CD"

@hibernate.collection-one-to-many
class="com.cnpec.ims.dam.model.archivesetup.ArchiveIdoc"
</meta>
<key>
<column name="PRJT_CD" />
<column name="ARCV_CD" />
</key>
<one-to-many
class="com.cnpec.ims.dam.model.archivesetup.ArchiveIdoc"
/>
</set>
<!-- bi-directional one-to-one association to ArchiveEref -->
<one-to-one
name="archiveEref"
class="com.cnpec.ims.dam.model.archivesetup.ArchiveEref"
outer-join="auto"
>
<meta attribute="field-description">
@hibernate.one-to-one
outer-join="auto"
</meta>
</one-to-one>
<!-- bi-directional one-to-many association to ArchiveCore -->
<set
name="archiveCores"
lazy="true"
inverse="true"
cascade="none"
>
<meta attribute="field-description">
@hibernate.set
lazy="true"
inverse="true"
cascade="none"

@hibernate.collection-key
column="PRJT_CD"
@hibernate.collection-key
column="ARCV_CD"

@hibernate.collection-one-to-many
class="com.cnpec.ims.dam.model.archivesetup.ArchiveCore"
</meta>
<key>
<column name="PRJT_CD" />
<column name="ARCV_CD" />
</key>
<one-to-many
class="com.cnpec.ims.dam.model.archivesetup.ArchiveCore"
/>
</set>
<!-- bi-directional one-to-one association to ArchiveRt -->
<one-to-one
name="archiveRt"
class="com.cnpec.ims.dam.model.archivesetup.ArchiveRt"
outer-join="auto"
>
<meta attribute="field-description">
@hibernate.one-to-one
outer-join="auto"
</meta>
</one-to-one>

</class>
</hibernate-mapping>

Code between sessionFactory.openSession() and session.close():
String hql = "select a from ArchivePhoto where 1=1";
Query q = session.createQuery(hsql);
List result = q.list();
Full stack trace of any exception that occurs:
[2004-12-02 09:16:00] BasicDAOHibernate.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - ERROR - com.cnpec.ims.dam.dao.InfrastructureException: net.sf.hibernate.PropertyAccessException: exception getting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) getter of com.cnpec.ims.dam.model.archivesetup.ArchivePK.?
Name and version of the database you are using:
Oracle 10g
The generated SQL (show_sql=true):
select * from ( select archivepho0_.PRJT_CD as PRJT_CD, archivepho0_.ARCV_CD as ARCV_CD, archivepho0_.VOL_NO as VOL_NO, archivepho0_.PHOT_TYP as PHOT_TYP, archivepho0_.PHOT_SPEC as PHOT_SPEC, archivepho0_.PHOT_PN as PHOT_PN, archivepho0_.PHOT_DT as PHOT_DT, archivepho0_.PHOT_PLC as PHOT_PLC, archivepho0_.REF_NO as REF_NO, archivepho0_.CDROM_NO as CDROM_NO, archivepho0_.ERECORD_TAG as ERECORD11_, archivepho0_.ERECORD_PATH as ERECORD12_, archivepho0_.ERECORD_NAME as ERECORD13_, archivepho0_.ERECORD_CATE as ERECORD14_, archivepho0_.ERECORD_FORMAT as ERECORD15_, archivepho0_.ERECORD_SIZE as ERECORD16_, archivepho0_.OP_SYS as OP_SYS, archivepho0_.DBMS as DBMS, archivepho0_.EXC_SOFT as EXC_SOFT, archivepho0_.EXC_SOFT_VER as EXC_SOF20_, archivepho0_.REMARK as REMARK from ARCHIVE_PHOTO archivepho0_ where (1=1 ) ) where rownum <= ?
Debug level Hibernate log excerpt:
[2004-12-02 09:16:00] BasicAction.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - INFO - request path: /dam/archivesetup/archivePhoto.do#formAction=null
[2004-12-02 09:16:00] BasicAction.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - INFO - redirect to: /dam/archivesetup/archivePhoto.do?formAction=search
[2004-12-02 09:16:00] BasicAction.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - INFO - request path: /dam/archivesetup/archivePhoto.do#formAction=search
[2004-12-02 09:16:00] BasicAction.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - convertToModel : the new model name is archivesetup.ArchivePhoto
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - opened session
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - iterate: select count(*) from ArchivePhoto a where 1=1
[2004-12-02 09:16:00] QueryParameters.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - named parameters: {}
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - flushing session
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Flushing entities and processing referenced collections
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Processing unreferenced collections
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Scheduling collection removes/(re)creates/updates
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Dont need to execute flush
[2004-12-02 09:16:00] QueryTranslator.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - HQL: select count(*) from com.cnpec.ims.dam.model.archivesetup.ArchivePhoto a where 1=1
[2004-12-02 09:16:00] QueryTranslator.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - SQL: select count(*) as x0_0_ from ARCHIVE_PHOTO archivepho0_ where (1=1 )
[2004-12-02 09:16:00] BatcherImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - about to open: 0 open PreparedStatements, 0 open ResultSets
[2004-12-02 09:16:00] SQL.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - select count(*) as x0_0_ from ARCHIVE_PHOTO archivepho0_ where (1=1 )
[2004-12-02 09:16:00] BatcherImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - preparing statement
[2004-12-02 09:16:00] IteratorImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - retrieving next results
[2004-12-02 09:16:00] IntegerType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '1' as column: x0_0_
[2004-12-02 09:16:00] IteratorImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - exhausted results
[2004-12-02 09:16:00] IteratorImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - closing iterator
[2004-12-02 09:16:00] BatcherImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - done closing: 0 open PreparedStatements, 0 open ResultSets
[2004-12-02 09:16:00] BatcherImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - closing statement
[2004-12-02 09:16:00] IteratorImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning current results
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - find: select a from ArchivePhoto a where 1=1
[2004-12-02 09:16:00] QueryParameters.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - named parameters: {}
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - flushing session
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Flushing entities and processing referenced collections
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Processing unreferenced collections
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Scheduling collection removes/(re)creates/updates
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Dont need to execute flush
[2004-12-02 09:16:00] QueryTranslator.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - HQL: select a from com.cnpec.ims.dam.model.archivesetup.ArchivePhoto a where 1=1
[2004-12-02 09:16:00] QueryTranslator.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - SQL: select archivepho0_.PRJT_CD as PRJT_CD, archivepho0_.ARCV_CD as ARCV_CD, archivepho0_.VOL_NO as VOL_NO, archivepho0_.PHOT_TYP as PHOT_TYP, archivepho0_.PHOT_SPEC as PHOT_SPEC, archivepho0_.PHOT_PN as PHOT_PN, archivepho0_.PHOT_DT as PHOT_DT, archivepho0_.PHOT_PLC as PHOT_PLC, archivepho0_.REF_NO as REF_NO, archivepho0_.CDROM_NO as CDROM_NO, archivepho0_.ERECORD_TAG as ERECORD11_, archivepho0_.ERECORD_PATH as ERECORD12_, archivepho0_.ERECORD_NAME as ERECORD13_, archivepho0_.ERECORD_CATE as ERECORD14_, archivepho0_.ERECORD_FORMAT as ERECORD15_, archivepho0_.ERECORD_SIZE as ERECORD16_, archivepho0_.OP_SYS as OP_SYS, archivepho0_.DBMS as DBMS, archivepho0_.EXC_SOFT as EXC_SOFT, archivepho0_.EXC_SOFT_VER as EXC_SOF20_, archivepho0_.REMARK as REMARK from ARCHIVE_PHOTO archivepho0_ where (1=1 )
[2004-12-02 09:16:00] BatcherImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - about to open: 0 open PreparedStatements, 0 open ResultSets
[2004-12-02 09:16:00] SQL.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - select * from ( select archivepho0_.PRJT_CD as PRJT_CD, archivepho0_.ARCV_CD as ARCV_CD, archivepho0_.VOL_NO as VOL_NO, archivepho0_.PHOT_TYP as PHOT_TYP, archivepho0_.PHOT_SPEC as PHOT_SPEC, archivepho0_.PHOT_PN as PHOT_PN, archivepho0_.PHOT_DT as PHOT_DT, archivepho0_.PHOT_PLC as PHOT_PLC, archivepho0_.REF_NO as REF_NO, archivepho0_.CDROM_NO as CDROM_NO, archivepho0_.ERECORD_TAG as ERECORD11_, archivepho0_.ERECORD_PATH as ERECORD12_, archivepho0_.ERECORD_NAME as ERECORD13_, archivepho0_.ERECORD_CATE as ERECORD14_, archivepho0_.ERECORD_FORMAT as ERECORD15_, archivepho0_.ERECORD_SIZE as ERECORD16_, archivepho0_.OP_SYS as OP_SYS, archivepho0_.DBMS as DBMS, archivepho0_.EXC_SOFT as EXC_SOFT, archivepho0_.EXC_SOFT_VER as EXC_SOF20_, archivepho0_.REMARK as REMARK from ARCHIVE_PHOTO archivepho0_ where (1=1 ) ) where rownum <= ?
[2004-12-02 09:16:00] BatcherImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - preparing statement
[2004-12-02 09:16:00] Loader.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - processing result set
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: PRJT_CD
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: ARCV_CD
[2004-12-02 09:16:00] Loader.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - result row: com.cnpec.ims.dam.model.archivesetup.ArchivePhotoPK@21d4356[prjtCd=5,arcvCd=5]
[2004-12-02 09:16:00] Loader.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Initializing object from ResultSet: com.cnpec.ims.dam.model.archivesetup.ArchivePhotoPK@21d4356[prjtCd=5,arcvCd=5]
[2004-12-02 09:16:00] Loader.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Hydrating entity: com.cnpec.ims.dam.model.archivesetup.ArchivePhoto#com.cnpec.ims.dam.model.archivesetup.ArchivePhotoPK@21d4356[prjtCd=5,arcvCd=5]
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: VOL_NO
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: PHOT_TYP
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: PHOT_SPEC
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: PHOT_PN
[2004-12-02 09:16:00] DateType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '30 十二月 1899' as column: PHOT_DT
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: PHOT_PLC
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: REF_NO
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: CDROM_NO
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: ERECORD11_
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: ERECORD12_
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: ERECORD13_
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: ERECORD14_
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: ERECORD15_
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: ERECORD16_
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: OP_SYS
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: DBMS
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: EXC_SOFT
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: EXC_SOF20_
[2004-12-02 09:16:00] StringType.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - returning '5' as column: REMARK
[2004-12-02 09:16:00] Loader.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - done processing result set (1 rows)
[2004-12-02 09:16:00] BatcherImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - done closing: 0 open PreparedStatements, 0 open ResultSets
[2004-12-02 09:16:00] BatcherImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - closing statement
[2004-12-02 09:16:00] Loader.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - total objects hydrated: 1
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - resolving associations for [com.cnpec.ims.dam.model.archivesetup.ArchivePhoto#com.cnpec.ims.dam.model.archivesetup.ArchivePhotoPK@21d4356[prjtCd=5,arcvCd=5]]
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - loading [com.cnpec.ims.dam.model.archivesetup.Archive#com.cnpec.ims.dam.model.archivesetup.ArchivePhotoPK@21d4356[prjtCd=5,arcvCd=5]]
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - done materializing entity [com.cnpec.ims.dam.model.archivesetup.ArchivePhoto#com.cnpec.ims.dam.model.archivesetup.ArchivePhotoPK@21d4356[prjtCd=5,arcvCd=5]]
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - initializing non-lazy collections
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - flushing session
[2004-12-02 09:16:00] Cascades.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - processing cascades for: com.cnpec.ims.dam.model.archivesetup.ArchivePhoto
[2004-12-02 09:16:00] Cascades.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - cascading to saveOrUpdate()
[2004-12-02 09:16:00] Cascades.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - done processing cascades for: com.cnpec.ims.dam.model.archivesetup.ArchivePhoto
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Flushing entities and processing referenced collections
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Processing unreferenced collections
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Scheduling collection removes/(re)creates/updates
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
[2004-12-02 09:16:00] Printer.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - listing entities:
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - closing session
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - disconnecting session
[2004-12-02 09:16:00] BasicDAOHibernate.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - ERROR - com.cnpec.ims.dam.dao.InfrastructureException: net.sf.hibernate.PropertyAccessException: exception getting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) getter of com.cnpec.ims.dam.model.archivesetup.ArchivePK.?
[2004-12-02 09:16:00] CacheSynchronization.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - transaction before completion callback
[2004-12-02 09:16:00] CacheSynchronization.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - transaction after completion callback, status: 3
[2004-12-02 09:16:00] SessionImpl.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - DEBUG - transaction completion
[2004-12-02 09:16:00] LogHandling.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - INFO - {[model=com.cnpec.ims.dam.model.archivesetup.ArchivePhoto],archive={[model=com.cnpec.ims.dam.model.archivesetup.Archive],archiveCores=null,archiveIdocs=null,archiveRt=null,archiveEref=null,archiveIc=null,archivePhoto=null,archiveXray=null,archiveDest=null,archiveTran=null,archiveHm=null,archiveItem=null,remark=null,issEdt=null,issBdt=null,pobLtd=null,tdaRmk=null,tdaHoNo=null,tdaHoDt=null,tdaRcvr=null,iwDt=null,iwRcvr=null,inputDt=null,inputPn=null,roller=null,rollSts=null,rcvDt=null,ttSheets=0,ttPages=0,rollThck=null,arcsNo=null,accessibility=null,stgDrt=null,hoSno=null,rollTtl=null,arcvVolno=null,arcvCateNm=null,arcvCateCd=null,arcvType=0,comp_id={[model=com.cnpec.ims.dam.model.archivesetup.ArchivePK],arcvCd=null,prjtCd=null}},remark=null,excSoftVer=null,excSoft=null,dbms=null,opSys=null,erecordSize=null,erecordFormat=null,erecordCate=null,erecordName=null,erecordPath=null,erecordTag=null,cdromNo=null,refNo=null,photPlc=null,photDt=null,photPn=null,photSpec=null,photTyp=null,volNo=null,comp_id={[model=com.cnpec.ims.dam.model.archivesetup.ArchivePhotoPK],arcvCd=null,prjtCd=null}}
[2004-12-02 09:16:00] LogHandling.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - INFO - {[model=com.cnpec.ims.dam.model.archivesetup.ArchivePhoto],archive={[model=com.cnpec.ims.dam.model.archivesetup.Archive],archiveCores=null,archiveIdocs=null,archiveRt=null,archiveEref=null,archiveIc=null,archivePhoto=null,archiveXray=null,archiveDest=null,archiveTran=null,archiveHm=null,archiveItem=null,remark=null,issEdt=null,issBdt=null,pobLtd=null,tdaRmk=null,tdaHoNo=null,tdaHoDt=null,tdaRcvr=null,iwDt=null,iwRcvr=null,inputDt=null,inputPn=null,roller=null,rollSts=null,rcvDt=null,ttSheets=0,ttPages=0,rollThck=null,arcsNo=null,accessibility=null,stgDrt=null,hoSno=null,rollTtl=null,arcvVolno=null,arcvCateNm=null,arcvCateCd=null,arcvType=0,comp_id={[model=com.cnpec.ims.dam.model.archivesetup.ArchivePK],arcvCd=null,prjtCd=null}},remark=null,excSoftVer=null,excSoft=null,dbms=null,opSys=null,erecordSize=null,erecordFormat=null,erecordCate=null,erecordName=null,erecordPath=null,erecordTag=null,cdromNo=null,refNo=null,photPlc=null,photDt=null,photPn=null,photSpec=null,photTyp=null,volNo=null,comp_id={[model=com.cnpec.ims.dam.model.archivesetup.ArchivePhotoPK],arcvCd=null,prjtCd=null}}
[2004-12-02 09:16:00] RuntimeTraceHandling.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - INFO - BasicBusiness#search spends 16ms
[2004-12-02 09:16:00] BasicAction.ExecuteThread: '14' for queue: 'weblogic.kernel.Default' - INFO - forward to: .dam.archivesetup.archivePhoto.list


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.