休眠和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 (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...