-->
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.  [ 2 posts ] 
Author Message
 Post subject: Problems lazy load a collection with inner join
PostPosted: Thu Jul 27, 2006 1:44 pm 
Regular
Regular

Joined: Fri Feb 13, 2004 10:02 pm
Posts: 90
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
3.0.5

Mapping documents:
Partner.hbm.xml

Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Jun 7, 2006 1:46:22 PM by Hibernate Tools 3.1.0.beta5 -->
<hibernate-mapping>
   <class name="com.ata.partnership.dataaccess.value.Partner"
      table="Partner" >
      <id name="id" type="string">
         <column name="PARTNER_ID" length="3" />
         <generator class="assigned" />
      </id>
      <property name="partnerNm" type="string">
         <column name="PARTNER_NM" length="20" not-null="true" />
      </property>
      <property name="partnerDesc" type="string">
         <column name="PARTNER_DESC" length="50" />
      </property>
      <property name="partnerType" type="java.lang.Character">
         <column name="PARTNER_TYPE" length="1" />
      </property>
      <property name="partnerProgCd" type="string">
         <column name="PARTNER_PROG_CD" length="10" />
      </property>
      <property name="defaultActivityTypeCd" type="string">
         <column name="DEFAULT_ACTIVITY_TYPE_CD" length="20" />
      </property>
      <property name="effectiveDt" type="calendar_date">
         <column name="EFFECTIVE_DT" length="10" />
      </property>
      <property name="status" type="java.lang.Character">
         <column name="STATUS" length="1" />
      </property>
      <property name="addressLine1" type="string">
         <column name="Address_Line_1" length="40" />
      </property>
      <property name="addressLine2" type="string">
         <column name="Address_Line_2" length="40" />
      </property>
      <property name="city" type="string">
         <column name="City" length="30" />
      </property>
      <property name="stateCd" type="string">
         <column name="State_CD" length="2" />
      </property>
      <property name="zipCd" type="string">
         <column name="ZIP_CD" length="10" />
      </property>
      <property name="phoneNbr" type="string">
         <column name="Phone_Nbr" length="20" />
      </property>
      <property name="rowCrtDttm" type="com.ata.teradata.hibernate.TeradataTimestamp">
         <column name="ROW_CRT_DTTM" length="19" not-null="true" />
      </property>
      <property name="rowCrtUserId" type="string">
         <column name="ROW_CRT_USER_ID" length="20" not-null="true" />
      </property>
      <property name="rowLastProcId" type="int">
         <column name="ROW_LAST_PROC_ID" not-null="true" />
      </property>
      <property name="rowUpdtDttm" type="com.ata.teradata.hibernate.TeradataTimestamp" >
         <column name="ROW_UPDT_DTTM" length="19" not-null="true" />
      </property>
      <property name="rowUpdtUserId" type="string">
         <column name="ROW_UPDT_USER_ID" length="20" not-null="true" />
      </property>

      <set name="contracts" inverse="true" cascade="all-delete-orphan" >
         <key column="PARTNER_ID"/>
         <one-to-many class="com.ata.partnership.dataaccess.value.Contract"/>
      </set>
      
      <set name="promotions" inverse="true" cascade="all-delete-orphan">
         <key column="PARTNER_ID"/>
         <one-to-many class="com.ata.partnership.dataaccess.value.Promotion" />
      </set>
      
   </class>
</hibernate-mapping>


Promotion.hbm.xml
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Jun 7, 2006 1:46:22 PM by Hibernate Tools 3.1.0.beta5 -->
<hibernate-mapping>
   <class name="com.ata.partnership.dataaccess.value.Promotion"
      table="Promotion">
      <id name="id"
         type="com.ata.teradata.hibernate.TeradataTrimmedChar">
         <column name="PROMO_ID" length="20" />
         <generator class="assigned" />
      </id>
      <many-to-one name="partner"
         class="com.ata.partnership.dataaccess.value.Partner"
         column="partner_Id" />
      <property name="promoStartDt" type="calendar_date">
         <column name="PROMO_START_DT" length="10" not-null="true" />
      </property>
      <property name="promoEndDt" type="calendar_date">
         <column name="PROMO_END_DT" length="10" />
      </property>
      <property name="promoDesc" type="string">
         <column name="PROMO_DESC" length="50" />
      </property>
      <property name="campaignId" type="string">
         <column name="CAMPAIGN_ID" length="50">
            <comment>
               If this promotion is not associated with a campaign,
               this column must be NULL
            </comment>
         </column>
      </property>
      <property name="rowCrtDttm"
         type="com.ata.teradata.hibernate.TeradataTimestamp">
         <column name="ROW_CRT_DTTM" length="19" not-null="true" />
      </property>
      <property name="rowCrtUserId" type="string">
         <column name="ROW_CRT_USER_ID" length="20" not-null="true" />
      </property>
      <property name="rowLastProcId" type="int">
         <column name="ROW_LAST_PROC_ID" not-null="true" />
      </property>
      <property name="rowUpdtDttm"
         type="com.ata.teradata.hibernate.TeradataTimestamp">
         <column name="ROW_UPDT_DTTM" length="19" not-null="true" />
      </property>
      <property name="rowUpdtUserId" type="string">
         <column name="ROW_UPDT_USER_ID" length="20" not-null="true" />
      </property>
        <join table="promotion_marketing_detail">
         <key>
            <column name="promo_id" length="20" />
         </key>
         <property name="channels" type="string">
            <column name="Channels" length="20" />
         </property>
         <property name="quantity" type="java.lang.Integer">
            <column name="Quantity" />
         </property>
         <property name="comments" type="string">
            <column name="Comments" length="200" />
         </property>
      </join>
   
   </class>

