youll have to show me how youre getting that result.  all the  
exceptions raised by the database should be wrapped in a  
SQLAlchemyError.

On Jul 13, 2006, at 3:30 PM, Mike Bernson wrote:

> I am trying to write application that does not care which database  
> it is
> connecting to. It uses the connect string to choose the database.
>
> Thing look good until I get an error from mysql which is a raise on
> mysql classes. Should the raises come from an sqlalchemy class so that
> I get the same type of exceptions from all database support by  
> sqlalchemy.
>
> At this time I am using table object to do select, insert and updates.
> With things working this way I have to create different try/except for
> the each database that I support.
>
> Is this the way things are meant to work ?
> Am I missing something that would cause sqlalchemy to raise the  
> exception ?
>
>
>
> ---------------------------------------------------------------------- 
> ---
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Sqlalchemy-users mailing list
> Sqlalchemy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to