How Can Do This On A Java Derby Resultset - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › How Can Do This On A Java Derby Resultset (919 Views)
| How Can Do This On A Java Derby Resultset by Danyl(op): 12:00pm On Jan 09, 2013 |
hello house, I've been on this project for sometime now, i have this problem with my database driven software which am designing using java. when i retrieve the fields from the resultset, i store all the data in a ArrayList object which i later on copied into a stringBuilder for a persistence, because i have used a List but everytime i try to iterate through all the retrieved rows i only get a null value after the first row or second row has been given, now i have everything in the StringBuffer object but i want to use a String array, to store all the string in the string buffer so i can iterate through the elements and scroll through them on a JLabel, but its not dynamic enough, but i dont want to use a fileIO system to do this pls how can i go about this. the program works well if i use an arbitrary String array but with the StringBuilder object its not dynamic, how can i go abt it. thanks. |
| Re: How Can Do This On A Java Derby Resultset by Nobody: 12:23pm On Jan 09, 2013 |
Guy, Post ur code so we can help debug... That is the way it is done... got it ![]() Post the code where u think the problem is coming from... how you did d parsing and sorts of rgds |
| Re: How Can Do This On A Java Derby Resultset by Danyl(op): 9:43am On Jan 22, 2013 |
ledafaze: Guy,the problem has been solved thank you. |
How Do I Make A Java Prog Run At Startup? • Im A Java Expert Here To Teach Those Who Wants To Learn. • A Java J2me Application Developed By A Nigerian U Need To Have(must) • 2 • 3 • 4
Help Mobile Application • Pls, Help Me On This Resume Builder • Oya Share Your Views For Sharevites.com...start Now
