
technology-usage.tests.data.database.AnnotationMultipleDs Maven / Gradle / Ivy
The newest version!
import javax.annotation.sql.DataSourceDefinition;
import javax.annotation.sql.DataSourceDefinitions;
/**
* @author David Klingenberg
*/
@DataSourceDefinitions({
@DataSourceDefinition(
name = "jdbc/multiple-ds-xa",
className="com.example.MyDataSource",
portNumber=6689,
serverName="example.com",
user="lance",
password="secret"
),
@DataSourceDefinition(
name = "jdbc/multiple-ds-non-xa",
className="com.example.MyDataSource",
portNumber=6689,
serverName="example.com",
user="lance",
password="secret",
transactional = false
),
})
public class AnnotationMultipleDs
{
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy