Postgresql – Generate Hibernate Id from database function, for table partitioning
I want to embed date information in the primary key, for a table that will be partitioned (monthly) in a PostgreSQL database. This should in theory speed up the process on finding out in which partition to look for the…