</hibernate-mapping>


Code between sessionFactory.openSession() and session.close():
String hql = "from " + getClassName()
+ " as partner where partner.status = :status";

Partner partner = getHibernateTemplate().findByNamedParam(hql, "status", Partner.ACTIVE);

Set promotions = partner.getPromotions();

Full stack trace of any exception that occurs:

Name and version of the database you are using:
Teradata
The generated SQL (show_sql=true):
Code:
log4j:WARN No appenders could be found for logger (com.ata.partnership.dataaccess.dao.PartnerDaoTest).
log4j:WARN Please initialize the log4j system properly.
Hibernate: select partner_.PARTNER_ID, partner_.PARTNER_NM as PARTNER2_5_, partner_.PARTNER_DESC as PARTNER3_5_, partner_.PARTNER_TYPE as PARTNER4_5_, partner_.PARTNER_PROG_CD as PARTNER5_5_, partner_.DEFAULT_ACTIVITY_TYPE_CD as DEFAULT6_5_, partner_.EFFECTIVE_DT as EFFECTIVE7_5_, partner_.STATUS as STATUS5_, partner_.Address_Line_1 as Address9_5_, partner_.Address_Line_2 as Address10_5_, partner_.City as City5_, partner_.State_CD as State12_5_, partner_.ZIP_CD as ZIP13_5_, partner_.Phone_Nbr as Phone14_5_, partner_.ROW_CRT_DTTM as ROW15_5_, partner_.ROW_CRT_USER_ID as ROW16_5_, partner_.ROW_LAST_PROC_ID as ROW17_5_, partner_.ROW_UPDT_DTTM as ROW18_5_, partner_.ROW_UPDT_USER_ID as ROW19_5_ from Partner partner_ where partner_.PARTNER_ID=?
Hibernate: select contract_.Partner_ID, contract_.Contract_ID, contract_.Start_Dt, contract_.End_Dt, contract_.Contract_Desc as Contract5_0_, contract_.Row_Crt_DtTm as Row6_0_, contract_.Row_Crt_User_ID as Row7_0_, contract_.Row_Last_Proc_ID as Row8_0_, contract_.Row_Updt_DtTm as Row9_0_, contract_.Row_Updt_User_ID as Row10_0_, contract_1_.Base_Rate_Amt as Base5_1_, contract_1_.Bonus_Rate_Amt as Bonus6_1_, contract_1_.Xfer_Rate_Amt as Xfer7_1_, contract_1_.Enrollment_Rate_Amt as Enrollment8_1_, contract_1_.Oth_Rate_Amt as Oth9_1_, contract_1_.Service_Fee_Interval as Service10_1_, contract_1_.Service_Fee_Amt as Service11_1_, contract_1_.Exp_Period as Exp12_1_, contract_1_.Min_Rev_Amt as Min13_1_, contract_1_.Accepts_Neg_Values_Flg as Accepts14_1_, contract_1_.Row_Crt_DtTm as Row15_1_, contract_1_.Row_Crt_User_ID as Row16_1_, contract_1_.Row_Last_Proc_ID as Row17_1_, contract_1_.Row_Updt_DtTm as Row18_1_, contract_1_.Row_Updt_User_ID as Row19_1_ from Contract contract_ inner join Contract_detail_history contract_1_ on contract_.Partner_ID=contract_1_.partner_id and contract_.Contract_ID=contract_1_.contract_id and contract_.Start_Dt=contract_1_.Start_Dt and contract_.End_Dt=contract_1_.End_Dt where contract_.Partner_ID=? and contract_.Contract_ID=? and contract_.Start_Dt=? and contract_.End_Dt=?
Hibernate: select contract_.Partner_ID, contract_.Contract_ID, contract_.Start_Dt, contract_.End_Dt, contract_.Contract_Desc as Contract5_0_, contract_.Row_Crt_DtTm as Row6_0_, contract_.Row_Crt_User_ID as Row7_0_, contract_.Row_Last_Proc_ID as Row8_0_, contract_.Row_Updt_DtTm as Row9_0_, contract_.Row_Updt_User_ID as Row10_0_, contract_1_.Base_Rate_Amt as Base5_1_, contract_1_.Bonus_Rate_Amt as Bonus6_1_, contract_1_.Xfer_Rate_Amt as Xfer7_1_, contract_1_.Enrollment_Rate_Amt as Enrollment8_1_, contract_1_.Oth_Rate_Amt as Oth9_1_, contract_1_.Service_Fee_Interval as Service10_1_, contract_1_.Service_Fee_Amt as Service11_1_, contract_1_.Exp_Period as Exp12_1_, contract_1_.Min_Rev_Amt as Min13_1_, contract_1_.Accepts_Neg_Values_Flg as Accepts14_1_, contract_1_.Row_Crt_DtTm as Row15_1_, contract_1_.Row_Crt_User_ID as Row16_1_, contract_1_.Row_Last_Proc_ID as Row17_1_, contract_1_.Row_Updt_DtTm as Row18_1_, contract_1_.Row_Updt_User_ID as Row19_1_ from Contract contract_ inner join Contract_detail_history contract_1_ on contract_.Partner_ID=contract_1_.partner_id and contract_.Contract_ID=contract_1_.contract_id and contract_.Start_Dt=contract_1_.Start_Dt and contract_.End_Dt=contract_1_.End_Dt where contract_.Partner_ID=? and contract_.Contract_ID=? and contract_.Start_Dt=? and contract_.End_Dt=?
Hibernate: select promotion_.PROMO_ID, promotion_.partner_Id as partner2_6_, promotion_.PROMO_START_DT as PROMO3_6_, promotion_.PROMO_END_DT as PROMO4_6_, promotion_.PROMO_DESC as PROMO5_6_, promotion_.CAMPAIGN_ID as CAMPAIGN6_6_, promotion_.ROW_CRT_DTTM as ROW7_6_, promotion_.ROW_CRT_USER_ID as ROW8_6_, promotion_.ROW_LAST_PROC_ID as ROW9_6_, promotion_.ROW_UPDT_DTTM as ROW10_6_, promotion_.ROW_UPDT_USER_ID as ROW11_6_, promotion_1_.Channels as Channels7_, promotion_1_.Quantity as Quantity7_, promotion_1_.Comments as Comments7_ from Promotion promotion_ inner join promotion_marketing_detail promotion_1_ on promotion_.PROMO_ID=promotion_1_.promo_id where promotion_.PROMO_ID=?
Hibernate: select partner_.PARTNER_ID, partner_.PARTNER_NM as PARTNER2_5_, partner_.PARTNER_DESC as PARTNER3_5_, partner_.PARTNER_TYPE as PARTNER4_5_, partner_.PARTNER_PROG_CD as PARTNER5_5_, partner_.DEFAULT_ACTIVITY_TYPE_CD as DEFAULT6_5_, partner_.EFFECTIVE_DT as EFFECTIVE7_5_, partner_.STATUS as STATUS5_, partner_.Address_Line_1 as Address9_5_, partner_.Address_Line_2 as Address10_5_, partner_.City as City5_, partner_.State_CD as State12_5_, partner_.ZIP_CD as ZIP13_5_, partner_.Phone_Nbr as Phone14_5_, partner_.ROW_CRT_DTTM as ROW15_5_, partner_.ROW_CRT_USER_ID as ROW16_5_, partner_.ROW_LAST_PROC_ID as ROW17_5_, partner_.ROW_UPDT_DTTM as ROW18_5_, partner_.ROW_UPDT_USER_ID as ROW19_5_ from Partner partner_ where partner_.PARTNER_ID=?
Hibernate: select contract_.Partner_ID, contract_.Contract_ID, contract_.Start_Dt, contract_.End_Dt, contract_.Contract_Desc as Contract5_0_, contract_.Row_Crt_DtTm as Row6_0_, contract_.Row_Crt_User_ID as Row7_0_, contract_.Row_Last_Proc_ID as Row8_0_, contract_.Row_Updt_DtTm as Row9_0_, contract_.Row_Updt_User_ID as Row10_0_, contract_1_.Base_Rate_Amt as Base5_1_, contract_1_.Bonus_Rate_Amt as Bonus6_1_, contract_1_.Xfer_Rate_Amt as Xfer7_1_, contract_1_.Enrollment_Rate_Amt as Enrollment8_1_, contract_1_.Oth_Rate_Amt as Oth9_1_, contract_1_.Service_Fee_Interval as Service10_1_, contract_1_.Service_Fee_Amt as Service11_1_, contract_1_.Exp_Period as Exp12_1_, contract_1_.Min_Rev_Amt as Min13_1_, contract_1_.Accepts_Neg_Values_Flg as Accepts14_1_, contract_1_.Row_Crt_DtTm as Row15_1_, contract_1_.Row_Crt_User_ID as Row16_1_, contract_1_.Row_Last_Proc_ID as Row17_1_, contract_1_.Row_Updt_DtTm as Row18_1_, contract_1_.Row_Updt_User_ID as Row19_1_ from Contract contract_ inner join Contract_detail_history contract_1_ on contract_.Partner_ID=contract_1_.partner_id and contract_.Contract_ID=contract_1_.contract_id and contract_.Start_Dt=contract_1_.Start_Dt and contract_.End_Dt=contract_1_.End_Dt where contract_.Partner_ID=? and contract_.Contract_ID=? and contract_.Start_Dt=? and contract_.End_Dt=?
Hibernate: select contract_.Partner_ID, contract_.Contract_ID, contract_.Start_Dt, contract_.End_Dt, contract_.Contract_Desc as Contract5_0_, contract_.Row_Crt_DtTm as Row6_0_, contract_.Row_Crt_User_ID as Row7_0_, contract_.Row_Last_Proc_ID as Row8_0_, contract_.Row_Updt_DtTm as Row9_0_, contract_.Row_Updt_User_ID as Row10_0_, contract_1_.Base_Rate_Amt as Base5_1_, contract_1_.Bonus_Rate_Amt as Bonus6_1_, contract_1_.Xfer_Rate_Amt as Xfer7_1_, contract_1_.Enrollment_Rate_Amt as Enrollment8_1_, contract_1_.Oth_Rate_Amt as Oth9_1_, contract_1_.Service_Fee_Interval as Service10_1_, contract_1_.Service_Fee_Amt as Service11_1_, contract_1_.Exp_Period as Exp12_1_, contract_1_.Min_Rev_Amt as Min13_1_, contract_1_.Accepts_Neg_Values_Flg as Accepts14_1_, contract_1_.Row_Crt_DtTm as Row15_1_, contract_1_.Row_Crt_User_ID as Row16_1_, contract_1_.Row_Last_Proc_ID as Row17_1_, contract_1_.Row_Updt_DtTm as Row18_1_, contract_1_.Row_Updt_User_ID as Row19_1_ from Contract contract_ inner join Contract_detail_history contract_1_ on contract_.Partner_ID=contract_1_.partner_id and contract_.Contract_ID=contract_1_.contract_id and contract_.Start_Dt=contract_1_.Start_Dt and contract_.End_Dt=contract_1_.End_Dt where contract_.Partner_ID=? and contract_.Contract_ID=? and contract_.Start_Dt=? and contract_.End_Dt=?
Hibernate: select promotion_.PROMO_ID, promotion_.partner_Id as partner2_6_, promotion_.PROMO_START_DT as PROMO3_6_, promotion_.PROMO_END_DT as PROMO4_6_, promotion_.PROMO_DESC as PROMO5_6_, promotion_.CAMPAIGN_ID as CAMPAIGN6_6_, promotion_.ROW_CRT_DTTM as ROW7_6_, promotion_.ROW_CRT_USER_ID as ROW8_6_, promotion_.ROW_LAST_PROC_ID as ROW9_6_, promotion_.ROW_UPDT_DTTM as ROW10_6_, promotion_.ROW_UPDT_USER_ID as ROW11_6_, promotion_1_.Channels as Channels7_, promotion_1_.Quantity as Quantity7_, promotion_1_.Comments as Comments7_ from Promotion promotion_ inner join promotion_marketing_detail promotion_1_ on promotion_.PROMO_ID=promotion_1_.promo_id where promotion_.PROMO_ID=?
Hibernate: insert into Partner (PARTNER_NM, PARTNER_DESC, PARTNER_TYPE, PARTNER_PROG_CD, DEFAULT_ACTIVITY_TYPE_CD, EFFECTIVE_DT, STATUS, Address_Line_1, Address_Line_2, City, State_CD, ZIP_CD, Phone_Nbr, ROW_CRT_DTTM, ROW_CRT_USER_ID, ROW_LAST_PROC_ID, ROW_UPDT_DTTM, ROW_UPDT_USER_ID, PARTNER_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Promotion (partner_Id, PROMO_START_DT, PROMO_END_DT, PROMO_DESC, CAMPAIGN_ID, ROW_CRT_DTTM, ROW_CRT_USER_ID, ROW_LAST_PROC_ID, ROW_UPDT_DTTM, ROW_UPDT_USER_ID, PROMO_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into promotion_marketing_detail (Channels, Quantity, Comments, promo_id) values (?, ?, ?, ?)
Hibernate: insert into Partner (PARTNER_NM, PARTNER_DESC, PARTNER_TYPE, PARTNER_PROG_CD, DEFAULT_ACTIVITY_TYPE_CD, EFFECTIVE_DT, STATUS, Address_Line_1, Address_Line_2, City, State_CD, ZIP_CD, Phone_Nbr, ROW_CRT_DTTM, ROW_CRT_USER_ID, ROW_LAST_PROC_ID, ROW_UPDT_DTTM, ROW_UPDT_USER_ID, PARTNER_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Promotion (partner_Id, PROMO_START_DT, PROMO_END_DT, PROMO_DESC, CAMPAIGN_ID, ROW_CRT_DTTM, ROW_CRT_USER_ID, ROW_LAST_PROC_ID, ROW_UPDT_DTTM, ROW_UPDT_USER_ID, PROMO_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into promotion_marketing_detail (Channels, Quantity, Comments, promo_id) values (?, ?, ?, ?)
Hibernate: select partner0_.PARTNER_ID as PARTNER1_, partner0_.PARTNER_NM as PARTNER2_5_, partner0_.PARTNER_DESC as PARTNER3_5_, partner0_.PARTNER_TYPE as PARTNER4_5_, partner0_.PARTNER_PROG_CD as PARTNER5_5_, partner0_.DEFAULT_ACTIVITY_TYPE_CD as DEFAULT6_5_, partner0_.EFFECTIVE_DT as EFFECTIVE7_5_, partner0_.STATUS as STATUS5_, partner0_.Address_Line_1 as Address9_5_, partner0_.Address_Line_2 as Address10_5_, partner0_.City as City5_, partner0_.State_CD as State12_5_, partner0_.ZIP_CD as ZIP13_5_, partner0_.Phone_Nbr as Phone14_5_, partner0_.ROW_CRT_DTTM as ROW15_5_, partner0_.ROW_CRT_USER_ID as ROW16_5_, partner0_.ROW_LAST_PROC_ID as ROW17_5_, partner0_.ROW_UPDT_DTTM as ROW18_5_, partner0_.ROW_UPDT_USER_ID as ROW19_5_ from Partner partner0_ where partner0_.STATUS=?
Hibernate: select promotions0_.PARTNER_ID as PARTNER12_1_, promotions0_.PROMO_ID as PROMO1_1_, promotions0_.PROMO_ID as PROMO1_0_, promotions0_.partner_Id as partner2_6_0_, promotions0_.PROMO_START_DT as PROMO3_6_0_, promotions0_.PROMO_END_DT as PROMO4_6_0_, promotions0_.PROMO_DESC as PROMO5_6_0_, promotions0_.CAMPAIGN_ID as CAMPAIGN6_6_0_, promotions0_.ROW_CRT_DTTM as ROW7_6_0_, promotions0_.ROW_CRT_USER_ID as ROW8_6_0_, promotions0_.ROW_LAST_PROC_ID as ROW9_6_0_, promotions0_.ROW_UPDT_DTTM as ROW10_6_0_, promotions0_.ROW_UPDT_USER_ID as ROW11_6_0_, promotions0_1_.Channels as Channels7_0_, promotions0_1_.Quantity as Quantity7_0_, promotions0_1_.Comments as Comments7_0_ from Promotion promotions0_ inner join promotion_marketing_detail promotions0_1_ on promotions0_.PROMO_ID=promotions0_1_.promo_id where promotions0_.PARTNER_ID=?

Debug level Hibernate log excerpt:
[code]
DEBUG main org.hibernate.pretty.Printer - com.ata.partnership.dataaccess.value.Promotion{comments=This is a test, rowUpdtUserId=TST, promoEndDt=27 July 2006, campaignId=ts1Test, id=123, rowUpdtDttm=java.util.GregorianCalendar[time=1154021619038,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2006,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=27,DAY_OF_YEAR=208,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=33,SECOND=39,MILLISECOND=38,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], partner=com.ata.partnership.dataaccess.value.Partner#ts1, promoStartDt=27 June 2006, rowCrtDttm=java.util.GregorianCalendar[time=1154021619038,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2006,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=27,DAY_OF_YEAR=208,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=33,SECOND=39,MILLISECOND=38,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], rowLastProcId=0, rowCrtUserId=DaoTest, quantity=1, channels=TSTHNL, promoDesc=testpromo}
DEBUG main org.hibernate.pretty.Printer - com.ata.partnership.dataaccess.value.Contract{rowUpdtUserId=testfoo, expPeriod=12, rowUpdtDtTm=java.util.GregorianCalendar[time=1154021619038,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2006,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=27,DAY_OF_YEAR=208,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=33,SECOND=39,MILLISECOND=38,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], othRateAmt=99999.9998999999952502548694610595703125, minRevAmt=null, baseRateAmt=99999.9998999999952502548694610595703125, rowCrtDtTm=java.util.GregorianCalendar[time=1154021619038,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2006,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=27,DAY_OF_YEAR=208,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=33,SECOND=39,MILLISECOND=38,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], serviceFeeInterval=Monthly, bonusRateAmt=99999.9998999999952502548694610595703125, rowLastProcId2=0, id=component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=12345}, acceptsNegValuesFlg=true, rowCrtUserId2=testfoo, xferRateAmt=99999.9998999999952502548694610595703125, rowCrtDtTm2=java.util.GregorianCalendar[time=1154021619038,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2006,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=27,DAY_OF_YEAR=208,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=33,SECOND=39,MILLISECOND=38,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], rowLastProcId=0, enrollmentRateAmt=99999.9998999999952502548694610595703125, serviceFeeAmt=99999.9998999999952502548694610595703125, rowUpdtDtTm2=java.util.GregorianCalendar[time=1154021619038,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2006,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=27,DAY_OF_YEAR=208,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=33,SECOND=39,MILLISECOND=38,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], contractDesc=test, rowCrtUserId=testfoo, rowUpdtUserId2=testfoo}
DEBUG main org.hibernate.pretty.Printer - com.ata.partnership.dataaccess.value.Partner{rowUpdtUserId=testfoo, partnerProgCd=TST, defaultActivityTypeCd=T, effectiveDt=27 July 2006, partnerType=X, partnerDesc=test desc, status=I, addressLine2=test line 2, id=ts2, stateCd=A, promotions=[com.ata.partnership.dataaccess.value.Promotion#456], rowUpdtDttm=java.util.GregorianCalendar[time=1154021619038,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2006,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=27,DAY_OF_YEAR=208,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=33,SECOND=39,MILLISECOND=38,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], rowCrtDttm=java.util.GregorianCalendar[time=1154021619038,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2006,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=27,DAY_OF_YEAR=208,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=33,SECOND=39,MILLISECOND=38,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], phoneNbr=5556667777, partnerNm=test partner, rowLastProcId=2, rowCrtUserId=testfoo, city=testcity, zipCd=47933, contracts=[com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=1234}, com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=12345}], addressLine1=test line 1}
DEBUG main org.hibernate.pretty.Printer - com.ata.partnership.dataaccess.value.Promotion{comments=This is a test, rowUpdtUserId=TST, promoEndDt=27 July 2006, campaignId=ts1, id=456, rowUpdtDttm=java.util.GregorianCalendar[time=1154021619038,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2006,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=27,DAY_OF_YEAR=208,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=33,SECOND=39,MILLISECOND=38,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], partner=com.ata.partnership.dataaccess.value.Partner#ts2, promoStartDt=27 June 2006, rowCrtDttm=java.util.GregorianCalendar[time=1154021619038,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2006,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=27,DAY_OF_YEAR=208,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=33,SECOND=39,MILLISECOND=38,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], rowLastProcId=0, rowCrtUserId=DaoTest, quantity=1, channels=TSTHNL, promoDesc=testpromo}
DEBUG main org.hibernate.event.def.AbstractFlushingEventListener - executing flush
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Partner#ts1]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Partner (PARTNER_NM, PARTNER_DESC, PARTNER_TYPE, PARTNER_PROG_CD, DEFAULT_ACTIVITY_TYPE_CD, EFFECTIVE_DT, STATUS, Address_Line_1, Address_Line_2, City, State_CD, ZIP_CD, Phone_Nbr, ROW_CRT_DTTM, ROW_CRT_USER_ID, ROW_LAST_PROC_ID, ROW_UPDT_DTTM, ROW_UPDT_USER_ID, PARTNER_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Partner (PARTNER_NM, PARTNER_DESC, PARTNER_TYPE, PARTNER_PROG_CD, DEFAULT_ACTIVITY_TYPE_CD, EFFECTIVE_DT, STATUS, Address_Line_1, Address_Line_2, City, State_CD, ZIP_CD, Phone_Nbr, ROW_CRT_DTTM, ROW_CRT_USER_ID, ROW_LAST_PROC_ID, ROW_UPDT_DTTM, ROW_UPDT_USER_ID, PARTNER_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Partner#ts1]
DEBUG main org.hibernate.type.StringType - binding 'test partner' to parameter: 1
DEBUG main org.hibernate.type.StringType - binding 'test desc' to parameter: 2
DEBUG main org.hibernate.type.CharacterType - binding 'Y' to parameter: 3
DEBUG main org.hibernate.type.StringType - binding 'TST' to parameter: 4
DEBUG main org.hibernate.type.StringType - binding 'T' to parameter: 5
DEBUG main org.hibernate.type.CalendarDateType - binding '27 July 2006' to parameter: 6
DEBUG main org.hibernate.type.CharacterType - binding 'A' to parameter: 7
DEBUG main org.hibernate.type.StringType - binding 'test line 1' to parameter: 8
DEBUG main org.hibernate.type.StringType - binding 'test line 2' to parameter: 9
DEBUG main org.hibernate.type.StringType - binding 'testcity' to parameter: 10
DEBUG main org.hibernate.type.StringType - binding 'A' to parameter: 11
DEBUG main org.hibernate.type.StringType - binding '47933' to parameter: 12
DEBUG main org.hibernate.type.StringType - binding '5556667777' to parameter: 13
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 15
DEBUG main org.hibernate.type.IntegerType - binding '2' to parameter: 16
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 18
DEBUG main org.hibernate.type.StringType - binding 'ts1' to parameter: 19
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts1, startDt=26 July 2006, endDt=10 August 2006, contractId=1234}]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts1, startDt=26 July 2006, endDt=10 August 2006, contractId=1234}]
DEBUG main org.hibernate.type.StringType - binding 'test' to parameter: 1
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 3
DEBUG main org.hibernate.type.IntegerType - binding '0' to parameter: 4
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 6
DEBUG main org.hibernate.type.StringType - binding 'ts1' to parameter: 7
DEBUG main org.hibernate.type.StringType - binding '1234' to parameter: 8
DEBUG main org.hibernate.type.CalendarDateType - binding '26 July 2006' to parameter: 9
DEBUG main org.hibernate.type.CalendarDateType - binding '10 August 2006' to parameter: 10
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts1, startDt=26 July 2006, endDt=10 August 2006, contractId=1234}]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts1, startDt=26 July 2006, endDt=10 August 2006, contractId=1234}]
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 1
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 2
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 3
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 4
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 5
DEBUG main org.hibernate.type.StringType - binding 'Monthly' to parameter: 6
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 7
DEBUG main org.hibernate.type.ShortType - binding '12' to parameter: 8
DEBUG main org.hibernate.type.BigDecimalType - binding null to parameter: 9
DEBUG main org.hibernate.type.YesNoType - binding 'true' to parameter: 10
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 12
DEBUG main org.hibernate.type.IntegerType - binding '0' to parameter: 13
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 15
DEBUG main org.hibernate.type.StringType - binding 'ts1' to parameter: 16
DEBUG main org.hibernate.type.StringType - binding '1234' to parameter: 17
DEBUG main org.hibernate.type.CalendarDateType - binding '26 July 2006' to parameter: 18
DEBUG main org.hibernate.type.CalendarDateType - binding '10 August 2006' to parameter: 19
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts1, startDt=26 July 2006, endDt=10 August 2006, contractId=12345}]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts1, startDt=26 July 2006, endDt=10 August 2006, contractId=12345}]
DEBUG main org.hibernate.type.StringType - binding 'test' to parameter: 1
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 3
DEBUG main org.hibernate.type.IntegerType - binding '0' to parameter: 4
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 6
DEBUG main org.hibernate.type.StringType - binding 'ts1' to parameter: 7
DEBUG main org.hibernate.type.StringType - binding '12345' to parameter: 8
DEBUG main org.hibernate.type.CalendarDateType - binding '26 July 2006' to parameter: 9
DEBUG main org.hibernate.type.CalendarDateType - binding '10 August 2006' to parameter: 10
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts1, startDt=26 July 2006, endDt=10 August 2006, contractId=12345}]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts1, startDt=26 July 2006, endDt=10 August 2006, contractId=12345}]
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 1
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 2
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 3
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 4
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 5
DEBUG main org.hibernate.type.StringType - binding 'Monthly' to parameter: 6
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 7
DEBUG main org.hibernate.type.ShortType - binding '12' to parameter: 8
DEBUG main org.hibernate.type.BigDecimalType - binding null to parameter: 9
DEBUG main org.hibernate.type.YesNoType - binding 'true' to parameter: 10
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 12
DEBUG main org.hibernate.type.IntegerType - binding '0' to parameter: 13
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 15
DEBUG main org.hibernate.type.StringType - binding 'ts1' to parameter: 16
DEBUG main org.hibernate.type.StringType - binding '12345' to parameter: 17
DEBUG main org.hibernate.type.CalendarDateType - binding '26 July 2006' to parameter: 18
DEBUG main org.hibernate.type.CalendarDateType - binding '10 August 2006' to parameter: 19
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Promotion#123]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Promotion (partner_Id, PROMO_START_DT, PROMO_END_DT, PROMO_DESC, CAMPAIGN_ID, ROW_CRT_DTTM, ROW_CRT_USER_ID, ROW_LAST_PROC_ID, ROW_UPDT_DTTM, ROW_UPDT_USER_ID, PROMO_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Promotion (partner_Id, PROMO_START_DT, PROMO_END_DT, PROMO_DESC, CAMPAIGN_ID, ROW_CRT_DTTM, ROW_CRT_USER_ID, ROW_LAST_PROC_ID, ROW_UPDT_DTTM, ROW_UPDT_USER_ID, PROMO_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Promotion#123]
DEBUG main org.hibernate.type.StringType - binding 'ts1' to parameter: 1
DEBUG main org.hibernate.type.CalendarDateType - binding '27 June 2006' to parameter: 2
DEBUG main org.hibernate.type.CalendarDateType - binding '27 July 2006' to parameter: 3
DEBUG main org.hibernate.type.StringType - binding 'testpromo' to parameter: 4
DEBUG main org.hibernate.type.StringType - binding 'ts1Test' to parameter: 5
DEBUG main org.hibernate.type.StringType - binding 'DaoTest' to parameter: 7
DEBUG main org.hibernate.type.IntegerType - binding '0' to parameter: 8
DEBUG main org.hibernate.type.StringType - binding 'TST' to parameter: 10
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Promotion#123]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into promotion_marketing_detail (Channels, Quantity, Comments, promo_id) values (?, ?, ?, ?)
Hibernate: insert into promotion_marketing_detail (Channels, Quantity, Comments, promo_id) values (?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Promotion#123]
DEBUG main org.hibernate.type.StringType - binding 'TSTHNL' to parameter: 1
DEBUG main org.hibernate.type.IntegerType - binding '1' to parameter: 2
DEBUG main org.hibernate.type.StringType - binding 'This is a test' to parameter: 3
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Partner#ts2]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Partner (PARTNER_NM, PARTNER_DESC, PARTNER_TYPE, PARTNER_PROG_CD, DEFAULT_ACTIVITY_TYPE_CD, EFFECTIVE_DT, STATUS, Address_Line_1, Address_Line_2, City, State_CD, ZIP_CD, Phone_Nbr, ROW_CRT_DTTM, ROW_CRT_USER_ID, ROW_LAST_PROC_ID, ROW_UPDT_DTTM, ROW_UPDT_USER_ID, PARTNER_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Partner (PARTNER_NM, PARTNER_DESC, PARTNER_TYPE, PARTNER_PROG_CD, DEFAULT_ACTIVITY_TYPE_CD, EFFECTIVE_DT, STATUS, Address_Line_1, Address_Line_2, City, State_CD, ZIP_CD, Phone_Nbr, ROW_CRT_DTTM, ROW_CRT_USER_ID, ROW_LAST_PROC_ID, ROW_UPDT_DTTM, ROW_UPDT_USER_ID, PARTNER_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Partner#ts2]
DEBUG main org.hibernate.type.StringType - binding 'test partner' to parameter: 1
DEBUG main org.hibernate.type.StringType - binding 'test desc' to parameter: 2
DEBUG main org.hibernate.type.CharacterType - binding 'X' to parameter: 3
DEBUG main org.hibernate.type.StringType - binding 'TST' to parameter: 4
DEBUG main org.hibernate.type.StringType - binding 'T' to parameter: 5
DEBUG main org.hibernate.type.CalendarDateType - binding '27 July 2006' to parameter: 6
DEBUG main org.hibernate.type.CharacterType - binding 'I' to parameter: 7
DEBUG main org.hibernate.type.StringType - binding 'test line 1' to parameter: 8
DEBUG main org.hibernate.type.StringType - binding 'test line 2' to parameter: 9
DEBUG main org.hibernate.type.StringType - binding 'testcity' to parameter: 10
DEBUG main org.hibernate.type.StringType - binding 'A' to parameter: 11
DEBUG main org.hibernate.type.StringType - binding '47933' to parameter: 12
DEBUG main org.hibernate.type.StringType - binding '5556667777' to parameter: 13
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 15
DEBUG main org.hibernate.type.IntegerType - binding '2' to parameter: 16
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 18
DEBUG main org.hibernate.type.StringType - binding 'ts2' to parameter: 19
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=1234}]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=1234}]
DEBUG main org.hibernate.type.StringType - binding 'test' to parameter: 1
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 3
DEBUG main org.hibernate.type.IntegerType - binding '0' to parameter: 4
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 6
DEBUG main org.hibernate.type.StringType - binding 'ts2' to parameter: 7
DEBUG main org.hibernate.type.StringType - binding '1234' to parameter: 8
DEBUG main org.hibernate.type.CalendarDateType - binding '26 July 2006' to parameter: 9
DEBUG main org.hibernate.type.CalendarDateType - binding '10 August 2006' to parameter: 10
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=1234}]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=1234}]
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 1
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 2
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 3
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 4
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 5
DEBUG main org.hibernate.type.StringType - binding 'Monthly' to parameter: 6
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 7
DEBUG main org.hibernate.type.ShortType - binding '12' to parameter: 8
DEBUG main org.hibernate.type.BigDecimalType - binding null to parameter: 9
DEBUG main org.hibernate.type.YesNoType - binding 'true' to parameter: 10
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 12
DEBUG main org.hibernate.type.IntegerType - binding '0' to parameter: 13
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 15
DEBUG main org.hibernate.type.StringType - binding 'ts2' to parameter: 16
DEBUG main org.hibernate.type.StringType - binding '1234' to parameter: 17
DEBUG main org.hibernate.type.CalendarDateType - binding '26 July 2006' to parameter: 18
DEBUG main org.hibernate.type.CalendarDateType - binding '10 August 2006' to parameter: 19
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=12345}]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract (Contract_Desc, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, Partner_ID, Contract_ID, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=12345}]
DEBUG main org.hibernate.type.StringType - binding 'test' to parameter: 1
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 3
DEBUG main org.hibernate.type.IntegerType - binding '0' to parameter: 4
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 6
DEBUG main org.hibernate.type.StringType - binding 'ts2' to parameter: 7
DEBUG main org.hibernate.type.StringType - binding '12345' to parameter: 8
DEBUG main org.hibernate.type.CalendarDateType - binding '26 July 2006' to parameter: 9
DEBUG main org.hibernate.type.CalendarDateType - binding '10 August 2006' to parameter: 10
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Inserting entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=12345}]
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG main org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG main org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG main org.hibernate.SQL - insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Contract_detail_history (Base_Rate_Amt, Bonus_Rate_Amt, Xfer_Rate_Amt, Enrollment_Rate_Amt, Oth_Rate_Amt, Service_Fee_Interval, Service_Fee_Amt, Exp_Period, Min_Rev_Amt, Accepts_Neg_Values_Flg, Row_Crt_DtTm, Row_Crt_User_ID, Row_Last_Proc_ID, Row_Updt_DtTm, Row_Updt_User_ID, partner_id, contract_id, Start_Dt, End_Dt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG main org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG main org.hibernate.persister.entity.BasicEntityPersister - Dehydrating entity: [com.ata.partnership.dataaccess.value.Contract#component[partner,contractId,startDt,endDt]{partner=com.ata.partnership.dataaccess.value.Partner#ts2, startDt=26 July 2006, endDt=10 August 2006, contractId=12345}]
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 1
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 2
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 3
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 4
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 5
DEBUG main org.hibernate.type.StringType - binding 'Monthly' to parameter: 6
DEBUG main org.hibernate.type.BigDecimalType - binding '99999.9998999999952502548694610595703125' to parameter: 7
DEBUG main org.hibernate.type.ShortType - binding '12' to parameter: 8
DEBUG main org.hibernate.type.BigDecimalType - binding null to parameter: 9
DEBUG main org.hibernate.type.YesNoType - binding 'true' to parameter: 10
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 12
DEBUG main org.hibernate.type.IntegerType - binding '0' to parameter: 13
DEBUG main org.hibernate.type.StringType - binding 'testfoo' to parameter: 15
DEBUG main org.hibernate.type.StringType - binding


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 27, 2006 1:47 pm 
Regular
Regular

Joined: Fri Feb 13, 2004 10:02 pm
Posts: 90
Note that if I comment out the join of the promotion_marketing_detail table, everything functions as expected. Why do joined tables not get lazy loaded, am I missing a configuration? I've tried both methods of fetch=”select” and fetch=”join” since this is a 1 to 1 relation. I can't upgrade beyond version 3.0.5, version 3.1.x has some major issues with generating duplicate aliases in the SQL when using a ‘key-many-to-one tag’, which a lot of our objects use.

Todd


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

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.