if the field id inside my Entity is like this
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
then when I persist the Entity, a unique random Id is created. Is there a way that I can retrieve the next available PK before persist