Roger Haase schrieb:
> I have downloaded the latest version of MiddleObject.py and verified
> that putting the lock on the class level works for me. Per your
> previous messages, it looks like you have already processed the 3
> other MiddleKit changes in the queue.
Good to hear. Yes, I wanted to
--- On Tue, 11/4/08, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> From: Christoph Zwerschke <[EMAIL PROTECTED]>
> Subject: Re: [Webware-discuss] MiddleKit Threading Error?
> To: "Discussion of Webware for Python including feedback and proposals."
>
> D
Christoph Zwerschke schrieb:
> Btw, I was trying to run the MiddleKit test suite, but I get many
> errors. For instance when running "python Test.py MKDelete" I get a
> "Lock wait timeout exceeded" (this hasn't anything to do with the lock
> in the patch, I get it also without your patch).
I ha
Roger Haase schrieb:
> I had to revise your new MiddleObject.py to put the "_mk_cacheLock =
> threading.RLock()" statement at the module level rather than in the
> MiddleObject __init__ method. A new MiddleObject instance is being
> created with each request so putting the lock inside the object
--- On Sun, 11/2/08, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> From: Christoph Zwerschke <[EMAIL PROTECTED]>
> Subject: Re: [Webware-discuss] MiddleKit Threading Error?
> To: [EMAIL PROTECTED], "Discussion of Webware for Python including feedback
> an
Roger Haase schrieb:
> My revised solution is to put the lock at the beginning and end of the method.
I never used MiddleKit, so I don't know how to test this, but since it
looks reasonable I've checked this in anyway, and cleaned up
MiddleObject.py a bit. Can you check whether this works for yo
--- On Sun, 10/19/08, Roger Haase <[EMAIL PROTECTED]> wrote:
> From: Roger Haase <[EMAIL PROTECTED]>
> Subject: MiddleKit Threading Error?
> To: webware-discuss@lists.sourceforge.net
> Date: Sunday, October 19, 2008, 3:46 PM
> I last reported this problem back on May 22, 2004. I am not
> sure
On Thu, 2006-09-07 at 09:45 -0700, Chuck Esterbrook wrote:
> On 9/7/06, Seth Remington <[EMAIL PROTECTED]> wrote:
> > Hello All,
> >
> > I am using MiddleKit in an open source application and as most projects
> > go it is expanding and evolving, and the database structure is evolving
> > with it.
>
On 9/7/06, Seth Remington <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I am using MiddleKit in an open source application and as most projects
> go it is expanding and evolving, and the database structure is evolving
> with it.
>
> So now I have a requirement to provide a convenient upgrade path for
HI
I solved the problem of the following way:
class Est(SQLObject):
class sqlmeta:
idName="IDEst"
Descripcion = StringCol()
Regards
---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
Thank you for the answers, I am going to realize tests, then I comment
to them on the results that I obtained.
Regards
---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile
marcelo schiavone wrote:
Hi, does someone know the way of doing that "MiddleKit" works with a
remote (existing) database, using MSSQL?
The database already exists and the idea is to realize an application
in Webware in another PC that accedes to the above mentioned database
using MiddleKit.
Re
On 3/14/06, marcelo schiavone <[EMAIL PROTECTED]> wrote:
> Hi, does someone know the way of doing that "MiddleKit" works with a
> remote (existing) database, using MSSQL?
>
> The database already exists and the idea is to realize an application
> in Webware in another PC that accedes to the above m
It sounds like you are traveling down the exact same path I went down a
few weeks ago ;) I was getting a similar MySQL "max connections
exceeded" error as well. The fix for me was to configure MiddleKit to
use an SQL connection pool. In your model's Settings.config file add the
following:
'SQLConn
I only have one ObjectStore object, but it will be handling
persistance for several hundred other objects. Here's the code that
was causing the problem (after I made a change to the ObjectStore code
to make it work with the newer python/mysql lib per instructions
earlier in this thread):
import o
How many ObjectStore objects do you have living? I believe you are only supposed to have one instance for your entire application. I had a lot of trouble with running out of connections when I first started using MiddleKit, and as I recall I fixed it by making a global MySQLObjectStore instance.
I think this creates another problem. A new connection/cursor is
created for every object that is stored when you call
"store.saveChanges()".
If my mysql max_connections variable is less than the number of
objects I have to commit, I'll get an exception like this:
Traceback (most recent call las
Actually I think it was a change in the MySQLdb API. I believe that
insert_id() moved from the cursor object to the connection object in the
latest versions.
I've fixed it either by installing an older version of MySQLdb or by
editing MySQLObjectStore.py to:
def retrieveLastInsertId(self, conn, c
--- Chuck Esterbrook <[EMAIL PROTECTED]> wrote:
> Not to worry. As the author of MiddleKit I also have older projects
> that I don't want broken (and don't feel like upgrading).
> Consequently, when I make changes like this, I always add an option
> to get the old behavior. In this case, the set
On Tue, 24 Aug 2004 10:57:52 -0700 (PDT), Roger Haase wrote:
> The current CVS head for Middlekit now generates and expects the
> serialNum field for all SQL tables to be called "serialNum" where
> before the serialNum field for each table would be called
> + "Id".
>
> This breaks a lot of existin
On Thursday 29 July 2004 01:36, Dennis Kertis wrote:
> I'm having some trouble using MiddleKit with SQL
> Server. I'm trying to go through the quick start guide
> and ran into some issues. The first problem I had was
> connecting to the database. However, I added a DSN
> and changed the parameter
On Friday, September 19, 2003, at 03:53 AM, Tripp Lilley wrote:
[1] I plan to add more highlighting rules, better faces, etc., and
would
like to borrow outline mode's expand / collapse features, but that
ain't
happenin' tonight. Or ever, realistically. Right, Ian? :-)
By tomorrow you'll probably
Ian--
SQLObject updates each field individually, if your
code is written as you show below. However, there is
a way to update multilple fields at the same time by
using the 'set' method, i.e. myobject.set(name='fred',
id=1).
I'm not sure SQLObject supports updating the primary
key (id) as show
On Thursday, September 4, 2003, at 02:59 AM, mike wrote:
I am just wondering whether somebody could briefly compare sqlbject
(or any
similar module) with MiddleKit. Personally, sqlobject looks to me more
flexible for basic database operations, but it would be nice to know
what
others prefer to us
I haven't used either model but I was under the impression that SQLObject fired off
SQL UPDATE statements for every change of an object property.
e.g.
myobject.name = "fred"
myobject.id = 1
breaks down into two SQL statements :
UPDATE SET NAME = "FRED" WHERE
UPDATE SET ID = 1 WHERE
Hallo,
mike hat gesagt: // mike wrote:
> I am just wondering whether somebody could briefly compare sqlbject
> (or any similar module) with MiddleKit. Personally, sqlobject looks
> to me more flexible for basic database operations, but it would be
> nice to know what others prefer to use with WebK
Thanks to all for the discussion about MiddleKit vs ZODB. It was
enlightening, to say the least. I've not used either so far, preferring to
work directly with the underlying RDBMS since the schema I've been using
were very complex--4-6 table joins, etc. I'll give MiddleKit a shot on the
next proj
I'm going to jump in here though I know I'm _way_ out of my league
replying to Chuck and IanI'm just a hacker who likes Webware
I got interested in ZODB and tinkered with it some, and also saw that it
could play nice with Webware. It seems to me it could be a nice
combination for situation
On Fri, 2003-02-28 at 09:37, Edmund Lian wrote:
> I was reading one of Kuchling's write-ups about ZODB and ZEO last
> night (http://www.amk.ca/zodb/zodb-zeo.html), and was wondering why
> people use MiddleKit instead of ZODB.
Simplicity, interactivity with an often required RDBMS, and speed. The
On Fri, 2003-02-28 at 09:37, Edmund Lian wrote:
> I have a question... please don't get offended by it, I don't mean it to be
> offensive...
No one should be offended by such a question...
> While I'm not a great fan of object oriented DBs, I do see a role for them
> in providing persistence when
On Friday 28 February 2003 07:37 am, Edmund Lian wrote:
> I have a question... please don't get offended by it, I don't mean it
> to be offensive...
>
> While I'm not a great fan of object oriented DBs, I do see a role for
> them in providing persistence when the demands of an application are
> lig
On Friday 28 February 2003 16:37, you wrote:
> I have a question... please don't get offended by it, I don't mean it to be
> offensive...
>
> [...]
>
> There hasn't been much discussion of using/integrating ZODB/ZEO into
> Webware as a standard persistence tool. Am I missing something?
Probably no
I have never used an OODB, so I might be wrong, but I have always seen
their weakness to be flexibility. You will get stuck with the objects
you use for a particular application. With a relational DB you can map
the data to any type of object. It is a little more complex because of
the extra ma
Edmund Lian wrote:
Why bother trying to persist to a relational DB if you can't really get at
the full power of the relational model through MiddleKit (or any other ORM
The most obvious reason would be for compatibility with an existing
application sharing the same database...
---
On Tue, 2003-02-18 at 05:15, Bogdan wrote:
> I have Webaware8
> I have error
>
> File "/var/Webware/WebKit/averest/index.py", line 35, in writeHTML
> self.ViewCustomers()
> File "/var/Webware/WebKit/averest/index.py", line 85, in ViewCustomers
> stor.readModelFileNamed('/var/Webware/Web
On Wed, 2002-11-27 at 00:15, Wayne Larsen wrote:
> So just to clarify, if you have a long running
> AppServer, the store will grow to contain all of the
> database objects that have been queried for? Do
> people just run clear regularly, or is this something
> I don't need to worry about?
So far
Thanks,
I've got it running and it appears to be working fine.
Only change is that I needed to move the Session
initialization about the Context Initialization in
MiddleKit/Application.py __init__
> > I wonder if MiddleKit has a mechanism to discard
> objects in memory?
>
> ObjectStore has a
On Tue, 2002-11-26 at 11:52, Wayne Larsen wrote:
> As a related question, do you
> know how MiddleKit manages caching?
MiddleKit keeps a cache (essentially a dictionary) of references to each
objects which it has loaded. Also, any object which has a "List of"
attribute will cache the list of o
Hi Jason,
You solution seems like an improved version of what I
described as option 1. As a related question, do you
know how MiddleKit manages caching? I wonder if
MiddleKit has a mechanism to discard objects in
memory?
I would be interested in seeing your solution. It
seems like a good c
On Mon, 2002-11-25 at 18:11, Wayne Larsen wrote:
> Hey all,
>
> In building a login system, I authorize the user, and
> then put the user object into the session data. That
> works great, and I can always query the user's
> permission easily, because the user object is easily
> accessible. The u
On Mon, 2002-11-18 at 20:34, Tom Harris wrote:
> Greetings,
>
> I am playing with Middlekit, can someone tell me the correct way to clear
> the error state in the store if an object added to the store with
> addObject(), then attempted to be saved with saveChanges() raises an
> exception (in my te
--- Michael Engelhart <[EMAIL PROTECTED]> wrote:
> Shouldn't these updates/inserts be wrapped in a database transaction
> anyway?
> Wouldn't that avoid the threading issues that are coming up?
>
I have been wrong a lot on MiddleKit threading issues in particular,
but I think currently if a servle
Shouldn't these updates/inserts be wrapped in a database transaction
anyway?
Wouldn't that avoid the threading issues that are coming up?
On Tuesday, November 5, 2002, at 02:24 PM, Roger Haase wrote:
I fixed the problem by putting a rather brutal lock in ObjectStore, but
I would be happy to try
--- Jason Hildebrand <[EMAIL PROTECTED]> wrote:
>
> In any case, it would be a good first step to see if it solves your
> problem, Roger. I can send you a patch, just let me know if you use
> the
> 0.7 release or CVS.
>
I fixed the problem by putting a rather brutal lock in ObjectStore, but
I
On Tuesday 05 November 2002 09:39 am, Jason Hildebrand wrote:
> If these requirements are general enough, I'll document this and
> commit the fix to CVS. What do you think, Chuck?
Sounds great to me! Additional thoughts for the implementation:
- There is already a "boolean" self._threaded. The p
On Tue, 2002-11-05 at 10:15, Roger Haase wrote:
> In Jason's paper and elsewhere in the MiddleKit docs there is some
> advice on avoiding concurrency issues:
> During some stress testing a few days ago I found that if two servlets
> are updating or inserting different records at the same time usi
--- Chuck Esterbrook <[EMAIL PROTECTED]> wrote:
> I added your paper to:
> http://webware.sourceforge.net/Papers/
> >
> > http://www.opensky.ca/~jdhildeb/webware/
> >
In Jason's paper and elsewhere in the MiddleKit docs there is some
advice on avoiding concurrency issues:
'''
Concurrency
I added your paper to:
http://webware.sourceforge.net/Papers/
On Sunday 03 November 2002 12:13 pm, Jason Hildebrand wrote:
> I gave a talk on Webware at LinuxTag 2002, which has a section on
> MiddleKit and includes an example schema, Classes.csv and Samples.csv
> files. The paper is avai
On Sun, 2002-11-03 at 09:31, Michael Montagne wrote:
> I'm getting this error when called in my browser:
> File "/home/michael/Webware/MyContext/db.py", line 17, in showcats
> cats=store.fetchObjectsOfClass(Pic)
> File "./MiddleKit/Run/SQLObjectStore.py", line 286, in fetchObjectsOfClass
>
On Sat, 2002-11-02 at 08:50, Michael Montagne wrote:
I'm building sample data in a .csv file. To create a relationship between two
objects the doc say:
"You can see that in sample data, references to objects (sometimes
called "obj refs", "references" or "pointers") are made by refer
On Sunday 27 October 2002 07:17 am, Michael Montagne wrote:
> How do I pass an SQL statement containing joins of different classes
> to MySQLObjectStore? It appears I can only return rows from one
> table using fetchObjectsOfClass. Are all updates to tables intended
> to be through the classes r
* Gregory Brauer <[EMAIL PROTECTED]> [2002-10-11 17:54 -0700]:
> Ernesto Revilla wrote:
> >the new persistence framework of the Python Crew
>
> I'd be curious to know more about this. Is there any place I can get
> info?
http://www.python.org/sigs/persistence-sig/
-- Gerhard
-
Ernesto Revilla wrote:
the new persistence framework of the Python Crew
I'd be curious to know more about this. Is there any place I
can get info?
Greg
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkge
t;[EMAIL PROTECTED]>
To: "Max Ischenko" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 09, 2002 2:49 AM
Subject: Re: [Webware-discuss] MiddleKit port to PostgreSQL
> On Tue, 2002-10-08 at 01:53, Max Ischenko wrote:
> > Hi,
> >
> >
Ian Bicking wrote:
> On Tue, 2002-10-08 at 20:26, Gregory Brauer wrote:
>
>>For this reason I am currently using PyDO/Skunkweb.
>
>
> AFAIK, neither PyDO or MiddleKit are tied very closely to their
> respective frameworks, no?
That's true. The only real ties are in the coding styles.
I use Sk
On Tue, 2002-10-08 at 20:26, Gregory Brauer wrote:
> For this reason I am currently using PyDO/Skunkweb.
AFAIK, neither PyDO or MiddleKit are tied very closely to their
respective frameworks, no?
Ian
---
This sf.net email is sponsored by:
Ian Bicking wrote:
> On Tue, 2002-10-08 at 01:53, Max Ischenko wrote:
>
>>Hi,
>>
>>I'd like to try MiddleKit but I am to use PostgreSQL DB, which seems
>>unsupported.
I did this almost two years ago and submitted the patch
back to Chuck, but it never got integrated, probably
because the regressi
On Tue, 2002-10-08 at 01:53, Max Ischenko wrote:
> Hi,
>
> I'd like to try MiddleKit but I am to use PostgreSQL DB, which seems
> unsupported.
>
> How complex would be to add the PostgreSQL support or may be it is
> already done in CVS?
There's a patch on sourceforge -- I have no idea what it l
I think I have a fix to MiddleObject.py at:
http://www.users.qwest.net/~haaserd/Webware/NEWMiddleObject.py
My modified code is marked # 2002-08-21.
I looked at the CVS version and there does not seem to be a lock where I put
one, although there are other places it could go, I suppose.
At any
Roger,
Give Webware from the tip of CVS a try. From perusing the CVS tree, it
looks like many optimizations and improvements have been made to MiddleKit
between 0.7 and now.
I can't say for sure that your problem has been fixed, but it's worth a try.
And in any case, any attempt to fix the prob
On Tue, 2002-07-30 at 08:26, jonathan wrote
> 2. Should I have global access to 'store', or should each module where it is
> used create it's own store?? I noticed in the source for SQLObjectStore,
> that new connections are created all over the place anyway. So would this be
> much of a performa
be
ongoing, and would need to store all this data in the database anyway.
jonathan
- Original Message -
From: "Edmund Lian" <[EMAIL PROTECTED]>
To: "jonathan" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 31, 2002 12:12 AM
Subjec
On 07/30/2002 09:26:40 AM webware-discuss-admin wrote:
>3. In the experimental project that I am playing around with, it requires
>initially about 1.5m transactions on the database to set up the data. For
>some reason that I am not clear on the app starts to really slow down
about
>halfway into
Well, I have been wrong a lot lately... My HTML page had 7 very similar
tags trying to display 7 images. The second image succeeded and the other 6
failed. If I had messed up the classes.csv file all seven images should have
failed. Also, restarting the AppServer made everything wo
Hi Roger,
On Sat, 2002-07-20 at 15:45, Roger Haase wrote:
> I believe I have stumbled into another threading issue, one step further
> along than the problem of last week. This time it looks like it is in
> MiddleKit to me. The situation is the same, I have a web page that is trying
What makes
Since nobody else has responded, I thought I'd throw this in. I _think_ I
remember the MiddleKit Browser being broken the last time I used Middlekit,
which was many months ago. You may be better off just using an interactive
Python session to start playing around with MiddleKit.
Then once you'r
Thanks Geoff!
I downloaded your fix and by putting in the print statement verified I was
getting multiple copies of UnboundMethodError before the fix and only one
after the fix.
If I understand the problem correctly, the className.methodName(self,...)
form of call does a global lookup and th
I just checked in a fix to Webware CVS. Give it a try.
- Geoff
On Sun, 2002-07-14 at 12:36, Geoff Talvola wrote:
> This isn't a Python problem -- it's a bug in Webware.
>
> If you put a print statement at the end of UnboundMethodError.py you'll
> find that the module actually gets imported mul
This isn't a Python problem -- it's a bug in Webware.
If you put a print statement at the end of UnboundMethodError.py you'll
find that the module actually gets imported multiple times. This
somehow causes a mismatch between the instances and the classes that
triggers the error you're noticing.
I got lucky yesterday and stumbled across a solution which has been right in
front of me on the failing line. My problem seems to be rooted in Python. I
wrote the following with the intention of posting to the Python bug list.
Does this sound reasonable?
TypeError: unbound Method
I some
On Thu, 2002-07-11 at 15:06, Roger wrote:
>
> Any ideas on what to try next?
>
Not really. Are you willing to send me a copy of your code and the full
traceback you're getting? I think I need to actually see the code to
try to understand what's wrong.
- Geoff
I added a print statement to my SitePage - it is only being loaded once with
each start of the AppServer. My SitePage contains several variables which
get modified as users logon. Reloading the SitePage will cause servlets to
abend, so I am sure SitePage is not being reloaded.
I had the "Typ
Roger,
Can you add a print statement to the place in your SitePage module where
you create the object store? It sounds to me like the module is getting
reloaded for some reason. You can tell for sure by adding the print
statement.
- Geoff
On Wed, 2002-07-10 at 17:22, Roger wrote:
> I am not
I am not doing any reloads, I got better at just stopping and restarting the
AppServer quickly.
I think the problem is in the MySQL interface, and I don't understand some
basic concept. In particular, the MiddleKit ToDo docs say:
[ ] Threads: MK objects are not thread safe.
My SitePag
Roger,
see my message to a similar question in the webware-discuss archive...
http://www.geocrawler.com/archives/3/3854/2002/6/100/8905347/
I haven't had any more problems with these kinds of TypeErrors since
removing reload() from production versions of my application's code (I still
use it deb
Look at the MiddleKit User's Guide from CVS -- it documents some additional
settings that were added in CVS since Webware 0.7 was released. Here's a
link:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/webware/Webware/Mi
ddleKit/Docs/UsersGuide.html
In particular, check out the SQLCon
> -Original Message-
> From: Chuck Esterbrook [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 12, 2002 6:53 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [Webware-discuss] MiddleKit code generation and 2.2
> properties
>
>
> On Wednesday 12 June 2002 1
On Wednesday 12 June 2002 11:15 am, Chris Prinos wrote:
> Of course, this only works in 2.2, but seems like you could control
> the code gen behavior in the Settings.config file that the generator
> uses.
>
> Are there any plans for this kind of modification to the generator?
> (responses such as
> Sorry for rant, but I've spend already a week fixing its bugs and, it looks
> like, I'll have to spent lots more time fixing its design flows.
Well, I'm sure it would benefit from your help.
> Anyway, as my time allows, I'll send out a bunch of patches.
Good! I love patches! :-)
> Beware! ;)
On Sat, May 18, 2002 at 03:11:28PM +0200, Jason Hildebrand wrote:
> I think it is a common pattern in applications to create an object and then
> want to save the reference to it (i.e. in the session) so that further
> modifications can be made to the object.
I've heard some databases return th
Hello Gerhard,
> A few weeks ago, I tried to make a PostgreSQL backend for MiddleKit
> using pyPgSQL. Unfortunately, it couldn't pursue this any further
> because of a (IMO) bad design decision of MiddleKit:
>
> It depends on there being something like MySQL's last_insert_id
> available.
I'm al
1.dll, but for development this won't be a problem.
Regards,
Erny
- Original Message -
From: "Steve Waterbury" <[EMAIL PROTECTED]>
To: "Ernesto Revilla" <[EMAIL PROTECTED]>
Sent: Saturday, April 06, 2002 12:13 AM
Subject: Re: [Webware-discuss] MiddleK
From: "Jason Hildebrand" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 6:05 PM
Subject: Re: [Webware-discuss] Middlekit: status of list attributes
> On Thu, 2002-04-04 at 17:30, [EMAIL PROTECTED] wrote:
> > Hi again,
> >
> >
Yikes.
Well, I did the port many months ago, and sent it to Chuck for integration
into the WebWare core (there was one change to be made to the core, and the
test suite had to be updated) but it looks like he still hasn't gotten
around to it. I ended up not using my code, as our performance req
Dear Greg,
I think, I'm repeating all your work, as I didn't find a PostgreSQL-Adaptor for
MiddleKit. So we should decide, and simply post patches to whatever we need.
As there are now 4 different python-DB-API 2.0 modules (PyGreSQL, PoPy, PsycoPg and
pyPgSQL), perhaps we can try to import all
[EMAIL PROTECTED] wrote:
> Hi all,
>
> with the pyPgSQL some values are not returned as basic Python types. For Postgres
>'bigint' I get a PgInt8 type.
>
Hi,
Its been a very long time, but I was the one who wrote this code. Here is
the discussion that I had with Chuck at the time:
At
On Wed, 2002-04-03 at 11:13, Ernesto Revilla wrote:
> How is it possible to run two MiddleKit, in which one of it only contains
> modified files of the original MiddleKit, or how can I separate modified
> files from the originals?
This is what I do: if I want to make modifications to my copy of
M
Tripp Lilley <[EMAIL PROTECTED]> wrote:
>
>On 1 Mar 2002, Jason Hildebrand wrote:
>
>> Performance-wise, MiddleKit may be a bit slower (in terms of the number
>> of queries) than doing your own SQL, but it gives you the data in
>> ready-to-use objects, and saves a lot of development time.
>
>My an
On Fri, 1 Mar 2002, Lateef Jackson wrote:
> The second question I have is when you build a new adapter to a database
> so you have the adapter support a certain set of SQL commands so if the
> db doesn't the addapter will do it anyway. I guess what does it entail
> to build a db adapter?
Basical
On 1 Mar 2002, Jason Hildebrand wrote:
> Performance-wise, MiddleKit may be a bit slower (in terms of the number
> of queries) than doing your own SQL, but it gives you the data in
> ready-to-use objects, and saves a lot of development time.
My anecdotal experience is that MiddleKit is currently
On Fri, 2002-03-01 at 15:25, Lateef Jackson wrote:
> My main question is with the find methods. From what I have read from
> the docs the find methods pass a piece of SQL code to find an object in
> the database. Assume this is correct is correct then certain db would
> not work for certain qu
On Tuesday 26 February 2002 12:55 pm, Geoffrey Talvola wrote:
> Chuck Esterbrook wrote:
> > Obj refs in MK are 64 bit values where the first 32 are a
> > class id and
> > the last 32 are an object id. These are pretty much necessary for
> > general object references (you need the class id to know
Chuck Esterbrook wrote:
> Obj refs in MK are 64 bit values where the first 32 are a
> class id and
> the last 32 are an object id. These are pretty much necessary for
> general object references (you need the class id to know what
> table to
> fetch the object from).
>
> I plan on allowing s
On Tuesday 26 February 2002 03:56 am, Erwin J.van Eijk wrote:
> Hi,
>
> I'm using MiddleKit in a non-web environment as a O-R mapper. It's
> idea is quite good, but I have two small problems:
>
> 1. The links between two tables get screwed up. Say I have a FooType
> table. ft = FooType()
> f
On Wednesday 13 February 2002 08:44 pm, Luke Cole wrote:
> Hi,
>
> I'm trying to run the MiddleKit Video store example from Webware
> 0.6.1b1. Unfortunately, python core dumps while running the
> Generate.py script:
>
> bash-2.03$ python ~/tmp/Webware-0.6.1b1/MiddleKit/Design/Generate.py
> --db
Hi,
I think there may be a bug in the generation of MK objects. Based on my
previous email (see below),
the generated code looks like this:
29 def company(self):
30 if self._company is not None and type(self._company) is not
InstanceType:
31 self.__dict__['_company'] =
se
On Sunday 30 December 2001 04:13 am, kapil thangavelu wrote:
> On Thursday 27 December 2001 10:54 pm, Chuck Esterbrook wrote:
> > Hey, have all the SQL flame wars you like. Just remember that
> > MiddleKit already supports MySQL and MSSQL and there is a Postgres
> > patch lying about somewhere.
>
On Thursday 27 December 2001 08:48 pm, Luke Opperman wrote:
> Hi once again -
>
> The subject being a little misleading, really just wanted
> to throw in another python object database / persistence
> possibility. Part of 4Suite's XML packages, it's a somewhat
> ODMG 3.0 compliant layer. Ties into
On Thursday 27 December 2001 10:54 pm, Chuck Esterbrook wrote:
>
> Hey, have all the SQL flame wars you like. Just remember that MiddleKit
> already supports MySQL and MSSQL and there is a Postgres patch lying
> about somewhere.
speaking of which, why hasn't the pg patch been applied to cvs? its
On Wed, 2001-12-12 at 17:13, Tim Payne wrote:
> I've been doing some simple database work in some of my webkit sites.
> Generally I've been using the MySQLdb python plugin which has worked out
> well for me. However, I restarted today to find that all the tables in
> my database were gone. Have
1 - 100 of 137 matches
Mail list logo