I have an HQL query which in Hibernate 3 generates SELECT with aliases like this:
taskdetail0_.implementationTaskSettings_id AS impleme49_6_30_, taskdetail0_.currentlyProvisionedPlanName AS current27_6_30_,
Hibernate 4.1 generates:
taskdetail0_.implementationTaskDetails_id AS implementationTaskDetails_i51_93_30_, taskdetail0_.currentlyProvisionedPlanName AS currentlyProvisionedPlanNam22_93_30_,
And I get ORA-00972: identifier is too long. Is there a setting to control it or any other way to deal with?
Thanks, Sergey
|