0

Say I have a primary key with two columns (a, b). Will Hibernate create a singular index on both columns as well?

example output:
index on a
index on b
index on (a,b)

Alien
  • 444
  • 2
  • 9
  • 28

1 Answers1

0

visit : http://www.objectdb.com/java/jpa/entity/index

How to define index by several columns in hibernate entity?

Community
  • 1
  • 1
Anup S.
  • 19
  • 5
  • Thanks for your response. I ended up created a multi-column index on a,b alongside individual index's: one on column a, and one on column b. – Alien Dec 15 '16 at 00:25