You can do this by using two sessions. like,
Session session1 = sessionFactory.openSession();
Session session2 = sessionFactory.openSession();
But I think this is not very good practice. Anyway there is no need of a two tables in one DAO. That too isn't a good practise.
So I've created two DAOs for the two tables and did my CRUD (Create, Read, Update, Delete) operations there and used one service to call booth.
And for the sake of effectiveness, I Autowired the session factory. Otherwise when it tries to do any CRUD operations, It creates a new session factory every time which consumes a lot of time and resource.