如何解决休眠和Apache Storm
我想访问数据库(从中选择一些数据),我习惯在Hibernate的帮助下进行操作。 我试图找到有关如何将Hibernate与Apache Storm集成的资源,但除了该论坛主题外,什么都没找到
https://user.storm.apache.narkive.com/nd7GnrWV/hibernate-storm
讨论了如何将Hibernate与Apache Storm一起使用,但是没有实质性内容。我也发现 Apache Storm支持JDBC插入/选择。此外,它还具有通过JDBC(+ Hikari连接池)实现的螺栓。
source: https://storm.apache.org/releases/1.2.3/storm-jdbc.html
我的问题是
Is Hibernate suited to be used with Apache Storm or is it not? Any side effects?
If Hibernate can be used in Apache Storm can you provide an example on how to implement connection pooling?
I've read that connection pooling might be kind of useless while using Hibernate (source: https://stackoverflow.com/questions/49086488/apache-storm-accessing-database-from-spout-connection-pooling)
注意:我想连接到MySQL或PostgreSQL
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。