← All posts tagged hibernate

ekalosha

Моя рыдаль ...
Hibernate in action:

select this_.ID as ID5_3_, this_.AREA as AREA5_3_, this_.CLOSED as CLOSED5_3_, this_.DESCRIPTION as DESCRIPT4_5_3_, this_.CREATED as CREATED5_3_, this_.CURRENCY_ID as CURRENCY21_5_3_, this_.CURRENCY_RATE as CURRENCY6_5_3_, this_.FUND_ID as FUND22_5_3_, this_.GUARANTEE_PAYMENT as GUARANTEE7_5_3_, this_.GUARANTEE_VARY as GUARANTEE8_5_3_, this_.GUARANTEE_VARY_COMMENT as GUARANTEE9_5_3_, this_.INCREASE as INCREASE5_3_, this_.INCREASE_DATE as INCREASE11_5_3_, this_.INCREASE_KIND_ID as INCREASE23_5_3_, this_.INCREASE_SUM as INCREASE12_5_3_, this_.INCREASE_TYPE_ID as INCREASE24_5_3_, this_.IS_INDIFINITELY as IS13_5_3_, this_.INITIAL_SUM as INITIAL14_5_3_, this_.NAME as NAME5_3_, this_.NUM as NUM5_3_, this_.AREA_TYPE_ID as AREA25_5_3_, this_.PAYMENT_MONTH_ID as PAYMENT26_5_3_, this_.PAYMENT_NEXT_MONTH_ID as PAYMENT27_5_3_, this_.PAYMENT_PERIOD_ID as PAYMENT28_5_3_, this_.PAYMENT_REASON_ID as PAYMENT29_5_3_, this_.PAYMENT_FROM as PAYMENT17_5_3_, this_.PAYMENT_TO as PAYMENT18_5_3_, this_.PAYMENT_UNLIMITED as PAYMENT19_5_3_, this_.PERIODICITY_ID as PERIODI30_5_3_, this_.PROPERTY_ID as PROPERTY31_5_3_, this_.STATUS_ID as STATUS32_5_3_, this_.SUM as SUM5_3_, this_.TYPE_ID as TYPE33_5_3_, property2_.ID as ID31_0_, property2_.ACL_SID_ID as ACL2_31_0_, property2_.ACTIVITY_FINISH as ACTIVITY3_31_0_, property2_.ACTIVITY_START as ACTIVITY4_31_0_, property2_.ADDRESS as ADDRESS31_0_, property2_.ATM_LOCATION_TYPE_ID as ATM6_31_0_, property2_.ATM_PARENT_PROPERTY_ID as ATM7_31_0_, property2_.BUILDING_NUMBER as BUILDING8_31_0_, property2_.CURRENT_AREA as CURRENT9_31_0_, property2_.DESCRIPTION as DESCRIP10_31_0_, property2_.ESTATE_NUMBER as ESTATE11_31_0_, property2_.FINANCIAL_CLOSURE as FINANCIAL12_31_0_, property2_.INITIAL_AREA as INITIAL13_31_0_, property2_.KLADR_CITY as KLADR14_31_0_, property2_.KLADR_DISTRICT as KLADR15_31_0_, property2_.KLADR_REGION as KLADR16_31_0_, property2_.KLADR_STREET as KLADR17_31_0_, property2_.NAME as NAME31_0_, property2_.NUM as NUM31_0_, property2_.OWNERSHIP_ID as OWNERSHIP20_31_0_, property2_.POST_CODE as POST21_31_0_, property2_.REPRESENTATION_ACL_SID_ID as REPRESE22_31_0_, property2_.STATUS_ID as STATUS23_31_0_, property2_.TYPE_ID as TYPE24_31_0_, contractst3_.ID as ID12_1_, contractst3_.CODE as CODE12_1_, contractst3_.NAME as NAME12_1_, contractty4_.ID as ID14_2_, contractty4_.CODE as CODE14_2_, contractty4_.IS_RENT as IS3_14_2_, contractty4_.NAME as NAME14_2_ from CONTRACTS this_ left outer join PROPERTIES property2_ on this_.PROPERTY_ID=property2_.ID inner join REF_CONTRACT_STATUSES contractst3_ on this_.STATUS_ID=contractst3_.ID inner join REF_CONTRACT_TYPES contractty4_ on this_.TYPE_ID=contractty4_.ID