-
Notifications
You must be signed in to change notification settings - Fork 233
Entity to Key Value store mapping
Amresh edited this page Jul 11, 2013
·
4 revisions
Kundera, being a JPA object-mapper, maps entity class instances with data storage structure provided in underlying database.
Below is a simplified depiction of entity class to key-value pair mapping mechanism adopted by Kundera: (This is a result of saving Person entity with personId, personName and age fields set to "1", "John Smith" and 32 respectively).
- Schema name defined in entity class is mapped to KV Store name.
- Table name and ID column value constitute major key.
- Rest of the column names are stored as minor keys.
- Value of columns are stored as byte array values.
Previous | Home | Next |