Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.hibernate.engine.spi.SessionFactoryImplementor.getConnectionProvider()Lorg/hibernate/service/jdbc/connections/spi/ConnectionProvider;

Well again at work for some reason 🙂 I had been facing the session factory related transaction manager issue, I tried many ways to get the app back on the track to work along with hibernate. so the issue turned out the version mismatch! I was dwelling on sorting out, as read the post on

hibernate exception: org.hibernate.AnnotationException: No identifier specified for entity

Well today at work I faced an error in  Eclipse’s console: hibernate exception: org.hibernate.AnnotationException: No identifier specified for entity which leaded me to google to find info. It happened, because i forgot to identify the @Id annotation on the index of the table. Sample code is: @Id @Column(name="PERSONNEL_NUMBER") @GeneratedValue(generator = "Default_Generator") @SequenceGenerator(name="Default_Generator", sequenceName="HIBERNATE_SEQUENCE") private String personnelNumber;

Spring Jars

Hi guys I recently found good places where I can rapidly download java jars. Open Logic: Spring: http://olex.openlogic.com/packages/spring Spring Security: http://olex.openlogic.com/packages/spring-security Java2S Spring List: http://www.java2s.com/Code/Jar/s/Catalogs.htm Grepcode Spring: http://grepcode.com/project/repo1.maven.org/maven2/org.springframework.security/spring-security