× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Tony, I have the Microsoft SQL Server 2005 JDBC Driver
working. What is your problem and maybe I can help...

Rob
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Tony Carolla
Sent: March 27, 2008 1:54 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: JDBCR4:Can't connect,not sure how to get full java error text

Well, performance-wise with jTDS, the story doesn't seem to be pretty, but I
am new to using java with RPG.

I have a 499 record length file with 97 fields of data. I created a simple
program to prepare an INSERT statement (now complete with closing
parens), read from the input file, with maximized blocking through
OVRDBF SEQONLY(*YES n), set the prepared fields using the JDBC_set___ ops,
and execute the statement. After 00:12:36, I had inserted only 9042
records. That's just under 12 rows per second. These servers are connected
via 100 ethernet, and I was hoping it would go faster. I might have to
resort to pure java to get the performance I need, but this seems silly to
me. I know that the RPG isn't slowing me down. And I know that the SQL
server isn't a slow one.

I will continue to try and get the MS JDBC driver working, so that I can see
if the slowdown is due to jTDS. It sure is quick when performing immediate
queries...
On Tue, Mar 25, 2008 at 3:46 PM, Robert Rogerson <robertrogerson@xxxxxxxxxx>
wrote:

HI Tony, I definitely would be interested in your results as to the
performance of the jTDS Level 4 Driver.
We are still in the testing phase of an application that both reads and
inserts records into an SqlServer DB and performance may be an issue.
If it is found to be faster than maybe I will switch.
I will be sure to let you know of my test results.

Regards,

Rob Rogerson
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Tony Carolla
Sent: March 25, 2008 5:25 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: JDBCR4:Can't connect,not sure how to get full java error text

We already have the latest service packs on our 2000 and 2005 SQL Servers,
but I am not sure if that was the problem. I tried playing with the
'encrypt' property (which is 'false', by default), and I even tried
setting
all other SSL properties off. All to no avail.

So I tried the jTDS Level 4 Driver, found on sourceforge, and the
connection
works fine. I have played around with this driver, but not from RPG.
This
is supposedly the most performant driver for SQL server (so the writers
say
anyway). Has anyone had any experience using JDBCR and this driver? I
will
play with some SELECTs and INSERTs, and let you know my results.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.