public static String getAutoGeneratedKeyString ( int autoGeneratedKey ) { switch ( autoGeneratedKey ) { case Statement . NO_GENERATED_KEYS : return "NO GENERATED KEYS (" + autoGeneratedKey + ' ' ; case Statement . RETURN_GENERATED_KEYS : return "RETURN GENERATED KEYS (" + autoGeneratedKey + ' ' ; } return "UNKNOWN AUTO GENERATED KEYS CONSTANT (" + autoGeneratedKey + ' ' ; }
Display the auto genereated key constant corresponding to the value supplied .