Skip to content

Issue while integrating DropWizard with Couchbase #12

Description

@ShobhanaK

I am using "dropwizard-couchbase" dependency to integrate couchbase with dropwizard.
When I try to perform GET operation, it internally invokes "read(String id)" method from "GenericAccessorImpl" class where the method makeKey(String id) is being invoked.
Since makeKey() method appends BucketName with id (for instance, "EMPLOYEE:emp001") as "type.getSimpleName().toUpperCase() + ":" + id", GET operation returns nothing.
However I tried to update this string in DEBUG mode by removing bucketName and passing only ID (emp001), it returns the data properly from DB.
Kindly let me know if I am missing anything or anything needs to be changed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions