Hello monks,
I'm trying to implement an Oracle-driven web application with Class::DBI. All is generally going well, except when I try to access the class that points to a view instead of a real table; I get errors like
Can't locate object method "search" via package "TestPkg::View" at /ho
+me/janjan/test.pl line 33.
I get the same error no matter what method I call, which leads me to believe that the package just isn't working.
Now, I've taken a look at
Class::DBI::View, and even tried it out -- but, alas, with the same error. It was then that I delved a little deeper into Class::DBI::View, and began to think that it's possible that it doesn't support Oracle.
I'm using perl 5.005_03, Class::DBI 0.90 (I know, I know -- but political reasons keep me from upgrading DBI.pm. Ugh.), and the latest version of Class::DBI::Oracle.
All of my other packages seem to work just fine. Is there anything else I can try, short of setting up a cron job to populate a real table from the view?
Many thanks!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.