Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Service Management Application Url

http://localhost:8080/cas/services/manage.html

Database Schema

NOTE: This application currently uses an in-memory dao. For production deployments it should be replaced with the JPA-provided one.

DRAFT

 	<!-- This is the EntityManagerFactory configuration for Hibernate -->
	<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
		<property name="dataSource" ref="dataSource"/>
		<property name="jpaVendorAdapter">
			<bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
				<property name="generateDdl" value="true"/>
				<property name="showSql" value="true" />
			</bean>
		</property>
	</bean>

	<bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
		<property name="entityManagerFactory" ref="entityManagerFactory"/>
	</bean>
    
	<tx:annotation-driven transaction-manager="transactionManager"/>

	<bean
		id="dataSource"
		class="com.mchange.v2.c3p0.ComboPooledDataSource"
		p:driverClass="org.hsqldb.jdbcDriver"
		p:jdbcUrl-ref="database"
		p:password=""
		p:user="sa" />
  • No labels