code: @SuppressWarnings("unchecked")
  	static void findByNativeQuery(final EntityManager em, final String query)
      {
  
          Query q = em.createNativeQuery(query, Tweets.class);
  
          Map<String, Client> clients = (Map<String, Client>) em.getDelegate();
          ThriftClient client = (ThriftClient) clients.get("twissandra");
          client.setCqlVersion(CassandraConstants.CQL_VERSION_3_0);
  
          logger.info("[On Find Tweets by CQL3]");
          List<Tweets> tweets = q.getResultList();
  
          System.out.println("#######################START##########################################");
          logger.info("\t\t User's total tweets:" + tweets.size());
          onPrintTweets(tweets);
          logger.info("\n");
          // logger.info("First tweet:" users.get(0).getTweets().);
          System.out.println("#######################END############################################");
          logger.info("\n");
      }
docs: On find by native CQL3 query.
  
  @param em            entity manager instance.
  @param query         native cql3 query.