Spring Orm 简明教程

Spring ORM - Create Project

使用 Eclipse 选择 FileNew * → *Maven Project 。勾选 创建简单项目(跳过原型选择),然后单击下一步。

Using eclipse, select FileNew * → *Maven Project. Tick the *Create a simple project(skip archetype selection) * and click Next.

new maven project

输入详细信息,如下所示:

Enter the details, as shown below:

project details

单击完成按钮,将创建一个新项目。

Click on Finish button and an new project will be created.

spring application

现在我们的项目已经准备就绪,在下一章中,让我们在 pom.xml 中添加以下依赖项。

Now as we’ve our project ready, let add following dependencies in pom.xml in next chapter.

  1. Spring Framework

  2. Hibernate

  3. MySQL Connector

  4. Other related dependencies.