These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: StackOverflowException after running for hours
PostPosted: Thu Feb 08, 2007 3:57 pm 
Newbie

Joined: Thu Aug 24, 2006 9:06 am
Posts: 4
Location: Maryland
I'm getting a StackOverflowError after running for hours, inserting records I receive from an external client. I insert about 10000 records over 4 hours before the overflow happens. I don't know if I need a new driver or what. Any ideas are greatly appreciated.

Hibernate version: 3.1

Mapping:
<class name="AlertRecord" table="ALERT"
mutable="true" polymorphism="implicit"
dynamic-update="true" dynamic-insert="true" batch-size="1"
select-before-update="false" optimistic-lock="version">
<id name="ID" column="ALERTID" type="java.lang.String">
<generator class="uuid.hex"/>
</id>

<property name="EventId" column="ARCHIVEID" type="string"/>

<property name="AlertTime" type="java.util.Date"
column="DATETIME"/>
<property name="myProcessorSource" type="java.lang.Integer"
column="PR_SOURCE" access="field" />

<component name="CarrierParameters"
class="CarrierParametersRecord">

<property name="myMeasuredEIRP" type="java.lang.Double"
column="CAR_EIRP" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="myMeasuredCN" type="java.lang.Double"
column="CAR_CN" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="myMeasuredEbNo" type="java.lang.Double"
column="CAR_EBNO" not-null="false" unique="false"
update="true" insert="true" access="field"/>

</component>

<component name="ReceiverSetup"
class="ReceiverSetupRecord">

<property name="myAttenuation" type="java.lang.Integer"
column="RCVR_ATTENUATION" not-null="false" unique="false"
update="true" insert="true" access="field"/>

<component name="PSD"
class="CarrierPSDRecord">
<property name="myNumberOfPoints" type="java.lang.Integer"
column="PSD_POINTCOUNT" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="myMaxValue" type="java.lang.Integer"
column="PSD_MAXVALUE" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="myMinValue" type="java.lang.Integer"
column="PSD_MINVALUE" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="PSDTrace" type="java.lang.String"
column="PSD_POINTVALUES" not-null="false" unique="false"
update="true" insert="true" />
</component>

<component name="TheoreticalPSD"
class="TheoreticalPSDRecord">
<property name="myNumberOfPoints" type="java.lang.Integer"
column="TPSD_POINTCOUNT" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="myMaxValue" type="java.lang.Integer"
column="TPSD_MAXVALUE" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="myMinValue" type="java.lang.Integer"
column="TPSD_MINVALUE" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="PSDTrace" type="java.lang.String"
column="TPSD_POINTVALUES" not-null="false" unique="false"
update="true" insert="true" />
</component>

<component name="UndercarrierPSD"
class="UndercarrierPSDRecord">
<property name="myNumberOfPoints" type="java.lang.Integer"
column="UPSD_POINTCOUNT" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="myMaxValue" type="java.lang.Integer"
column="UPSD_MAXVALUE" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="myMinValue" type="java.lang.Integer"
column="UPSD_MINVALUE" not-null="false" unique="false"
update="true" insert="true" access="field"/>
<property name="PSDTrace" type="java.lang.String"
column="UPSD_POINTVALUES" not-null="false" unique="false"
update="true" insert="true" />
</component>
</component>

<set name="TriggerElements" cascade="all">
<key column="ALERTID"/>
<one-to-many class="TriggerElementRecord"/>
</set>

<idbag name="UnderCarriers" table="UCARRIER_PARAMETERS"
order-by="EIRP asc">
<collection-id type="java.lang.String" column="UCARRIERID">
<generator class="uuid.hex"/>
</collection-id>

<key column="ALERTID"/>
<composite-element class="CarrierParametersRecord">

<property name="MeasuredEIRP" type="java.lang.Double"
column="EIRP"/>
<property name="MeasuredCN" type="java.lang.Double"
column="CN"/>
<property name="MeasuredEbNo" type="java.lang.Double"
column="EBNO"/>

</composite-element>
</idbag>
</class>

Full stack trace of any exception that occurs:
java.lang.StackOverflowError
at java.lang.ref.Finalizer.<init>(Finalizer.java:67)
at java.lang.ref.Finalizer.register(Finalizer.java:72)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareStatement(ConnectionJDBC2.java:2221)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareStatement(ConnectionJDBC2.java:2179)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)
at com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31)

The prepareStatement(ConnectionProxy.java:31) line repeats about 800 times.

Name and version of the database you are using: SQL Server 2000


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 09, 2007 4:20 am 
Beginner
Beginner

Joined: Wed Nov 15, 2006 4:25 am
Posts: 21
Hi

You will get this type of error bcoz, ORM isnt suitable for mass update or mass deletion .So either you have to use stored procedure or sql update and insert. Dont transfer all the data to main memory for a simple operation.

If you still want to go the you have to call the method evict() of session, after say 30 or 40 records have inserted .After inserting some considerable records then call session.evict()

To completely evict all objects fomr the session cache all session.clear().


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 1:11 pm 
Newbie

Joined: Thu Aug 24, 2006 9:06 am
Posts: 4
Location: Maryland
Shantha,

Can you explain why ORM isn't suitable for mass updates or deletions? I have never read that anywhere, and I am unable to find a reference to such.

Also, does the size of the record matter in determining how frequently to call evict()?

--Trudy


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 1:17 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
There is no Hibernate in that stacktrace, so ask the providers of these various drivers, bridges, and adapters you are using.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 22, 2007 6:31 am 
Newbie

Joined: Wed Nov 05, 2003 6:47 am
Posts: 14
Yes, I also don't think it's hibernate. Looks like an endless recursion in com.opensourceconnections.msjdbcproxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:31) , so I gues it could be msjdbcproxy...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.