Added iBatis support for java.io.Serializable

- 'alf_prop_serializable_value' is working


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-08-29 00:47:25 +00:00
parent 7fbccecd71
commit 200bf8d3a0
10 changed files with 355 additions and 13 deletions

View File

@@ -168,6 +168,26 @@ public class EntityLookupCache<K extends Serializable, V extends Object, VK exte
public static abstract class EntityLookupCallbackDAOAdaptor<K2 extends Serializable, V2 extends Object, VK2 extends Serializable>
implements EntityLookupCallbackDAO<K2, V2, VK2>
{
/**
* This implementation never finds a value and is backed by {@link #getValueKey(Object)} returning nothing.
*
* @return Returns <tt>null</tt> always
*/
public Pair<K2, V2> findByValue(V2 value)
{
return null;
}
/**
* This implementation does not find by value and is backed by {@link #findByValue(Object)} returning nothing.
*
* @return Returns <tt>null</tt> always
*/
public VK2 getValueKey(V2 value)
{
return null;
}
/**
* Disallows the operation.
*