Skip to content

Calling member methods that change object state and maintaining in local variable #11

@jlincoln

Description

@jlincoln

Is it possible to call a method on a object that changes the state of the object in the Oracle database and have that state reflected in the local ruby variable?

Ex.
my_obj = plsql.my_obj_type(:attr1=>'test',:attr2=>null)
my_obj.is_attr2_null.should == true
my_obj.set_attr2(:attr2=>'test1')
my_obj.is_attr2_null.should == false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions