Hibernate 与 Spring 下大量映射错误能编译通过,到这个框架里变成编译错误,在开发阶段就暴露。
💡 金句
“With Hibernate and Spring, plenty of mapping mistakes compile fine and only blow up when the application starts, or worse, on the first request that touches the broken entity.” 译:在 Hibernate 和 Spring 里,大量映射错误能顺利编译,直到应用启动才炸,更糟的是拖到第一个访问那个坏实体的请求。