org.sqlproc.engine.type
Interface IdentitySetter


public interface IdentitySetter

The helper contract implemented by SqlInputValue to support the auto-generated identities.

Author:
Vladimir Hudec

Method Summary
 String getIdentitySelect()
          Returns the select command used to obtain the generated identity value.
 void setIdentity(Object identity)
          Sets the result of select command for the generated identity value.
 

Method Detail

setIdentity

void setIdentity(Object identity)
Sets the result of select command for the generated identity value.

Parameters:
identity - the generated identity value

getIdentitySelect

String getIdentitySelect()
Returns the select command used to obtain the generated identity value.



Copyright © 2014. All Rights Reserved.