In the server.xml for Tomcat I have a <Resource> tag with a Sybase datasource working correctly. I need to add the Sybase specific property below to the <Resource>:
GET_BY_NAME_USES_COLUMN_LABEL = true
But I am not sure where to put it. How can I do it?
I don’t do Sybase, so I can’t tell it from top of head, but on all other databases those kind of connection properties are usually to be passed in a query string format of the JDBC connection URL. The Sybase JDBC documentation confirms that this is true for Sybase as well. Here’s an extract of relevance:
So, this should do it for you: