Package efrei.ngo.entity

Examples of efrei.ngo.entity.ItemSimple


      Statement statement = conn.createStatement();
      String sql = "SELECT postID,titleName,description,postDate,useName FROM forumitemlist,PersonalInformation WHERE forumitemlist.owner=PersonalInformation.id_pi";
      ResultSet rs=statement.executeQuery(sql);
     
      while(rs.next()){
        itemList.add(new ItemSimple(rs.getString("postID"), rs.getString("titleName"), rs.getString("description"),
            efrei.ngo.util.GeneralUnil.changeDateToGregorianCalendar(rs.getDate("postDate")), rs.getString("useName")));
      }
      statement.close();
    }catch(Exception ex){
      ex.printStackTrace();
View Full Code Here

TOP

Related Classes of efrei.ngo.entity.ItemSimple

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.