Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Error while using Catalyst to insert record to Oracle

by marscld (Beadle)
on Aug 15, 2008 at 01:53 UTC ( [id://704463]=note: print w/replies, xml ) Need Help??


in reply to Re: Error while using Catalyst to insert record to Oracle
in thread Error while using Catalyst to insert record to Oracle

The problem seems that primary key ID of BOOKS is not being calculated correctly. And it is supposed to be a incremental process to fetch max ID and increase by 1. However, not finding a clue on tutorial. Though Catalyst tutorial uses SQLite as database, I just try to use Oracle instead.
  • Comment on Re^2: Error while using Catalyst to insert record to Oracle

Replies are listed 'Best First'.
Re^3: Error while using Catalyst to insert record to Oracle
by igelkott (Priest) on Aug 17, 2008 at 18:24 UTC

    Oracle uses sequences and triggers, not just a null or zero like some other DB engines. See link for a short discussion. Details can be found in your local Oracle docs but this is at least mentioned in the module description.

    I started with MySQL (which allows what you tried) and have had to deal with many issues with other DB's. Some people may recommend a higher-level DB interface but I've never used them personally.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://704463]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found