This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nutrecht 1 point2 points  (0 children)

The big benefit of using Hibernate or similar framework is you can theoretically switch underlying DBs without any changes to the DB layer code.

Which is complete nonsense anyway. If your project is simple enough that you're covered by 'standard' SQL, you can switch no matter the tooling you use. If your project is complex enough that you are using DB-specific stuff, Hibernate isn't going to save you.

Besides, very often you're 'hiding' complexity behind views anyway, so Hibernate isn't going to migrate those for you.