{"id":21923776,"url":"https://github.com/soujava/nosql-value-writer","last_synced_at":"2026-05-04T12:34:39.525Z","repository":{"id":166225936,"uuid":"607528192","full_name":"soujava/nosql-value-writer","owner":"soujava","description":"A sample using Jakarta NoSQL ValueWriter","archived":false,"fork":false,"pushed_at":"2023-02-28T12:22:31.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-06-15T11:55:35.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soujava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-28T06:32:55.000Z","updated_at":"2023-02-28T07:37:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"745d50d9-6c59-4b8f-a8d2-66dcefa293f2","html_url":"https://github.com/soujava/nosql-value-writer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soujava/nosql-value-writer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fnosql-value-writer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fnosql-value-writer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fnosql-value-writer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fnosql-value-writer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soujava","download_url":"https://codeload.github.com/soujava/nosql-value-writer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fnosql-value-writer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32607693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T21:12:46.897Z","updated_at":"2026-05-04T12:34:39.508Z","avatar_url":"https://github.com/soujava.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ValueWriter Example\n\n![MongoDB Project](http://www.jnosql.org/img/logos/mongodb.png)\n\nYou are creating a converter for Eclipse NoSQL that will work without a mapping annotation. You can use both ValueWriter and ValueReader.\n\n* **ValueWriter**: This interface represents an instance of Value to write in a database.\n* **ValueReader**: This interface represents how the Value will convert to Java application. This interface will use the \u003cT\u003e T get(Class\u003cT\u003e type) and \u003cT\u003e T get(TypeSupplier\u003cT\u003e typeSupplier).\n\n\n## Steps\n\n* The first step is to create the converter to a custom type database, the ValueWriter.\n* ValueWriter created and the Money type will save as String, then the next step is read information to Java application. As can be seen, a ValueReader implementation.\n\n\nAfter both implementations have been completed, the last step is to register them into two files:\n\n* `META-INF/services/jakarta.nosql.ValueReader`\n* `META-INF/services/jakarta.nosql.ValueWriter`\n\n## Using Docker\n\n1. Install docker: https://www.docker.com/\n2. https://store.docker.com/images/mongo\n3. Run docker command\n4. Run MongoDB: verify MongoDB image name with the command `docker images`, it can be mongodb or mongo, and then execute this command \n   1. `docker run -d --name mongodb-instance -p 27017:27017 mongo`\n\n\n\n## Run the code\n\nWith a MongoDB instance running go to the class **App** and have fun.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoujava%2Fnosql-value-writer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoujava%2Fnosql-value-writer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoujava%2Fnosql-value-writer/lists"}