Fix enough to make it functional in NetBeans 7.3 if you disable hibernate support due to slf4j conflict