Quantcast
Channel: Teradata Downloads - Connectivity
Viewing all articles
Browse latest Browse all 445

JDBC connection via VPN vs non-VPN

$
0
0

Hi,
I created a java program that connects to Teradata and performs a few simple Sql statements against some dbc.* tables.  The program loops through 5 or 6 iterations of java code and Terdata reads before it suddenly halts due to not having the next line of data available (result.next), although there is data from the Sql statement that still hasn't processed yet.
This only happens when I run it from a VPN connection.  When run on a unix box or from a direct lan connection, the program runs fine.
I think the VPN slows the result set returning from Teradata while the program has already executed the next read command before it's available.  I'm not using threading but am wondering if I should be. 
Anyone know of any connection options that might get around this? 

Forums: 

Viewing all articles
Browse latest Browse all 445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>