Oleg,

I do not have access to an ASE server so hard to say for sure.  ASA does
have a server version constant, 'SELECT @@VERSION' which on my system
gives 9.0.2.2452 as the result.

Sybase ASE versions start at 11 I think and ASA stuff is always version
< 10, so maybe stripping out the first number from this string can tell
the difference.

I don't think I can make this check in __init__ because the connection
doesn't exist yet.  Maybe the makeConnection method?  I would like to
just set a flag once for the module rather than check the version each
time a method is called...

Oleg Broytmann wrote:
> Hi!
> 
> On Tue, Oct 31, 2006 at 04:11:24PM -0600, Aaron Bostick wrote:
>> On a side note, I was able to get the sybaseconnection.py code to work
>> with Sybase ASA by changing some of the SQL in that file.
> 
>    Have you found a way to distinguish ASA from ASE on the fly?
> 
> Oleg.

Regards,
Aaron


-------------------------------------------------------------------------
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
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to