Detected 1 occurrence(s) of ‘mysql:\/\/’: <% ArrayList<ArrayList<String>> aaList = new ArrayList<ArrayList<String>>(); ResultSet rs; Statement statement = null; Class.forName("com.mysql.jdbc.Driver"); Connection conn = DriverManager.getConnection("jdbc:mysql://ics321instance.cglh44ydeyny.us-east-1.rds.amazonaws.com/ics321", "user", "password"); statement = conn.createStatement(); //this query should return all items rs = statement.executeQuery("select * from Product where price < 10;"); int Source: http://pastebin.com/raw.php?i=bfRe6ZXH
↧