tomcat server.xml sybase 属性
在 Tomcat 的 server.xml
中,我有一个
标记,其中 Sybase 数据源正常工作。我需要将下面的 Sybase 特定属性添加到
中:
GET_BY_NAME_USES_COLUMN_LABEL = true
但我不确定将其放在哪里。我该怎么做呢?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不使用 Sybase,所以我无法从头顶上分辨出来,但在所有其他数据库上,这些类型的连接属性通常以 JDBC 连接 URL 的查询字符串格式传递。 Sybase JDBC 文档 证实这对于 Sybase 来说也是如此。以下是相关性的摘录:
所以,这应该适合你:
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: