[Virtua driver] ORA-00942: table or view does not exist (hlrcdetl) #2557
-
i faced an error "ORA-00942: table or view does not exist" while access to Virtua Database. What purpose of "hlrcdetl" table and i could replace by another table equaly ? pls. help. Tks VuFind\Exception\ILS: ORACLE ERROR Oracle 'executing' Error ============= (code) => 942 (message) => ORA-00942: table or view does not exist (offset) => 446 (sqltext) => SELECT d.itemid as item_id, d.copyno, d.barcode, c.due_date, s.name as status, s.status_code, l.name as location, l.location_id, b.call_number as bib_call_num, i.call_number as item_call_num, iss.latest_issue, r.item_class as reserve_item_class, ic.item_class, d.units, br.bib_req, ir.item_req FROM dbadmin.itemdetl2 d, dbadmin.location l, dbadmin.statdetl sd, dbadmin.item_status s, dbadmin.circdetl c, dbadmin.bibliographic_fields b, dbadmin.item_call_number i, item_class_v ic, (SELECT d1.itemid, MAX(h1.request_control_number) AS req_num FROM dbadmin.itemdetl2 d1, dbadmin.hlrcdetl h1 WHERE d1.itemid = h1.itemid AND d1.bibid = :bib_id GROUP BY d1.itemid) h, (SELECT h.bibid, count() as bib_req FROM hlrcdetl h WHERE h.itemid = 0 GROUP BY h.bibid) br, (SELECT h.itemid, count() as item_req FROM hlrcdetl h WHERE h.itemid <> 0 GROUP BY h.itemid) ir, (SELECT MAX(s.issue_id) AS latest_issue, h.bibid FROM serials_issue s, holdlink h WHERE h.bibid = :bib_id AND h.holdingsid = s.holdingsid GROUP BY h.bibid) iss, (SELECT DISTINCT item_id, item_class FROM reserve_item_v) r WHERE d.location = l.location_id AND d.itemclass = ic.item_class_id AND d.itemid = sd.itemid (+) AND sd.stat = s.status_code (+) AND d.itemid = c.itemid (+) AND d.itemid = h.itemid (+) AND d.bibid = br.bibid (+) AND d.itemid = ir.itemid (+) AND d.itemid = i.itemid (+) AND d.itemid = r.item_id (+) AND d.bibid = iss.bibid (+) AND d.bibid = b.bib_id AND d.bibid = :bib_id ORDER BY l.location_id, d.units_sort_form desc, d.copyno ============= Offset into SQL: item_call_number i, item_class_v ic, (SELECT d1.itemid, MAX(h1.request_control_number) AS req_num FROM dbadmin.itemdetl2 d1, dbadmin.hlrcdetl h1 WHERE d1.itemid = h1.itemid AND d1.bibid = :bib_id GROUP BY d1.itemid) h, (SELECT h.bibid, count() as bib_req FROM hlrcdetl h WHERE h.itemid = 0 GROUP BY h.bibid) br, (SELECT h.itemid, count() as item_req FROM hlrcdetl h WHERE h.itemid <> 0 GROUP BY h.itemid) ir, (SELECT MAX(s.issue_id) AS latest_issue, h.bibid FROM serials_issue s, holdlink h WHERE h.bibid = :bib_id AND h.holdingsid = s.holdingsid GROUP BY h.bibid) iss, (SELECT DISTINCT item_id, item_class FROM reserve_item_v) r WHERE d.location = l.location_id AND d.itemclass = ic.item_class_id AND d.itemid = sd.itemid (+) AND sd.stat = s.status_code (+) AND d.itemid = c.itemid (+) AND d.itemid = h.itemid (+) AND d.bibid = br.bibid (+) AND d.itemid = ir.itemid (+) AND d.itemid = i.itemid (+) AND d.itemid = r.item_id (+) AND d.bibid = iss.bibid (+) AND d.bibid = b.bib_id AND d.bibid = :bib_id ORDER BY l.location_id, d.units_sort_form desc, d.copyno ============= Bind Variables: bib_id:string => 000135456 (sqltext) => SELECT d.itemid as item_id, d.copyno, d.barcode, c.due_date, s.name as status, s.status_code, l.name as location, l.location_id, b.call_number as bib_call_num, i.call_number as item_call_num, iss.latest_issue, r.item_class as reserve_item_class, ic.item_class, d.units, br.bib_req, ir.item_req FROM dbadmin.itemdetl2 d, dbadmin.location l, dbadmin.statdetl sd, dbadmin.item_status s, dbadmin.circdetl c, dbadmin.bibliographic_fields b, dbadmin.item_call_number i, item_class_v ic, (SELECT d1.itemid, MAX(h1.request_control_number) AS req_num FROM dbadmin.itemdetl2 d1, dbadmin.hlrcdetl h1 WHERE d1.itemid = h1.itemid AND d1.bibid = :bib_id GROUP BY d1.itemid) h, (SELECT h.bibid, count() as bib_req FROM hlrcdetl h WHERE h.itemid = 0 GROUP BY h.bibid) br, (SELECT h.itemid, count() as item_req FROM hlrcdetl h WHERE h.itemid <> 0 GROUP BY h.itemid) ir, (SELECT MAX(s.issue_id) AS latest_issue, h.bibid FROM serials_issue s, holdlink h WHERE h.bibid = :bib_id AND h.holdingsid = s.holdingsid GROUP BY h.bibid) iss, (SELECT DISTINCT item_id, item_class FROM reserve_item_v) r WHERE d.location = l.location_id AND d.itemclass = ic.item_class_id AND d.itemid = sd.itemid (+) AND sd.stat = s.status_code (+) AND d.itemid = c.itemid (+) AND d.itemid = h.itemid (+) AND d.bibid = br.bibid (+) AND d.itemid = ir.itemid (+) AND d.itemid = i.itemid (+) AND d.itemid = r.item_id (+) AND d.bibid = iss.bibid (+) AND d.bibid = b.bib_id AND d.bibid = :bib_id ORDER BY l.location_id, d.units_sort_form desc, d.copyno |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@targui2601 I'm afraid the Virtua driver hasn't been updated in a while, and it's possible that there have been significant changes in Virtua meanwhile. However, here's a super-wild shot in the dark: it seems like |
Beta Was this translation helpful? Give feedback.
-
Hi Eoin Kilfeather,
Thank you for your share. we still stuck with ILS offline status due to
could not found "htlcdetl" table.
We were success about connect to Virtua on Oct 2020. Until now we have not
any updated Virtual anymore, some change are oracle version and vufind.
My solution for testing is changing oracle version to 12 and then revert to
old vufind version if not oracle version.
Regards,
…On Wed, Nov 9, 2022 at 4:22 PM Eoin Kilfeather ***@***.***> wrote:
Hi @targui2601 <https://github.com/targui2601> - sorry I was only just
pointed to this comment now. We have done some modifications to the Virtua
driver here;
https://gist.github.com/ekilfeather/4deac245d78d09be536598b4fb3d6e75
But as you can see we also reference the hlrcdetl table. Most of the
customisation is to do with parsing the holdings dates for display. We last
updated our Virtua instance to 2016 version but looking at the commits
around that time we didn't make any changes to the table references in the
driver so I'm not sure our code will be of great benefit to you. I see this
discussion is marked as answered but if you are still having issues get
back to us and we can see if we can help you troubleshoot.
—
Reply to this email directly, view it on GitHub
<#2557 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXMEESJG4BWQOS4T6VO4W3WHNULZANCNFSM6AAAAAAQWPCMW4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
@targui2601 I'm afraid the Virtua driver hasn't been updated in a while, and it's possible that there have been significant changes in Virtua meanwhile. However, here's a super-wild shot in the dark: it seems like
hlrcdetl
could be an acronym for "holdings records details" or something like that. Can you see a table that would have anything in resemblance? If not, I'd look for a table that has same or similar columns (bibid, holdingsid, itemid).