Persistent manager save/delete methids

I’m trying to understand the static methods that the hibernate wizard created.
What do the methods: save, delete do?
Do I need still to start and commit transactions - or the methods are responsible for that?

Hi Ssharonv,

Yes you will have to start and commit the transactions. By turn on Generate Sample Code option when generating hibernate you will get the sample about how the generated code suppose to work.

Best regards,
Rain Wong