an-spring.2.7.3.source-code.default-ebean-server.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean-spring Show documentation
Show all versions of ebean-spring Show documentation
Support for Spring transactions and IOC setup of Ebean server config
<?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" 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"> <!-- Default abstract Ebean Server configuration --> <bean id="defaultEbeanServerConfig" class="com.avaje.ebean.config.ServerConfig" abstract="true"> <property name="autofetchConfig"> <bean class="com.avaje.ebean.config.AutofetchConfig"> <property name="logDirectory" value="logs"/> </bean> </property> <!-- turn off all logging by default --> <property name="loggingDirectory" value="logs"/> <property name="loggingLevel" value="NONE"/> <property name="externalTransactionManager"> <bean class="com.avaje.ebean.springsupport.txn.SpringAwareJdbcTransactionManager"/> </property> <property name="namingConvention"> <bean class="com.avaje.ebean.config.UnderscoreNamingConvention"/> </property> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy