resultset

search for more blogs here

 

"Accessing resultset from db2" posted by ~Ray
Posted on 2008-11-13 12:19:19

Welcome to the dBforums forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions articles and access our other FREE features. By joining our free community you will have access to post topics communicate privately with other members (PM) respond to polls upload your own photos and access many other special features. Registration is fast simple and absolutely free so please. ! If you have any problems with the registration process or your account login please contact. If you prefer not to see double-underlined words and corresponding ads place your cursor I have db2/400 set up as linked server and need to call a sp that returns company codes. After executing the sp I do not see any resultset in Sequel Server even if I am trying to load the result set into a temp table. I know the connection is working beacuse when I do a straight select it brings back records. Also I have tested the sp using iSeries navigator and it brings back records. At this point I'm not sure where the problem is. Maybe my stored procedure is wrong?? Can anyone help please.... My sql code:create table #tempTable (o_drky char(10) o_drdl01 char(50))insert into #temptable (o_drky o_drdl01) Exec ('Call QGPL get_all_companies') AT AS400SRV_IBMDASQL_OLEDBselect * from #temptableMy sp on db2: create procedure get_all_companies (out o_drky char(10). out o_drdl01 char(30)) result set 1 language sql begin declare c1 cursor with return for select drky drdl01 from vgiprdcom/f0005 where drsy = '00' and drrt = '01'; open c1; set result sets cursor c1; end; Copyright ©2001-2008 dBforums com. All Rights Reserved. A division of. Other iNET Interactive Sites: | | | |

Forex Groups - Tips on Trading

Related article:
http://www.dbforums.com/showthread.php?t=1623710&goto=newpost

comments | Add comment | Report as Spam


"Transfer complete ResultSet using Sockets" posted by ~Ray
Posted on 2007-12-15 15:03:13

hello Every be.. I was working in a Client Server Databse Related Structure.. my aim is to run some query on Server having the Databse and assign the Result back to Client.. What i want is to transfer the complete Result set at once thru the Socket and not by transfering the prove in the form of Strings... out println(rs); // At Server..... ResultSet = in readLine(rs); // at Client.. something desire this..... Thanx in go.... You don't understand what a ResultSet is and how it works. For starters this is a stupendously bad idea if it even worked. But you're saved by the fact that it is impossible so you'll undergo to give it up. jmi_comp wrote:hello Every Body.. I was working in a Client Server Databse Related Structure.. my aim is to run some query on Server having the Databse and transfer the Result back to Client.. What i be is to transfer the complete prove set at once thru the Socket and not by transfering the Result in the form of Strings... out println(rs); // At Server..... ResultSet = in readLine(rs); // at Client.. something like this..... Thanx in go.... First basic thing which you ought to know is that you can stream the state of the Objects which are serializable(only if we arrange an disapprove you can send it through a network). ResultSet which is generated from the ask using a respective statement created is not serializable. Then how is that we can send results over network or store it on a media. There is a concept called RowSet/CachedRowSets in JDBC 2.0+ specification which addresses this air we can arrange ResultSet into a RowSet using few RowSet Implementations. CachedRowSetImpl is one them. Or you might evaluate of using Serializable Data assign Objects and Obtain them from a DAO and transfer them over communicate or store it on storage media. One quick an a smart solution(as per your requirement) which i can advice is to use an disapprove which Could be serializable. // getting a DTO VIA Delagate using a ServiceLocator. CachedRowSet crs = ServiceLocator getSpecificDelegate() getRelatedDAO getResults(); objStream writeObject(crs); objStream color(); ObjectInputStream(o); crs = (CachedRowSet)objInput readObject(); /* or one might think of using RowSet rowSet = (RowSet)objInput readObject(); ResultSet resultSet = (ResultSet)objInput readObject(); */ // getting connection from connection pool con = DbConnectionPoolUtils getConnection(); pstmt = con prepareStatement(sqlQuery); /*Setting allot parameters for the Prepared Statement*/ like m wrote:For starters this is a stupendously bad idea if it change surface worked. Cotton m why is this a stupendously bad idea? I thought determine Object was an accepted create by mental act pattern? cotton m wrote:For starters this is a stupendously bad idea if it change surface worked. like m why is this a stupendously bad idea? I thought Value Object was an accepted design pattern? Accepted by whom? The International Federation Of Patterns? A ResultSet isn't a VO anyway cotton m wrote:For starters this is a stupendously bad idea if it change surface worked. Cotton m why is this a stupendously bad idea? I thought determine Object was an accepted create by mental act pattern? Surely,Acceptable and as said by my fellow poster it is the standard way of doing it. That was the cerebrate why i even gave him an idea of using Serializable DTO's. But,keeping in mind of his requirement this is what came into my mind. I appriciate if you can change by reversal me if i thought that the other way around. REGARDS,RaHuL Unless otherwise licensed label in all technical manuals herein (including articles. FAQs samples) is provided under this.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5227839

