fixed formatting - was mix of spaces and tabs

This commit is contained in:
Cash Costello 2016-02-11 21:41:28 -05:00 committed by Vlad Mihalcea
parent e09a9f9aca
commit 5e6d751bbf
1 changed files with 4 additions and 4 deletions

View File

@ -77,12 +77,12 @@ public class NativeApiIllustrationTest extends TestCase {
// now lets pull events from the database and list them
session = sessionFactory.openSession();
session.beginTransaction();
List result = session.createQuery( "from Event" ).list();
session.beginTransaction();
List result = session.createQuery( "from Event" ).list();
for ( Event event : (List<Event>) result ) {
System.out.println( "Event (" + event.getDate() + ") : " + event.getTitle() );
}
session.getTransaction().commit();
session.close();
session.getTransaction().commit();
session.close();
}
}