<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Problem with Spring orm with hibernate connection</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=8996225" />
  <subtitle>Problem with Spring orm with hibernate connection</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=8996225</id>
  <updated>2026-04-05T19:07:20Z</updated>
  <dc:date>2026-04-05T19:07:20Z</dc:date>
  <entry>
    <title>RE: Problem with Spring orm with hibernate connection</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9027891" />
    <author>
      <name>venky r</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9027891</id>
    <updated>2011-05-31T10:03:31Z</updated>
    <published>2011-05-31T10:03:31Z</published>
    <summary type="html">Hi Walter,&lt;br /&gt;&lt;br /&gt;Thanks for your reply. but those are not solved my problem actually iam using spring orm with hibernate i am creating my own datasources iam putting my portlet into page and fetching results with that datasource i think page rendering slowly so connection is going lost..</summary>
    <dc:creator>venky r</dc:creator>
    <dc:date>2011-05-31T10:03:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Problem with Spring orm with hibernate connection</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9025834" />
    <author>
      <name>Walter Christian Guardia Casas</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9025834</id>
    <updated>2011-05-31T08:25:31Z</updated>
    <published>2011-05-31T08:25:31Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;Maybe these links you can help:&lt;br /&gt;&lt;br /&gt;https://bbs.archlinux.org/viewtopic.php?pid=252662&lt;br /&gt;https://bugs.archlinux.org/task/7256&lt;br /&gt;&lt;br /&gt;Regards,</summary>
    <dc:creator>Walter Christian Guardia Casas</dc:creator>
    <dc:date>2011-05-31T08:25:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Problem with Spring orm with hibernate connection</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9025683" />
    <author>
      <name>venky r</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9025683</id>
    <updated>2011-05-31T08:13:49Z</updated>
    <published>2011-05-31T08:13:49Z</published>
    <summary type="html">No one is there to help me out this issue?????</summary>
    <dc:creator>venky r</dc:creator>
    <dc:date>2011-05-31T08:13:49Z</dc:date>
  </entry>
  <entry>
    <title>Problem with Spring orm with hibernate connection</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8996224" />
    <author>
      <name>venky r</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8996224</id>
    <updated>2011-05-30T07:27:22Z</updated>
    <published>2011-05-30T07:27:22Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi friends.&lt;br&gt;&lt;br&gt;Iam using spring orm with hibernate iam fetching results from database using hibernate template. i have configured properly but iam geting below error while portlet rendering into page. &lt;br&gt;&lt;br&gt;Actuall iam having 2 portlets. first portlet fetch rss results  from url.second porlet fetch results from databse and showing in page. but iam geting problem with second porlet&lt;br&gt;this is the error iam geting please any body help??&lt;br&gt;&lt;br&gt;Thanks in advance..&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;369770703 [TP-Processor5] [24 May 2011 12:05:47] WARN  [org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:233)]  - SQL Error: 0, SQLState: 08S01

369770705 [TP-Processor5] [24 May 2011 12:05:47] ERROR [org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:234)]  - Communications link failure due to underlying exception: 

 

** BEGIN NESTED EXCEPTION ** 

 

java.io.EOFException

MESSAGE: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

 

STACKTRACE:

 

java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

        at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997)

        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2411)

        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916)

        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)

        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)

        at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)

        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313)

        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1448)

        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:93)

        at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)

        at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)

        at org.hibernate.loader.Loader.doQuery(Loader.java:802)

        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)

        at org.hibernate.loader.Loader.doList(Loader.java:2533)

        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)

        at org.hibernate.loader.Loader.list(Loader.java:2271)

&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>venky r</dc:creator>
    <dc:date>2011-05-30T07:27:22Z</dc:date>
  </entry>
</feed>
