DBI Exception: DBD::Oracle::st execute failed: ORA-01400: cannot insert NULL into ("SDB2"."BOOKS"."ID") (DBD ERROR: OCIStmtExecute) [for Statement "INSERT INTO books (rating, title) VALUES (?, ?)" with ParamValues: :p1='5', :p2='TCPIP_Illustrated_Vol-2'] #### sub url_create : Local { my ($self, $c, $title, $rating, $author_id) = @_; # Call create() on the book model object. Pass the table # columns/field values we want to set as hash values my $book = $c->model('DB::Books')->create({ #### title => $title, rating => $rating }); }