mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<?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>
|