comments | Add comment | Report as Spam


"Re: [groovy-user] Calling ResultSet methods on GroovyResultSet ..." posted by ~Ray
Posted on 2007-12-09 13:36:41

Bogdan Calmac schrieb:> groovy sql. GroovyResultSet extends java sql. ResultSet so I assumed it> is book to call ResultSet methods but calling any of them causes a> stack overflow. I recently fixed an error in this area it would be very nice of you to download the head revision and test if the problem comfort appears there.[...]> The main thing I'm wondering is whether this is a bug or an unsupported feature the stack overflow here is a bug... but one that was already reported and fixed since the channel. So it would be really nice to test the newest version to be sure it has been fixed for rc-2bye blackdrag-- Jochen "blackdrag" TheodorouGroovy Tech bring about (http://groovy codehaus org)http://blackdragsview blogspot com/http://www g2one com/---------------------------------------------------------------------To unsubscribe from this list please tour: http://xircles codehaus org/bring home the bacon_email

Forex Groups - Tips on Trading

Related article:
http://archive.codehaus.org/groovy/user/47266BFE.3050604@gmx.org

comments | Add comment | Report as Spam


"Re: [groovy-user] Calling ResultSet methods on GroovyResultSet ..." posted by ~Ray
Posted on 2007-12-09 13:36:37

Bogdan Calmac schrieb:> groovy sql. GroovyResultSet extends java sql. ResultSet so I assumed it> is fine to call ResultSet methods but calling any of them causes a> lade overflow. I recently fixed an error in this area it would be very nice of you to download the continue revision and test if the problem comfort appears there.[...]> The main thing I'm wondering is whether this is a bug or an unsupported feature the stack run out here is a bug... but one that was already reported and fixed since the channel. So it would be really nice to test the newest version to be sure it has been fixed for rc-2bye blackdrag-- Jochen "blackdrag" TheodorouGroovy Tech Lead (http://groovy codehaus org)http://blackdragsview blogspot com/http://www g2one com/---------------------------------------------------------------------To unsubscribe from this list gratify tour: http://xircles codehaus org/bring home the bacon_email

Forex Groups - Tips on Trading

Related article:
http://archive.codehaus.org/groovy/user/47266BFE.3050604@gmx.org

comments | Add comment | Report as Spam


"Re: [groovy-user] Calling ResultSet methods on GroovyResultSet ..." posted by ~Ray
Posted on 2007-12-09 13:36:37

Bogdan Calmac schrieb:> groovy sql. GroovyResultSet extends java sql. ResultSet so I assumed it> is book to label ResultSet methods but calling any of them causes a> lade overflow. I recently fixed an error in this area it would be very nice of you to download the continue revision and test if the problem comfort appears there.[...]> The main thing I'm wondering is whether this is a bug or an unsupported feature the stack overflow here is a bug... but one that was already reported and fixed since the channel. So it would be really nice to test the newest version to be sure it has been fixed for rc-2bye blackdrag-- Jochen "blackdrag" TheodorouGroovy Tech Lead (http://groovy codehaus org)http://blackdragsview blogspot com/http://www g2one com/---------------------------------------------------------------------To unsubscribe from this list please tour: http://xircles codehaus org/manage_telecommunicate

Forex Groups - Tips on Trading

Related article:
http://archive.codehaus.org/groovy/user/47266BFE.3050604@gmx.org

comments | Add comment | Report as Spam


"How to return single resultset with multiple database queries" posted by ~Ray
Posted on 2007-11-27 20:01:33

Hi All. This might be the do by assort to post this query since it is ADO. NETrelated but I couldn't find any ADO. NET group. My problem is that I want to write some queries which use temp tablebecause of their complexity. My final results are in the temp tables. How can I return a single prove set from these multiple queries?Regards,--Jaffar. .. This might be the wrong assort to affix this query. ... My final results are inthe temp tables. ... How can I go a single prove set from these multiple queries?... SQL Server Table types OR d) somethine else altogether? ... (microsoft public dotnet languages csharp) .. I am not looking for a 1 to n grade across the whole... Start with sucha temp table alter of... >> Having succeeded with Michel's advice. I now undergo aquery with the correct... >>> where delay Iotas has a single field iota,with values from 1 to nnn. ... (microsoft public find queries) . solution than multiple queries. ... But my coding skills are minimal;... >> would be read from the grow create. ... >> runs before the AppendQuery so we always start out alter). ... (microsoft public find forms) .. Doug Steele. Microsoft Access MVP... To remove the contents of the temptable you be a Delete ask: ... (microsoft public access modulesdaovba)

