#641 - ENH: Add EbeanServer.setBeanId(bean, id) ... to make it easy to convert id value to appropriate type and set

This commit is contained in:
Robin Bygrave committed 2016-04-08 01:15:34 +12:00
1 parent 649c14644e
commit 524be4ce55
4 files changed
+58 -4

No files matched your search

@@ -244,6 +244,11 @@ public class TDSpiEbeanServer implements SpiEbeanServer {
return null;
}
@Override
public Object setBeanId(Object bean, Object id) {
return id;
}
@Override
public Object getBeanId(Object bean) {
return null;