gleimar 2012-10-31 21:18:52 +00:00
parent fdd757cb81
commit 0a8d6b1668
3 changed files with 24 additions and 29 deletions

View File

@ -1,21 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<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:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
<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:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
<!-- Hibernate config -->
<context:property-placeholder
location="classpath:/com/rjconsultores/ventaboletos/web/cliente/conf/database.properties" />
<context:property-placeholder location="classpath:/com/rjconsultores/ventaboletos/web/cliente/conf/database.properties" />
<context:component-scan base-package="com.rjconsultores.ventaboletos" />
<tx:annotation-driven transaction-manager="transactionManager" />
<bean id="sessionFactory"
class="com.rjconsultores.ventaboletos.utilerias.spring.MyAnnotationSessionFactoryBean">
<bean id="sessionFactory" class="com.rjconsultores.ventaboletos.utilerias.spring.MyAnnotationSessionFactoryBean">
<property name="dataSource">
<ref local="dataSource" />
</property>
@ -298,13 +294,11 @@
</property>
</bean>
<bean id="transactionManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory" />
</bean>
<bean id="contextApplicationContextProvider"
class="com.rjconsultores.ventaboletos.web.utilerias.spring.ApplicationContextProvider">
<bean id="contextApplicationContextProvider" class="com.rjconsultores.ventaboletos.web.utilerias.spring.ApplicationContextProvider">
</bean>
<!-- <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> -->
@ -323,19 +317,14 @@
<!-- ====================================================== -->
<!-- Search class from Hibernate-Generic-DAO framework -->
<!-- ====================================================== -->
<bean id="hibernateSearchSupport" scope="prototype"
class="com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchSupportImpl">
<bean id="hibernateSearchSupport" scope="prototype" class="com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchSupportImpl">
<property name="sessionFactory" ref="sessionFactory" />
<property name="hibernateSearchProcessor">
<bean class="com.trg.search.hibernate.HibernateSearchProcessor"
factory-method="getInstanceForSessionFactory">
<bean class="com.trg.search.hibernate.HibernateSearchProcessor" factory-method="getInstanceForSessionFactory">
<constructor-arg ref="sessionFactory" />
</bean>
</property>
</bean>
<bean id="sqlFactory"
class="com.rjconsultores.ventaboletos.dao.sqlbuilder.SQLFactory" />
<bean id="sqlBuilder"
class="com.rjconsultores.ventaboletos.dao.sqlbuilder.SQLBuilder"
factory-bean="sqlFactory" factory-method="getBuilder" />
<bean id="sqlFactory" class="com.rjconsultores.ventaboletos.dao.sqlbuilder.SQLFactory" />
<bean id="sqlBuilder" class="com.rjconsultores.ventaboletos.dao.sqlbuilder.SQLBuilder" factory-bean="sqlFactory" factory-method="getBuilder" />
</beans>

View File

@ -7,7 +7,7 @@
# <controler>. <id>. <propiedade> = XXX
#Versao do VentaBoleto:
versao = ADM_20121029_1RC77
versao = ADM_20121031_1RC78
# MSG Defaut:
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100

View File

@ -118,6 +118,12 @@
value="getSaltoBilhete" label="Salto Bilhete" />
<comboitem
value="getCorridaExtra" label="Corrida Extra" />
<comboitem
value="getNsuSitef" label="NSU Sitef" />
<comboitem
value="getNsuHostSitef" label="NSU Host Sitef" />
<comboitem
value="getAutorizacaoSitef" label="Autorização Sitef" />
</combobox>
</row>
<row>