Rabu, 09 Februari 2011

That pesky Hibernate

Yesterday a collegue of mine asked if I could build some functionality to physically delete records in our database.  Since deleting things is always a good idea, I immediately started to work on his request. As we are using an ORM (Hibernate) to manage our relational persistence, this would just be a matter of adding a single line of code: session.delete(someEntity);And all the Hibernate magic

Tidak ada komentar:

Posting Komentar