It would be great if you have also installed Python 2x(https://www.python.org/downloads/) on your system.
By default "hibernate-core" and "hazelcast-hibernate4" added to project as follows in "pom.xml" file
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.3.5.Final</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast-hibernate4</artifactId>
<version>3.2.3</version>
</dependency>
But project is also compatible with hibernate 3.X.X versions. You can change these entries accordingly.
1) clone the repository to your local using: ``` git clone https://github.com/hazelcastInternsSummer14/hibernate.git ``` 2) go to "hibernate" folder- Compile project using:
mvn compile
- Create database using:
mvn exec:java -Dexec.mainClass="com.hazelcast.hibernate.CreateDB"
- After running the following code, you can add or delete employees. Start with writing help in the application:
mvn exec:java -Dexec.mainClass="com.hazelcast.hibernate.ManageEmployee"