Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Java ResultSet Not Returning?
New Posts  All Forums:Forum Nav:

Java ResultSet Not Returning?

post #1 of 10
Thread Starter 
I am trying to get a Sybase stored procedure to return a dataset back to Java program for processing. I know the stored procedure is working as the out parmeter is returning a count of 10,000 rows. However, the resultset is null.

What am I doing wrong?

Code:
ResultSet rs_Attrib;
CallableStatement get_attrib = con.prepareCall("{call syl_sec_attributes (?, ?)}");
get_attrib.setString(1,"#cusip_lst");
get_attrib.registerOutParameter(2,Types.VARCHAR);
get_attrib.execute(); rs_Attrib = get_attrib.getResultSet(); System.out.println(get_attrib.getString(2)); if (rs_Attrib == null){
thrownew CustomException(" " + ts.getElapsedTime() + " ERROR: No results from syl_sec_attributes"); }
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
post #2 of 10
you have to call resultSet.next() to 'kick' the iterator...

http://download.oracle.com/javase/6/...ResultSet.html

if you know there's only one row in the result set, in your case just a count,

Code:
int count = -1;
ResultSet rs = stmt.execute();
if (rs.next())  {
  count =  resultSet.getInt(1);
} else  {
 // bug.. probably throw exception 
}
if you have more than one row,

Code:
ResultSet rs = stmt.execute();
while (rs.next())  {
  // x = resultSet.getInt(1);
  // y =  resultSet.getString(2);
}
and as always with jdbc, you'll need a proper try/catch/finally block. failing to close the connection is very bad. You may also want to take a look at the spring frameworks JDBCTemplate or StoredProcedure class - if not to use it, to see proper jdbc usage code. I would use it if you can...

Code:
Connection con = null;
PreparedStatement ps = null;
ResultSet rs = null;
try   {
  con = DriverManager.getConnection("url", "etc");
  ps = con.prepareStatement();
  // set params
  rs = ps.execute();
  while (rs.next())  {
    // extract data into pojos
  }
} catch (SQLException e)  {
   throw new RuntimeException(e);  //  what are you supposed to do really.. checked exceptions are crap
} finally  {
   if (rs != null)  {
      try  {
           rs.close();
      } catch (SQLException e)  { 
           LOG.error(e.getMessage(), e); // do not throw exception from finally block as it would trump anything thrown from try or catch.
      }
   }
   if (ps != null)  {
      try  {
           ps.close();
      } catch (SQLException e)  { 
           LOG.error(e.getMessage(), e);
      }
   }
   if (con != null)  {
      try  {
           con.close();
      } catch (SQLException e)  { 
           LOG.error(e.getMessage(), e);
      }
   }
}
please +rep if helped
Edited by lloyd mcclendon - 2/4/11 at 9:16pm
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #3 of 10
Quote:
please +rep if helped
Good advice...PS dude don't beg for REP.
ShoopDaWoop
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7 920 ASUS P6T6 WS Revolution eVGA GTX 280 Corsair Dominator 6x2GB DDR3 
Hard DriveOptical DriveOSMonitor
150GB Velociraptor LG 22x DVD +-R/RW SATA Windows 7 Ultimate x64 2x SAMSUNG 206BW 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard Corsair 1 kW Cosmos 1000 Logitech G5 
  hide details  
Reply
ShoopDaWoop
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7 920 ASUS P6T6 WS Revolution eVGA GTX 280 Corsair Dominator 6x2GB DDR3 
Hard DriveOptical DriveOSMonitor
150GB Velociraptor LG 22x DVD +-R/RW SATA Windows 7 Ultimate x64 2x SAMSUNG 206BW 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard Corsair 1 kW Cosmos 1000 Logitech G5 
  hide details  
Reply
post #4 of 10
Thread Starter 
That its the only relevent part of the code.... There is a try around the block.

In my code, I am iterating through the resultset in the next portion. However, the object its empty since it is null. Are you saying that checking the object before iterating through it its the problem?


Note the resultset is a few thousand rows of two dozen fields. The out parameter is telling me the count
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
post #5 of 10
i didn't notice the output parameter line

output parameters are not in the result set. They are in the callable statement.

getAttrib.registerOutParameter(2,Types.VARCHAR);
getAttrib.execute();
String yourOutputParam = getAttrib.getString(2);

And FFS, this isn't python so no more _ in variable names, OK

ResultSet.execute()
Returns:
the current result as a ResultSet object or null if the result is an update count or there are no more results


http://static.springsource.org/sprin...ence/jdbc.html < if this is your own project and you can do whatever you want, spring provides great abstractions over top of jdbc/orm etc.
Edited by lloyd mcclendon - 2/4/11 at 11:24pm
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #6 of 10
Thread Starter 
Quote:
Originally Posted by lloyd mcclendon View Post
i didn't notice the output parameter line

output parameters are not in the result set. They are in the callable statement.

getAttrib.registerOutParameter(2,Types.VARCHAR);
getAttrib.execute();
String yourOutputParam = getAttrib.getString(2);

