提交 1c04689c 编写于 作者: 爱吃血肠's avatar 爱吃血肠

commit by liyunfeng

上级
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/antlr-2.7.6.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/asm-3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/asm-commons-3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/asm-tree-3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/com.springsource.net.sf.cglib-2.2.0.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/com.springsource.org.aopalliance-1.0.0.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/com.springsource.org.apache.commons.logging-1.1.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/com.springsource.org.aspectj.tools-1.6.6.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-collections-3.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.2.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-2.0.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-lang-2.5.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/freemarker-2.3.18.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/javassist-3.11.0.GA.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jta-1.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/log4j.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mysql-connector-java-5.0.8-bin.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/ognl-3.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.aop-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.asm-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.aspects-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.beans-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.context-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.context.support-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.core-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.expression-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.jdbc-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.orm-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.transaction-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/org.springframework.web-3.1.0.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.5.8.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-log4j12.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts2-core-2.3.1.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts2-spring-plugin-2.3.1.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/xwork-core-2.3.1.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/poi-3.7-20101029.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-logging-1.1.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="con" path="com.genuitec.runtime.library/com.genuitec.generic_6.0">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="com.genuitec.runtime.library/com.genuitec.jstl_1.2.1">
<attributes>
<attribute name="org.eclipse.jst.component.dependency" value="WEB-INF/lib"/>
<attribute name="owner.project.facets" value="jst.web.jstl"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
</classpath>
<component name="ArtifactManager">
<artifact type="exploded-war" name="ExamOnline:war exploded">
<output-path>$PROJECT_DIR$/out/artifacts/ExamOnline_war_exploded</output-path>
<root id="root">
<element id="directory" name="WEB-INF">
<element id="directory" name="classes">
<element id="module-output" name="ExamOnline" />
</element>
</element>
<element id="javaee-facet-resources" facet="ExamOnline/web/Web" />
</root>
</artifact>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
<entry name="!?*.aj" />
</wildcardResourcePatterns>
<annotationProcessing>
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
</annotationProcessing>
</component>
</project>
\ No newline at end of file
<component name="CopyrightManager">
<settings default="" />
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="lib">
<CLASSES>
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/com.springsource.org.aspectj.tools-1.6.6.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/freemarker-2.3.18.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/hibernate3.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/asm-tree-3.3.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/commons-collections-3.1.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/mysql-connector-java-5.0.8-bin.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/javassist-3.11.0.GA.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/commons-lang-2.5.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/commons-io-2.0.1.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.aspects-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.aop-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.transaction-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/com.springsource.org.aopalliance-1.0.0.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/asm-3.3.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/antlr-2.7.6.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/com.springsource.org.apache.commons.logging-1.1.1.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.orm-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/commons-fileupload-1.2.2.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/ognl-3.0.4.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.core-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.jdbc-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/xwork-core-2.3.1.2.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.beans-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/struts2-spring-plugin-2.3.1.2.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/slf4j-log4j12.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.context-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/servlet-api.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/commons-logging-1.1.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/com.springsource.net.sf.cglib-2.2.0.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.asm-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.web-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/dom4j-1.6.1.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/jta-1.1.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/log4j.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.expression-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/slf4j-api-1.5.8.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/asm-commons-3.3.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/poi-3.7-20101029.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/org.springframework.context.support-3.1.0.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/WebRoot/WEB-INF/lib/struts2-core-2.3.1.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MavenImportPreferences">
<option name="generalSettings">
<MavenGeneralSettings>
<option name="mavenHome" value="Bundled (Maven 3)" />
</MavenGeneralSettings>
</option>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/ExamOnline.iml" filepath="$PROJECT_DIR$/ExamOnline.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ExamOnline</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.springframework.springbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.genuitec.eclipse.springframework.springnature</nature>
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="WebRoot"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary/StandardBrowser/html5"/>
<classpathentry kind="output" path=""/>
</classpath>
eclipse.preferences.version=1
validator.Checked=src/struts.xml
validator.Unchecked=
eclipse.preferences.version=1
performed.operation.me.install.springfacet=1.0
eclipse.preferences.version=1
encoding//WebRoot/common/js/sccl.js=UTF-8
encoding//WebRoot/common/layui/css/layui.css=UTF-8
encoding//WebRoot/manager/studentListPage.jsp=UTF-8
encoding//WebRoot/teacher/error.jsp=UTF-8
encoding/<project>=UTF-8
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="ExamOnline">
<wb-resource deploy-path="/" source-path="/WebRoot" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<property name="context-root" value="ExamOnline"/>
<property name="java-output-path" value="/ExamOnline/WebRoot/WEB-INF/classes"/>
</wb-module>
</project-modules>
<root>
<facet id="me.spring">
<node name="libprov">
<attribute name="provider-id" value="spring-no-op-library-provider"/>
</node>
</facet>
</root>
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="com.genuitec.runtime.generic.jee60"/>
<fixed facet="wst.jsdt.web"/>
<fixed facet="java"/>
<fixed facet="jst.web"/>
<installed facet="java" version="1.6"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="jst.web.jstl" version="1.2.1"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="me.spring" version="3.1"/>
</faceted-project>
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="web" name="Web">
<configuration>
<descriptors>
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/WebRoot/WEB-INF/web.xml" />
</descriptors>
<webroots>
<root url="file://$MODULE_DIR$/WebRoot" relative="/" />
</webroots>
<sourceRoots>
<root url="file://$MODULE_DIR$/src" />
</sourceRoots>
</configuration>
</facet>
<facet type="hibernate" name="Hibernate">
<configuration>
<datasource-map>
<unit-entry name="WebRoot:WEB-INF:classes:hibernate.cfg.xml" />
<unit-entry name="hibernate.cfg.xml" />
<unit-entry name="sessionFactory" value="dataSource" />
</datasource-map>
<naming-strategy-map />
<deploymentDescriptor name="hibernate.cfg.xml" url="file://$MODULE_DIR$/WebRoot/WEB-INF/classes/hibernate.cfg.xml" />
<deploymentDescriptor name="hibernate.cfg.xml" url="file://$MODULE_DIR$/src/hibernate.cfg.xml" />
</configuration>
</facet>
<facet type="Spring" name="Spring">
<configuration>
<fileset id="fileset" name="Spring Application Context" removed="false">
<file>file://$MODULE_DIR$/src/applicationContext.xml</file>
<file>file://$MODULE_DIR$/WebRoot/WEB-INF/classes/applicationContext.xml</file>
</fileset>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="lib" level="project" />
</component>
</module>
\ No newline at end of file
Manifest-Version: 1.0
Class-Path:
<?xml version="1.0"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd ">
<!-- 组件扫描 -->
<context:component-scan base-package="com.exam.online.dao.impl,com.exam.online.service.impl,com.exam.online.action" />
<!-- 分散配置 -->
<context:property-placeholder location="classpath:jdbc.properties"/>
<!-- 数据源 -->
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource">
<property name="driverClass" value="${jdbc.driverclass}" />
<property name="jdbcUrl" value="${jdbc.url}" />
<property name="user" value="${jdbc.username}" />
<property name="password" value="${jdbc.password}" />
<property name="maxPoolSize" value="${c3p0.pool.size.max}" />
<property name="minPoolSize" value="${c3p0.pool.size.min}" />
<property name="initialPoolSize" value="${c3p0.pool.size.ini}" />
<property name="acquireIncrement" value="${c3p0.pool.size.increment}" />
</bean>
<!-- 本地会话工厂bean,spring整合hibernate的核心入口 -->
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<!-- 注入数据源 -->
<property name="dataSource" ref="dataSource" />
<!-- 指定hibernate配置文件 -->
<property name="configLocation" value="classpath:hibernate.cfg.xml" />
<!-- 指定映射文件目录 -->
<property name="mappingDirectoryLocations">
<list>
<value>classpath:com/exam/online/domain</value>
</list>
</property>
</bean>
<!-- 定义HibernateTemplate -->
<bean id="hibernateTemplate" class="org.springframework.orm.hibernate3.HibernateTemplate">
<property name="sessionFactory">
<ref bean="sessionFactory"/>
</property>
</bean>
<!-- 事务管理器,在service层面上实现事务管理,而且达到平台无关性 -->
<bean id="txManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory" />
</bean>
<!-- 配置事务通知 -->
<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method name="save*" propagation="REQUIRED" isolation="DEFAULT" />
<tx:method name="update*" propagation="REQUIRED" isolation="DEFAULT" />
<tx:method name="delete*" propagation="REQUIRED" isolation="DEFAULT" />
<tx:method name="batch*" propagation="REQUIRED" isolation="DEFAULT" />
<tx:method name="new*" propagation="REQUIRED" isolation="DEFAULT" />
<tx:method name="get*" propagation="REQUIRED" isolation="DEFAULT" read-only="true"/>
<tx:method name="load*" propagation="REQUIRED" isolation="DEFAULT" read-only="true"/>
<tx:method name="find*" propagation="REQUIRED" isolation="DEFAULT" read-only="true"/>
<tx:method name="*" propagation="REQUIRED" isolation="DEFAULT" />
</tx:attributes>
</tx:advice>
<!-- aop事务配置 -->
<aop:config>
<aop:advisor advice-ref="txAdvice" pointcut="execution(* *..*Service.*(..))"/>
</aop:config>
</beans>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.Blank" table="blank">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="number" column="number" type="string" length="20" />
<property name="question" column="question" type="string" length="100" />
<property name="answer" column="answer" type="string" length="100" />
<property name="subject" column="subject" type="string" length="20" />
<property name="author" column="author" type="string" length="20" />
<property name="regDate" column="regdate" type="timestamp" update="false"/>
<property name="difficult" column="difficult" type="integer" length="10" />
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.Judgment" table="judgment">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="number" column="number" type="string" length="20" />
<property name="question" column="question" type="string" length="100" />
<property name="answer" column="answer" type="string" length="100" />
<property name="subject" column="subject" type="string" length="20" />
<property name="author" column="author" type="string" length="20" />
<property name="regDate" column="regdate" type="timestamp" update="false"/>
<property name="difficult" column="difficult" type="integer" length="10" />
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.Manager" table="manager">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="number" column="number" type="string" length="20" />
<property name="password" column="password" type="string" length="50" />
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.MultipleChoice" table="multiplechoice">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="number" column="number" type="string" length="20" />
<property name="question" column="question" type="string" length="100" />
<property name="choicea" column="choicea" type="string" length="100" />
<property name="choiceb" column="choiceb" type="string" length="100" />
<property name="choicec" column="choicec" type="string" length="100" />
<property name="choiced" column="choiced" type="string" length="100" />
<property name="choicee" column="choicee" type="string" length="100" />
<property name="choicef" column="choicef" type="string" length="100" />
<property name="answer" column="answer" type="string" length="100" />
<property name="subject" column="subject" type="string" length="20" />
<property name="author" column="author" type="string" length="20" />
<property name="regDate" column="regdate" type="timestamp" update="false"/>
<property name="difficult" column="difficult" type="integer" length="10" />
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.Paper" table="paper">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="number" column="number" type="string" length="20" />
<property name="name" column="name" type="string" length="100" />
<property name="singleCount" column="singlecount" type="integer" length="10" />
<property name="multipleCount" column="multiplecount" type="integer" length="10" />
<property name="blankCount" column="blankcount" type="integer" length="10" />
<property name="judgmentCount" column="judgmentcount" type="integer" length="10" />
<property name="programCount" column="programcount" type="integer" length="10" />
<property name="subject" column="subject" type="string" length="20" />
<property name="author" column="author" type="string" length="20" />
<property name="regDate" column="regdate" type="timestamp" update="false"/>
<property name="difficult" column="difficult" type="integer" length="10" />
<property name="status" column="status" type="integer" length="10" />
<property name="score" column="score" type="integer" length="10" />
<property name="style" column="style" type="string" length="20" />
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.PaperItem" table="paperitem">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="score" column="score" type="integer" length="20" />
<property name="enumber" column="enumber" type="string" length="20" />
<property name="qnumber" column="qnumber" type="string" length="20" />
<property name="type" column="type" type="string" length="20" />
<property name="regDate" column="regdate" type="timestamp" update="false"/>
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.Program" table="program">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="number" column="number" type="string" length="20" />
<property name="question" column="question" type="string" length="500" />
<property name="answer" column="answer" type="string" length="500" />
<property name="subject" column="subject" type="string" length="20" />
<property name="author" column="author" type="string" length="20" />
<property name="regDate" column="regdate" type="timestamp" update="false"/>
<property name="difficult" column="difficult" type="integer" length="10" />
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.ProgramAnswers" table="programanswers">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="subject" column="subject" type="string" length="20" />
<property name="snumber" column="snumber" type="string" length="20" />
<property name="sname" column="sname" type="string" length="20" />
<property name="sclas" column="sclas" type="string" length="20" />
<property name="enumber" column="enumber" type="string" length="20" />
<property name="ename" column="ename" type="string" length="20" />
<property name="escore" column="escore" type="integer" length="20" />
<property name="first" column="first" type="string" length="2000" />
<property name="second" column="second" type="string" length="2000" />
<property name="third" column="third" type="string" length="2000" />
<property name="forth" column="forth" type="string" length="2000" />
<property name="fifth" column="fifth" type="string" length="2000" />
<property name="score" column="score" type="integer" length="20" />
<property name="status" column="status" type="integer" length="1" />
<property name="regDate" column="regdate" type="timestamp" update="false"/>
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.Results" table="results">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="subjcet" column="subjcet" type="string" length="20" />
<property name="snumber" column="snumber" type="string" length="20" />
<property name="sname" column="sname" type="string" length="20" />
<property name="sclas" column="sclas" type="string" length="20" />
<property name="enumber" column="enumber" type="string" length="20" />
<property name="ename" column="ename" type="string" length="20" />
<property name="singleScore" column="singlescore" type="integer" length="20" />
<property name="multipleScore" column="multiplescore" type="integer" length="20" />
<property name="blankScore" column="blankscore" type="integer" length="20" />
<property name="judgmentScore" column="judgmentscore" type="integer" length="20" />
<property name="programScore" column="programscore" type="integer" length="20" />
<property name="singleAnswer" column="singleanswer" type="string" length="200" />
<property name="multipleAnswer" column="multipleanswer" type="string" length="200" />
<property name="blankAnswer" column="blankanswer" type="string" length="500" />
<property name="judgmentAnswer" column="judgmentanswer" type="string" length="500" />
<property name="programAnswer" column="programanswer" type="string" length="2000" />
<property name="totalScore" column="totalscore" type="integer" length="10" />
<property name="regDate" column="regdate" type="timestamp" update="false"/>
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.SingleChoice" table="singlechoice">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="number" column="number" type="string" length="20" />
<property name="question" column="question" type="string" length="100" />
<property name="choicea" column="choicea" type="string" length="100" />
<property name="choiceb" column="choiceb" type="string" length="100" />
<property name="choicec" column="choicec" type="string" length="100" />
<property name="choiced" column="choiced" type="string" length="100" />
<property name="answer" column="answer" type="string" length="100" />
<property name="subject" column="subject" type="string" length="20" />
<property name="author" column="author" type="string" length="20" />
<property name="regDate" column="regdate" type="timestamp" update="false"/>
<property name="difficult" column="difficult" type="integer" length="10" />
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.Student" table="student">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="number" column="number" type="string" length="20" />
<property name="password" column="password" type="string" length="50" />
<property name="name" column="name" type="string" length="20" />
<property name="syear" column="syear" type="string" length="20" />
<property name="major" column="major" type="string" length="20" />
<property name="clas" column="clazz" type="string" length="20" />
<property name="status" type="integer" length="1" >
<column name="status" default="0"></column>
</property>
<property name="regDate" column="regdate" type="timestamp" update="false"/>
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.Subjects" table="subjects">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="name" column="name" type="string" length="20" />
<property name="des" column="des" type="string" length="20" />
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.exam.online.domain.Teacher" table="teacher">
<id name="id" column="id" type="integer">
<generator class="increment" />
</id>
<property name="number" column="number" type="string" length="20" />
<property name="password" column="password" type="string" length="50" />
<property name="name" column="name" type="string" length="20" />
<property name="regDate" column="regdate" type="timestamp" update="false"/>
</class>
</hibernate-mapping>
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册