Hello,
No, the query isnt running.
What do i need to do for this,
Also i have to wait for 8 hours to see if mysql has timeout with my code in
hibernate , cannt i reduce some values in hibernate.cfg.xml and test.
Can some one post the relevant sections of hte config file,
pl advice, i am now approa
No, i havent setup logs, but apparently it is not running else there would
have been no exception message.
Hey, can you guide me to the correct setup, i have asked this on hibernate
forumns but apparently they are slow in replying , no response yet,
Pl. help
thanks
abhishek
On Sun, Mar 6, 2011 a
Have u set up you logs to verify that your 'select 1' query is
actually being run?
On Saturday, March 5, 2011, Dave Newton wrote:
> If this question is related to hibernate it'd be more efficient and
> appropriate to ask on a hibernate-related list probably.
>
> Dave
> On Mar 5, 2011 3:32 AM, "a
If this question is related to hibernate it'd be more efficient and
appropriate to ask on a hibernate-related list probably.
Dave
On Mar 5, 2011 3:32 AM, "abhishek jain" wrote:
> hi,
> thanks for the mail,
> i tried this but the problem still persists, i added the context.xml file
in
> META-INF
hi,
thanks for the mail,
i tried this but the problem still persists, i added the context.xml file in
META-INF and the database information was not being picked from there.
Also i added the connect-timeout parameter in my.cnf file in the mysqld
section, but still the the timeout was after 8 hours o
I struggled with this issue for a long period, at the end I reached a
good point: I started using database connection pools [1].
Actually you should wait until the mysql connection dies (it should be
after 8 hours of db inactivity ), but you could change the
connect-timeout=seconds [2] in order to
hi,
this didnt solved, i created a file c3po.properties with the mentioned
property and it didnt solved.
also i have to wait a day for the error message, is there a way where i can
reduce this time during test?
thanks
abhi
On Sat, Feb 26, 2011 at 12:32 AM, Burton Rhodes wrote:
> I recall having
I recall having a similiar issue when moving to MySQL from MSSQL. I
solved it by adding c3po.properties file to the classpath with the
text below. It kept the connection alive with the database.
# This property corresponds to the query run defined by the
"hibernate.c3p0.idle_test_period" value
c
Hi,
Yup I faced this problem before and flush to Hibernate group.They have
suggested me some solution based on my mapping xml fleWhy don't u send
me that mapping xml and let me compare with mine.Actually Even though it
look like Server error,its more to do with hibernate Please feel
9 matches
Mail list logo