advanced code snippet search
indianocean on 07/24/07
sql java opencms
07/24/07 01:36am
Connection connection = OpenCms.getSqlManager().getConnection("hf");Statement stmt = connection.createStatement();ResultSet rs = stmt.executeQuery("SELECT * FROM PRODUCTS"); while(rs.next()) { Integer pid = rs.getInt("product_id"); out.println(pid); }
Report this snippet Tweet
Comment:
You need to login to post a comment.