Quoting Oleg Broytmann <[EMAIL PROTECTED]>:

> On Wed, Aug 16, 2006 at 09:12:08PM +0200, Michel Albert wrote:
>> On Wed, 16 Aug 2006 19:31:30 +0200, Oleg Broytmann <[EMAIL PROTECTED]>
>> wrote:
>> >         sequenceName = getattr(soInstance, '_idSequence',
>> >                                '%s_%s_seq' % (table, idName))
>> >
>> >    Enlightened? ;)
>>
>> Still, I beleive this is an issue that needs to be addressed soon.
>
>    I see you are not enlightened.
>
> class Hosts(SQLObject):
>    _idSequence = "HOSTS_seq"
>    class sqlmeta:
>       table = '"HOSTS"'
>
>    Does it help?
>
> Oleg.

I see. This helps. Thanks a lot.
I did not know "getattr" until 5secs ago. Thought it was a method  
defined by SQLObject. Sorry about that.

I did not get a chance to try it out though. But I beleive it will work.
Thanks again.


Regards,
Mich.


-------------------------------------------------------------------------
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