public static void storeLinks(List<String> links, String ticker) throws SQLException {
		Connection conn = null;
		PreparedStatement prep = null;
		String updateSql = "INSERT INTO " + ticker + " (Link, Date) VALUES (?, ?)";
		
		try {
			File db = new File("C:\\Users\\Sudip\\Documents\\Development\\workspace\\Design Project\\SAdb.db");
			
			if(db.exists()) {
				
				for(int i = 0; i < links.size(); i++) {
					Class.forName("org.sqlite.JDBC");
					conn = DriverManager.getConnection("jdbc:sqlite:C:\\Users\\Sudip\\Documents\\Development\\workspace\\Design Project\\SAdb.db");
					System.out.println(links.get(i));
					Document document = Jsoup.connect(links.get(i)).get();
					//System.out.println(document.html()); 
					String date = StringUtils.substringBetween(document.html(), "<span>", "</span>");
					System.out.println(date);
					
					conn.setAutoCommit(false);
					prep = conn.prepareStatement(updateSql);
					prep.setString(1, links.get(i));
					prep.setString(2, date);
					prep.executeUpdate();
					conn.commit();
				}
			}
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} catch (SQLException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			if (prep != null) {
	            prep.close();
	        }
	        if (conn != null) {
	        	conn.setAutoCommit(true);
	            conn.close();
	        }
	        
		}
		
	}