Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-03-2007, 10:29 AM
Junior Member
 
Join Date: Dec 2007
Location: Tashkent
Posts: 1
Send a message via ICQ to denis.baklikov
Default oracle and createRow

I have a problem of using Oracle 10g with Zend_DB

I need to add a new record into table using by createRow method of Zend_Db_Table_Abstract.

But no data saved to DB (no error messages or exceptions thrown).
I am using ZendCore for Oracle 2.0.1 with PHP 5.2.1

Does anybody solve that problem?

See code bellow:
PHP Code:
$dataset $dataSet->createRow() ;
$dataset->DS_ID $this->db->nextSequenceId("DS_ID_SEQ") ;

$dataset->DS_CODE $this->request->getParam('DS_CODE') ;
$dataset->save() ; 

Last edited by denis.baklikov : 12-03-2007 at 11:13 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:28 AM.