All Downloads are FREE. Search and download functionalities are using the official Maven repository.

s.Anteros-MobileServer-Core.1.0.0.source-code.anteros-config.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<easysql-configuration>
	<session-factory>
		<placeholder location="anterosMobileServer.properties" />
		<dataSources>
			<dataSource id="c3p0DataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource">
				<property name="driverClass" value="${jdbc.driverClassName}" />
				<property name="jdbcUrl" value="${jdbc.url}" />
				<property name="user" value="${jdbc.username}" />
				<property name="password" value="${jdbc.password}" />
				<property name="acquireIncrement" value="${c3p0.acquireIncrement}" />
				<property name="initialPoolSize" value="${c3p0.initialPoolSize}" />
				<property name="maxPoolSize" value="${c3p0.maxPoolSize}" />
				<property name="minPoolSize" value="${c3p0.minPoolSize}" />
				<property name="maxIdleTime" value="${c3p0.maxIdleTime}" />
				<property name="idleConnectionTestPeriod" value="${c3p0.idleConnectionTestPeriod}" />
			</dataSource>
			<dataSource id="jndiDataSource"
				class="br.com.jeasysql.jndi.JndiDataSourceFactory">
				<property name="jndi-name" value="nomeDoJNDI" />
			</dataSource>
		</dataSources>
		<properties>
			<property name="driverClassName" value="${jdbc.driverClassName}" />
			<property name="url" value="${jdbc.url}" />
			<property name="username" value="${jdbc.username}" />
			<property name="password" value="${jdbc.password}" />
			<property name="dialect" value="${anteros.dialect}" />
			<property name="showsql" value="${anteros.showsql}" />
			<property name="formatsql" value="${anteros.formatsql}" />
			<property name="ddl" value="${anteros.ddl}" />
			<property name="defaultSchema" value="${anteros.defaultSchema}" />
			<property name="defaultCatalog" value="${anteros.defaultCatalog}" />
			<property name="dataSource" value="c3p0DataSource" />
			<property name="queryTimeout" value="${anteros.queryTimeout}" />
		</properties>
		<annotatedClasses>
		    <class>br.com.anteros.mobile.core.synchronism.model.Synchronism</class>
			<class>br.com.anteros.mobile.core.synchronism.model.ActionSynchronism</class>
			<class>br.com.anteros.mobile.core.synchronism.model.ApplicationSynchronism</class>
			<class>br.com.anteros.mobile.core.synchronism.model.FieldSynchronism</class>
			<class>br.com.anteros.mobile.core.synchronism.model.ParameterSynchronism</class>
			<class>br.com.anteros.mobile.core.synchronism.model.ProcedureSynchronism</class>
			<class>br.com.anteros.mobile.core.synchronism.model.TableSynchronism</class>
		</annotatedClasses>
	</session-factory>
</easysql-configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy