Forum OpenACS Q&A: Re: Instance aware ecommerce package

Collapse
Posted by Dave Bauer on
Hmmm.

The package_name attribute of acs_objects refers to the pl/sql package of pl/sql procedures to manage objects of that type. So in oracle you would end up with packagename.new to create a new object of that type. Usually the package_name is the same as the object_type. In postgresql there are not plpgsql packages but we name the functions like so: packagename__new using two underscore characyers in place of the dot. The package_name attribute is used by some Tcl procs to manage objects such as package_instantiate_object.