Forgot the generated sql...
select patient0_.id as id1_, patient0_.canonicalRepresentationId as canonica2_1_, patient0_.personId as personId1_, patient0_.maritalstatus_sid as maritals4_1_, patient0_.maritalstatus_cid as maritals5_1_, patient0_.gender_sid as gender_sid1_, patient0_.gender_cid as gender_cid1_, patient0_.physician as physician1_, patient0_.deathDate as deathDate1_, patient0_.created as created1_, patient0_.createdBy as createdBy1_, patient0_.updated as updated1_, patient0_.updatedBy as updatedBy1_, patient0_.persistenceVersion as persist14_1_, person1_.id as id0_, person1_.givenName as givenName0_, person1_.familyName as familyName0_, person1_.addressingName as addressi4_0_, person1_.privacyProtected as privacyP5_0_, person1_.citizenship_sid as citizens6_0_, person1_.citizenship_cid as citizens7_0_, person1_.created as created0_, person1_.createdBy as createdBy0_, person1_.updated as updated0_, person1_.updatedBy as updatedBy0_, person1_.persistenceVersion as persist12_0_ from pat_patient patient0_ left outer join pat_person person1_ on patient0_.personId=person1_.id where patient0_.id=?
|