I need to replace one line of code in all my Java entities with either shell scripts or any other better approach.
Need to replace:
@SequenceGenerator(name = "sequence", sequenceName = "sequence_name", allocationSize = 1)
With:
@GeneratedValue(strategy = GenerationType.IDENTITY)