Search:

Type: Posts; User: copeg

Search: Search took 0.10 seconds.

  1. Re: Reading from ResultSet to Object and from object Object Array

    To use the example of reading a ResultSet in partial pseudo-code:


    Product[] myArray = new Product[somesize];

    int count = 0;
    while ( resultSet.next() ){
    Product p = new...
  2. Re: Reading from ResultSet to Object and from object Object Array

    While looping through the ResultSet, don't reuse the same object unless you've got reason to do so. Creating a new one for each row you read from the ResultSet will solve this issue - currently, each...
Results 1 to 2 of 2