are there performance penalties if I use
@Id(generate = GeneratorType.AUTO)
(from what I see AUTO combined with postgres -> a single sequence that is used to generate all id's for all tables)
I got the following profiling:
1,075 ms - 52 inv. select nextval ('hibernate_sequence')
it is good ? it is bad ?
I see that other insert operations are faster that this. ...
you can do @Id(generate=AUTO, generator="myseqGenerator")
to move to 1 seq per class