4 ms·
It’s a running joke in companies that Hibernate/JPA helps us abstract from the database « in case we change DBs », and how it never happens because we’re tied t
by alexis_fr 8y ago
It’s a running joke in companies that Hibernate/JPA helps us abstract from the database « in case we change DBs », and how it never happens because we’re tied to specifics of the DB anyway (Oracle counts nulls = empty strings, for example).
I guess the day has come to make use of this feature.
- victor106 8y agoThis is not entirely true. Hibernate/JPA has lots to dislike but it does have constructs for different databases and while it’s not a snap to change db’s It’s not even that bad. We did a recent change on a fairly large application and it took us 3 weeks. 1 week dev and 2 week testing.
- vbezhenar 8y agoIt's definitely not a myth. Jira supports PostgreSQL, MS SQL, H2, Oracle. I think that Hibernate helps tremendously with that. Sure, you have to take extra care anyway, but the differences between databases are real and there's enough code in Hibernate to smooth those differences.
- chii 8y agoJira doesn't use hibernate.