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

UserCache retrieval queries are ignoring the type field #59

Open
shankari opened this issue Oct 29, 2015 · 0 comments
Open

UserCache retrieval queries are ignoring the type field #59

shankari opened this issue Oct 29, 2015 · 0 comments

Comments

@shankari
Copy link
Contributor

Query strings use all other parameters, but omit the type from the query - e.g.

    public <T> T[] getLastValues(int keyRes, String type, int nEntries, Class<T> classOfT) {
        String queryString = "SELECT "+KEY_DATA+" FROM "+TABLE_USER_CACHE+
                " WHERE "+KEY_KEY+" = '"+getKey(keyRes)+ "'"+
                " ORDER BY write_ts DESC  LIMIT "+nEntries;
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