Commit 9dc19348 authored by Eduardo Macarron's avatar Eduardo Macarron

sample updated to MyBatis-Spring 1.0.0

parent 5896c7f2
......@@ -5,7 +5,7 @@
<groupId>org.mybatis</groupId>
<artifactId>jpetstore</artifactId>
<packaging>war</packaging>
<version>6.0-SNAPSHOT</version>
<version>6.0.0-SNAPSHOT</version>
<name>JPetStore Demo 6</name>
<url>http://www.mybatis.org</url>
<dependencies>
......@@ -39,7 +39,7 @@
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.15</version>
<version>1.2.16</version>
<exclusions>
<exclusion>
<groupId>javax.jms</groupId>
......@@ -58,7 +58,7 @@
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
<version>1.0.0-RC3</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
......
......@@ -22,6 +22,8 @@ import org.mybatis.jpetstore.service.CatalogService;
@SessionScope
public class AccountActionBean extends AbstractActionBean {
private static final long serialVersionUID = 5499663666155758178L;
private static final String NEW_ACCOUNT = "/WEB-INF/jsp/account/NewAccountForm.jsp";
private static final String EDIT_ACCOUNT = "/WEB-INF/jsp/account/EditAccountForm.jsp";
private static final String SIGNON = "/WEB-INF/jsp/account/SignonForm.jsp";
......
......@@ -17,6 +17,8 @@ import org.mybatis.jpetstore.service.CatalogService;
@SessionScope
public class CartActionBean extends AbstractActionBean {
private static final long serialVersionUID = -4038684592582714235L;
private static final String VIEW_CART = "/WEB-INF/jsp/cart/Cart.jsp";
private static final String CHECK_OUT = "/WEB-INF/jsp/cart/Checkout.jsp";
......
......@@ -15,6 +15,8 @@ import org.mybatis.jpetstore.service.CatalogService;
@SessionScope
public class CatalogActionBean extends AbstractActionBean {
private static final long serialVersionUID = 5849523372175050635L;
private static final String MAIN = "/WEB-INF/jsp/catalog/Main.jsp";
private static final String VIEW_CATEGORY = "/WEB-INF/jsp/catalog/Category.jsp";
private static final String VIEW_PRODUCT = "/WEB-INF/jsp/catalog/Product.jsp";
......
......@@ -17,6 +17,8 @@ import org.mybatis.jpetstore.service.OrderService;
@SessionScope
public class OrderActionBean extends AbstractActionBean {
private static final long serialVersionUID = -6171288227470176272L;
private static final String CONFIRM_ORDER = "/WEB-INF/jsp/order/ConfirmOrder.jsp";
private static final String LIST_ORDERS = "/WEB-INF/jsp/order/ListOrders.jsp";
private static final String NEW_ORDER = "/WEB-INF/jsp/order/NewOrderForm.jsp";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment