[sqlalchemy] looking to make

2007-07-17 Thread Mike Bernson
I started looking to what is happen to get table information from mysql. I found that the following is issued for every table that is reflected: 2007-07-18 00:29:08,158 INFO sqlalchemy.engine.base.Engine.0x..cc show variables like 'character_set%%' 2007-07-18 00:29:08,158 INFO sqlalchemy.engine

[sqlalchemy] Re: "lazy = None" behavior help...

2007-07-17 Thread sdobrev
> >>> if u can make the a query( primary_mapper, select_table) > >>> somehow possible... i won't need separate NPs. Note this > >>> selecttable is not additional .select() off the query, it IS > >>> the starting query(), e.g. thepolymorphic union in a big case > >>> and > >>> base-class-only in a

[sqlalchemy] Re: "lazy = None" behavior help...

2007-07-17 Thread Michael Bayer
On Jul 17, 2007, at 11:49 AM, svilen wrote: > > On Tuesday 17 July 2007 18:01:12 Michael Bayer wrote: >>> if u can make the a query( primary_mapper, select_table) somehow >>> possible... i won't need separate NPs. Note this selecttable is >>> not additional .select() off the query, it IS the sta

[sqlalchemy] Re: Improved autocode.py

2007-07-17 Thread Christophe de VIENNE
done. 2007/7/17, Paul Johnston <[EMAIL PROTECTED]>: > Hi Christophe, > > I'm glad SA works for you. We should all pay respect to Mike for creating > the best ORM in town. > > I am paj on the wiki, and go ahead - add your updates to autocode.py. I am > planning to do a somewhat more comprehensive

[sqlalchemy] Re: Improved autocode.py

2007-07-17 Thread Paul Johnston
Hi Christophe, I'm glad SA works for you. We should all pay respect to Mike for creating the best ORM in town. I am paj on the wiki, and go ahead - add your updates to autocode.py. I am planning to do a somewhat more comprehensive fixup of the script at some point, which will probably take on boa

[sqlalchemy] Improved autocode.py

2007-07-17 Thread Christophe de VIENNE
Hi all, I'm Christophe, and this is my first post here. As such, I must start it with a big : "Thanks for sqlalchemy, it definitely rocks !". Now to my main point. I modified, for my needs, the autocode.py script which is found here : http://www.sqlalchemy.org/trac/wiki/UsageRecipes/AutoCode Be

[sqlalchemy] Re: "lazy = None" behavior help...

2007-07-17 Thread svilen
On Tuesday 17 July 2007 18:01:12 Michael Bayer wrote: > > if u can make the a query( primary_mapper, select_table) somehow > > possible... i won't need separate NPs. Note this selecttable is > > not additional .select() off the query, it IS the starting > > query(), e.g. thepolymorphic union in a

[sqlalchemy] Re: "lazy = None" behavior help...

2007-07-17 Thread Michael Bayer
> if u can make the a query( primary_mapper, select_table) somehow > possible... i won't need separate NPs. Note this selecttable is not > additional .select() off the query, it IS the starting query(), e.g. > thepolymorphic union in a big case and base-class-only in a small > case. query(class

[sqlalchemy] Re: "lazy = None" behavior help...

2007-07-17 Thread svilen
well, i'm using them NPs just to have another (simpler) select_table. otherwise anything query through primary_mapper starts off its own select_table, which can be rather huge in my case. if u can make the a query( primary_mapper, select_table) somehow possible... i won't need separate NPs. Note

[sqlalchemy] Re: "lazy = None" behavior help...

2007-07-17 Thread Michael Bayer
On Jul 17, 2007, at 2:18 AM, [EMAIL PROTECTED] wrote: > >>> I don't remember that in docs. Did I miss a section, or is this >>> too obscure for the general usage? >> >> its only obscure because i think non_primary mappers are not *too* >> common, but their behavior should be more well defined in

[sqlalchemy] Re: Jython and sqlalchemy

2007-07-17 Thread Frank Wierzbicki
On 7/16/07, Michael Bayer <[EMAIL PROTECTED]> wrote: > > hey frank - > > awesome ! i had tried Jython a little bit but had probs getting its > 2.3 support happening. glad to hear its able to import sqlalchemy. It certainly continues to have some problems, for example, I think "re" is missing a f