Re: Re: Oracle OCI_B_ROWID resource type??
| From: | Thies C. Arntzen | Date: | Mon, 30 Oct 2000 13:44:04 +0000 |
| Subject: | Re: Re: Oracle OCI_B_ROWID resource type?? | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-general+get-22678@lists.php.net to get a copy of this message | ||
On Mon, Oct 30, 2000 at 12:06:51PM -0000, Tim Parkin wrote:
> The wierd thing is that it wasn't being passed back into oracle as it stood.
> However, when converted to a string (which it is) is the pl/sql call, the
> pl/sql package worked. strangerer and strangerer..
could you create a _tiny_ testcase for me to reproduce it
(less than 20 lines)?
tc
>
> -----Original Message-----
> From: Thies C. Arntzen [mailto:thies@thieso.net]
> Sent: Monday, October 30, 2000 10:20
> To: Tim Parkin
> Cc: Php-Db (E-mail); Php-General (E-mail)
> Subject: [PHP] Re: [PHP-DB] Oracle OCI_B_ROWID resource type??
>
>
> On Fri, Oct 27, 2000 at 05:20:49PM +0100, Tim Parkin wrote:
> >
> > Hi,
> >
> > Just wondering if anybody has any idea what the following means when I do
> a
> > var_dump on a $row_id variable passed back from Oracle:
> >
> > ['descriptor']=resource(16) of type 12
> >
> > I know resources are new in php4 but haven't got a clue of how I'm
> supposed
> > to access them . we solved the problem by converting the row_id to a
> varchar
> > within our PL/SQL and passed it back into oracle which seemed to work
> (well
> > it did)
> >
> > Anybody got any ideas (when I try to do a get_class_method or similar,
> php4
> > just fallsover returning nothing to error_log or screen)
> >
> > Love to know whats happening but don't need a solution
>
> it's an opaque data-type in php as php itself has no concept
> what a rowid is. you should be able to pass that back to
> oracle via ocibindbyname just fine.
>
> tc
> >
> > Cheers
> >
> > Tim Parkin
> > Didio Communications
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net