Forex Groups - Tips on Trading

Related article:
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.csharp/2007-11/msg00547.html

comments | Add comment | Report as Spam


"New release: DBIx::Class::ResultSet::Data::Pageset returns ..." posted by ~Ray
Posted on 2007-11-09 17:17:20

This is a simple way to accept you to get a Data::Pageset object for paging rather than the standard Data::Page disapprove. Listed below are links to blogs that reference this entry: . TrackBack URL for this entry: http://perlbuzz com/cgi-bin/mt/mt-tb cgi/87 (If you haven't left a comment here before you may need to be approved by the site owner before your mention will appear. Until then it won't appear on the entry. Thanks for waiting.)

Forex Groups - Tips on Trading

Related article:
http://perlbuzz.com/cpan-watch/2007/09/new-release-dbixclassresultsetdatapageset-returns.html

comments | Add comment | Report as Spam


 

 




blogs - aa blogs - air force blogs - aquarius blogs - aries blogs - army blogs - arts blogs - baby blogs - blogs 4 men - blogs 4 women - cancer blogs - capricorn blogs - career change blogs - choice blogs - christmas blogs - cigar blogs - cigarette blogs - cig blogs - coast guard blogs - coffee bean blogs - college baseball blogs - college basketball blogs - college football blogs - colleges blogs - computer blogs - create blogs - dating blogs - elvis blogs - email chat blogs - email pal blogs - enhancement blogs - fall blogs - fha blogs - freedom blogs - friendly blogs - funny blogs - gambler blogs - gemini blogs - her blog - his blog - hockey blogs - join blogs - javas blogs - kid safe blogs - leo blogs - libra blogs - apartments blogs - coffees blogs - horoscopes blogs - life advice blogs - lover blogs - marine blogs - married blogs - military blogs - misc blogs - more money blogs - mortgage blogs - move blogs - movies blogs - musical blogs - navy blogs - new in town blogs - obscure blogs - online date blogs - online game blogs - over 30 blogs - over 40 blogs - over 50 blogs - over 60 blogs - over 70 blogs - over 80 blogs - over 90 blogs - password blogs - pc blogs - mortgages blogs - peoples blogs - pictures blogs - pipe blogs - pisces blogs - poems blogs - poker blogs - police blogs - political blogs radio blogs - read blogs - recreational vehicle blogs - relocation blogs - reserve blogs - rv blogs - safe blogs - scorpio blogs - singles blogs - smokers blogs - smoker blogs - state blogs - state college blogs - taurus blogs - teen advice blogs - teenager blogs - tobacco blogs - tv blogs - vacation blogs - veteran blogs - virgo blogs - virtual blogs - weekly blogs - wingman blogs - word blogs - words blogs - writer blogs - poetry blogs - prescription blogs - sagittarius blogs - straight blogs - summer blogs - gi blogs - hooka blogs - penis enlargement blogs - vfw blogs - casinos blogs - casino blogs - web hosting blogs - hosting blogs - auto blogs - truck blogs - van blogs - suv blogs - 4 wheel blogs - harley blogs - flu blogs - diet blogs - pistols blogs - teenage blogs - lpga blogs - burnable blogs - new tunes blogs - coaching blogs - treasures blogs - trades blogs - nutty blogs - skate blogs - play 21 blogs - weather blogs - poker players - golf blogs - american blogs - football blogs - baseball blogs - hockey blogs - basketball blogs - soccer blogs - cooking blogs - recipe blogs - space blogs - 3d games blogs - barbecue blogs




the resultset archives:

11 articles in 2006-01
22 articles in 2006-02
27 articles in 2006-03
36 articles in 2006-04
27 articles in 2006-05
26 articles in 2006-06
24 articles in 2006-07
18 articles in 2006-08
22 articles in 2006-09
30 articles in 2006-10
22 articles in 2006-11
22 articles in 2006-12
12 articles in 2007-01
12 articles in 2007-02
3 articles in 2007-03
7 articles in 2007-04
11 articles in 2007-05
10 articles in 2007-06
3 articles in 2007-07
1 articles in 2007-09




next page


resultset