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

Fast and Convenient API for Querying an Object by ID #61

Open
mpluecker opened this issue Jan 27, 2017 · 1 comment
Open

Fast and Convenient API for Querying an Object by ID #61

mpluecker opened this issue Jan 27, 2017 · 1 comment
Assignees

Comments

@mpluecker
Copy link

mpluecker commented Jan 27, 2017

Since one of the most common operations is to load an object by its id, we need a fast and convenient API to do this. This could be something like <T> T queryObjectById(Class<T> clazz, String id). Also a bulk operation would be nice: <T> List<T> queryObjectsById(Class<T> clazz, List<String> ids)

@remi128 remi128 self-assigned this Mar 18, 2017
@remi128 remi128 added this to the pojo-mapper-1.4.0 milestone Mar 18, 2017
@remi128
Copy link
Member

remi128 commented Mar 18, 2017

use QueryHelper.findRecordById, which will be later mapped to the suitable extension

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

No branches or pull requests

2 participants