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


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-21-2008, 05:15 PM
Junior Member
 
Join Date: Aug 2008
Posts: 3
Default Supporting Mysql and Oracle?

I understand that Zend_Db provides a DBAL, but I'm wondering if it's actually workable to support Mysql and Oracle in the same application.

Mainly, I'm concerned about the difference between Mysql's auto_increment columns and Oracle's sequences for creating surrogate keys. Can Zend_DB help me with this? Or do I need to place a check in my code every time I do an insert to handle Mysql and Oracle differently?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-23-2008, 07:46 PM
bpat1434's Avatar
Member
 
Join Date: Jul 2008
Posts: 34
Default

I would suspect you have to check it manually your self. As far as I know, the DBAL doesn't interact with any other, it's free-standing. It just gives you one interface to interact with whatever RDBMS you wish (so switching from mySQL to PostgreSQL to Oracle to MSSQL won't be a hassle).
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 09:09 PM.