Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

Appian with SQL Server connection

Hi,

I have below setting

customer.properties.

conf.data.APPIAN_DATA_SOURCE=jdbc/SqlServerDataSource

 tomcatResources.xml

<Resource name="jdbc/SqlServerDataSource"
factory="com.appiancorp.tomcat.datasource.EncodedPasswordDataSourceFactory"
type="javax.sql.DataSource"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://xyz.nam.nsroot.net:2431;databaseName=TestDB"
username="xxx"
password="xxx"
..
/>

Now, by using above settings, how can I connect to the database. Do I need to use any specific object to read these properties and form a connection string or do I need to follow any other process.

Can someone advise.

Thanks.

  Discussion posts and replies are publicly visible