Hibernate ORM LoadEvent - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM LoadEvent class.

This code example shows how to use the following methods:getEntityClassName
	public static class LoadCountingListener implements LoadEventListener {
		final AtomicInteger locationLoadEvents = new AtomicInteger();
		public void onLoad(LoadEvent event, LoadType loadType) {
			if ( Location.class.getName().equals( event.getEntityClassName() ) ) {