@Override
	public void addSokgraph(Sokgraph s) throws SQLException {
		// TODO Auto-generated method stub
	    
	    String path = s.toStringPath();
	    String keyboardID = s.getKeyboardID();
	    int userID = this.getUserID(s.getUsername());
	    int wordID = this.getWordID(s.getWord());
	    
	    String sp = s.getStartPointX() + "," + s.getStartPointY();
	    String ep = s.getEndPointX() + "," + s.getEndPointY();
	    
	    String query = "INSERT INTO sokgraph (userid,keyboardid,wordid,graph,startpoint,endpoint) VALUES(%d,'%s',%d,path('%s'),point(%s),point(%s));";
	    query = String.format(query,userID,keyboardID,wordID,path,sp,ep);
	    this.dbConnection.execute(query);
		
	}