sub insert {
my $self = shift;
- my $table = $_[0];
- $table = $self->_quote($table);
-
if (! $_[1] or (ref $_[1] eq 'HASH' and !keys %{$_[1]} ) ) {
+ my $table = $self->_quote($_[0]);
return "INSERT INTO ${table} () VALUES ()"
}
- return $self->SUPER::insert (@_);
+ return $self->next::method (@_);
}
# Allow STRAIGHT_JOIN's
return ' STRAIGHT_JOIN '
}
- return $self->SUPER::_generate_join_clause( $join_type );
+ return $self->next::method($join_type);
}
# LOCK IN SHARE MODE
handler => '_where_field_PRIOR',
};
- $self->SUPER::new (\%opts);
+ $self->next::method(\%opts);
}
sub _assemble_binds {
my ($cb_sql, @cb_bind) = $self->_connect_by($rs_attrs);
push @{$self->{oracle_connect_by_bind}}, @cb_bind;
- my $sql = $self->SUPER::_parse_rs_attrs(@_);
+ my $sql = $self->next::method(@_);
return "$cb_sql $sql";
}