JBossCMP.pdf (in the paydocs) Chapter 6 is your best source of reference.

Till then take a look at <your-jbossinstall>\docs\dtd\jbosscmp-jdbc_3_0.dtd.
I believe your answer lies somewhere in the <entity><query><read-ahead>
subelements.

This may answer what you've asked for, but i'm not sure it will solve your
actual problem.

enjoy.
.peter

-----Original Message-----
From: Thorbj�rn Ravn Andersen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 7:40 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Reducing size of ReadAhead with CMP in 3.0.4
(trying to track down an ORA-01745 error)


I am trying to use Middlegen against our Oracle 7 installation to create 
the files necessary to model the various tables as entity beans.

My initial attempt with a small table with few rows worked well, but now 
I have tried with two larger tables, and then I consistently get 
"java.sql.SQLException: ORA-01745: invalid host/bind variable name".

After having looked into the offending SQL call with a debugger, I can 
see that it is trying to load 100 rows using 100 primary keys each 
consisting of two fields.  Since I cannot see that any fields should be 
misnamed (as indicated by the error message), I suspect that the 
database cannot hold such large prepared statements, and I would 
therefore like to reduce the ReadAhead cache.

Browsing around in server/all/conf and server/all/deploy did not give me 
a clue, so now I ask here where this magic number is defined?

If this is in the paydocs, I would appreciate a quick answer anyway.  My 
manager is scheduled to wield his credit card tomorrow :(

-- 
   Thorbj�rn Ravn Andersen      Scandiatransplant
                                Skejby Sygehus, indgang 3
   +45 89 49 53 01              DK-8200 �rhus N
   http://biobase.dk/~tra



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



This transmission contains information solely for intended recipient and may
be privileged, confidential and/or otherwise protect from disclosure.  If
you are not the intended recipient, please contact the sender and delete all
copies of this transmission.  This message and/or the materials contained
herein are not an offer to sell, or a solicitation of an offer to buy, any
securities or other instruments.  The information has been obtained or
derived from sources believed by us to be reliable, but we do not represent
that it is accurate or complete.  Any opinions or estimates contained in
this information constitute our judgment as of this date and are subject to
change without notice.  Any information you share with us will be used in
the operation of our business, and we do not request and do not want any
material, nonpublic information. Absent an express prior written agreement,
we are not agreeing to treat any information confidentially and will use any
and all information and reserve the right to publish or disclose any
information you share with us.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to