myeclipse « MySQL « JPA Q&A





1. Hibernater / MySQL - using MyEclipse    forum.hibernate.org

private void listUsers() { log.info( "####### list user" ); Transaction tx = session.beginTransaction(); List players = session.createQuery("from Player").list(); for (Iterator iter = players.iterator(); iter.hasNext();) { Player element = (Player) iter.next(); ...