I am working on a Spring MVC app using Jboss 7.1.1. Until now, we are using simple database connectivity using JDBC. Like:
Class.forName(driver).newInstance();
Connection conn = DriverManager.getConnection(url+dbName,userName,password);
Now we decided to use JPA (Hibernate) annotations for database operations. The problem is that I know very little about Hibernate, and I have not much idea from where to start.
Where should I start? I have setup MySQL data source in Jboss. Do I need to configure Hibernate with jboss?