We are using hibernate, postgres 8.3x
Our entities are many to one mapped with eager fetching. We have multiple associations with Many to one mapping.
As we added new columns to any other existing entities, We are getting below error:
target lists can have at most 1664 entries
I searched internet and they say this is due to More number of select statements in sql query (generated by hibernate)
Is there any configuration (in postgres) to update the max number of columns in a configuration?
Try
<property name="hibernate.max_fetch_depth" value="25"/>