And FFS, this isn't python so no more _ in variable names, OK

ResultSet.execute()
Returns:
the current result as a ResultSet object or null if the result is an update count or there are no more results


http://static.springsource.org/sprin...ence/jdbc.html < if this is your own project and you can do whatever you want, spring provides great abstractions over top of jdbc/orm etc.

There's an out parameter for the status of the stored procedure and the resultset of the actual data. I want both of them back.


Why wouldn't you use "_" in variable names? It helps in organization of them.

This is on an UNIX server where I do not have admin access.
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
post #7 of 10
Because it goes against Java convention. If anyone else ever takes over your code, they're going to be pissed about that and _probably will take the time to rename everything. Stick to the accepted style guide - it will give your code a big vote of confidence in the eyes of others. It makes you look more experienced and also shows that you do care deeply about the correctness of every character you type. For example, you are using _attrib in one place, and _Attrib in another. Why the inconsistency? Does the lower case a vs capital A actually mean something that I need to try to figure out?

Look at it this way - you wouldn't write a research paper without following the standard accepted guidelines for things like that or you'd get points taken off. Code is the same way and actually needs to be treated even more rigorously, it's a constant critical thinking process. "What flaws does this have, can I do something else that would be better and what are the tradeoffs"

Also, your split variable declarations should be initialized to null or you should be getting a compiler warning "uninitialized variable". At least eclipse does that. eclipse alt+shift keys FTW

I don't care for a lot about the C# convention, but when I'm writing C#, I write it the way everyone else writes it and everyone is happy since they don't have to screw around reformatting. If I started putting _ everywhere I'd get a talking to.

http://developers.sun.com/sunstudio/...java-style.pdf

Anyway, about the resultset thing, you might want to try

callableStatment.executeQuery() instead of just execute. I'm a bit fuzzy on the jdbc api at this hour, but I think execute() is for non-prepared statements and executeQuery() is for using the prepared params. Something like that
Edited by lloyd mcclendon - 2/5/11 at 12:35am
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #8 of 10
Thread Starter 
Quote:
Originally Posted by lloyd mcclendon View Post
Because it goes against Java convention. If anyone else ever takes over your code, they're going to be pissed about that and _probably will take the time to rename everything. Stick to the accepted style guide - it will give your code a big vote of confidence in the eyes of others. It makes you look more experienced and also shows that you do care deeply about the correctness of every character you type. For example, you are using _attrib in one place, and _Attrib in another. Why the inconsistency? Does the lower case a vs capital A actually mean something that I need to try to figure out?

Look at it this way - you wouldn't write a research paper without following the standard accepted guidelines for things like that or you'd get points taken off. Code is the same way and actually needs to be treated even more rigorously, it's a constant critical thinking process. "What flaws does this have, can I do something else that would be better and what are the tradeoffs"

Also, your split variable declarations should be initialized to null or you should be getting a compiler warning "uninitialized variable". At least eclipse does that. eclipse alt+shift keys FTW

I don't care for a lot about the C# convention, but when I'm writing C#, I write it the way everyone else writes it and everyone is happy since they don't have to screw around reformatting. If I started putting _ everywhere I'd get a talking to.

http://developers.sun.com/sunstudio/...java-style.pdf

Anyway, about the resultset thing, you might want to try

callableStatment.executeQuery() instead of just execute. I'm a bit fuzzy on the jdbc api at this hour, but I think execute() is for non-prepared statements and executeQuery() is for using the prepared params. Something like that
Thanks for the info on the Java convention... I honestly don't do much Java programming. I have to touch this code because the original developer did not bother to optimize it. (It currently has a runtime of 1.5hrs but I can get it down to 10mins.)


The variables are initialized to NULL outside this piecemeal snippet. I still cannot retrieve the resultset. I know that execute() returns a Boolean while executeQuery returns the resultset. I believe I tried executeQuery() return to the resultset and I tried execute() with getResultSet().
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
post #9 of 10
see the example at http://publib.boulder.ibm.com/infoce...doc/jdbc88.htm

If you borrow the relevant pieces of that it should probably work. That is the only example I found with both a result set and out params. I've read that you're supposed to (but may not have to) exhaust the entire result set before looking at output parameters.

Again if the ResultSet comes back as null, it means that the proc returned an update count, or there were no results. So if you try the same sql using the sybase sql advantage client, does it give you the result set and the value in the out param?

If after that and you know the SQL works but the JDBC code does not, I would fork off a simple test and start small. Try SELECT 1 and see if you can get 1 back in the result set. If not there's a problem further upstream in your code or even with your RDBMS.
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #10 of 10
Thread Starter 
Quote:
Originally Posted by lloyd mcclendon View Post
That is the only example I found with both a result set and out params. I've read that you're supposed to (but may not have to) exhaust the entire result set before looking at output parameters.
That was it. ResultSet has to be read before the out parameter.
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Java ResultSet Not Returning?