/** checks the last tweeted ID and invokes the methode getAllTweets */ private void runHamletTweets() { /** the methode prepareStatements is not necessary */ dc.prepareStatements(); last_tweet = getLastTweet(); /** System.out.println("LAST TWEET id: "+last_tweet); */ last_tweet = dc.getAllTweets(last_tweet); System.out.println(last_tweet); saveLastTweet(last_tweet); System.out.println("end"); }