我们即将创建一个 Java 标准项目,它实际上是一个在控制台执行的批处理过程。
每个“批处理”仅对来自不同数据库的多个表使用 select
语句。但我们将执行大约数千次 select
。
我不太熟悉 Hibernate 的“整体”,但在这种情况下值得使用它吗?
最佳答案
你看过Spring Batch吗? :
Spring Batch is a lightweight, comprehensive batch framework designed to enable the development of robust batch applications vital for the daily operations of enterprise systems. Spring Batch builds upon the productivity, POJO-based development approach, and general ease of use capabilities people have come to know from the Spring Framework, while making it easy for developers to access and leverage more advanced enterprise services when necessary.
关于java - 鉴于这种情况(请参阅内部),是否值得使用 Hibernate?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19783545/