Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow filtering of admin track logs on the data field in sybase #434

Open
PeteDarinzo opened this issue Jan 7, 2025 · 0 comments
Open

Comments

@PeteDarinzo
Copy link
Contributor

PeteDarinzo commented Jan 7, 2025

When an app uses a sybase datasource, attempting to filter admin track logs on the additional data field causes an SQL exception.

The cause is that some operations performed by the field filter's criterion when creating the filtering query cannot be performed on a TEXT field in sybase.

For example, a "like" or "not like" filter will throw the following when the filter criterion attempts to convert the data field to lowercase.

com.sybase.jdbc3.jdbc.SybSQLException: Function LOWER invoked with wrong number or type of argument(s).

Experimentation shows that such a query succeeds when the TEXT field is first cast as a VARCHAR of sufficient size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant