Re: Connection session bound

2006-12-16 Thread Andreas Prudzilko
benefit, IMO. Try it simple, if you have problems, optimize them later - premature optimization is the root of many evils. ;-) Larry On 12/16/06, Andreas Prudzilko <[EMAIL PROTECTED]> wrote: Hi Brandon, well i was just reading some hibernate tutorials and there were some thought about bin

Re: Connection session bound

2006-12-16 Thread Andreas Prudzilko
y thoughts? - Andreas I can't imagine a situation where I would tie a connection to an HttpSession. What is causing you to consider this? If you can provide some insight as to why you would want to do this we can provide more pointed advice. Brandon On 12/16/06, Andreas Prudzilko <[EMAIL

Connection session bound

2006-12-16 Thread Andreas Prudzilko
Hi, i was wondering about the connection pooling in ibatis. Is it possible to bind a connection to a httpsession? Or are there any pros and cons to do it? - Andreas

Re: Complex mapping

2006-12-09 Thread Andreas Prudzilko
Errr, nevermind I just realized I can do it all manually in my Dao class :-D - Andreas

Complex mapping

2006-12-09 Thread Andreas Prudzilko
Hello, is there any proper documentation on ibatis? All i found was a wiki-page with 30 pages or so and a small pdf. (If yes, could someone give me the url?) Ok but here is my actual problem: public class User extends ApplicationObject { ... private Map userfields; } UserData

Persitence Interface

2006-10-29 Thread Andreas Prudzilko
Hello, I have one interface Template and several Subclasses for it, AbstractTemplate, PageTemplate and so on. They are all persisted in the same table though, distinguished by a column called "type". I was wondering how I can tell ibatis to create instances of the right classes based on the

Id after insert

2006-09-08 Thread Andreas Prudzilko
Hey,   I’m using a regular method to insert stuff as in:   Object id = client.insert("ProductionTrack.insert", track);   I’m using mysql with an autoincrement column. But my id is always null. Any ideas?   - Andreas   Andreas Prudzilk

Update query

2006-08-24 Thread Andreas Prudzilko
Hello,   I was wondering why my track_id is set to 0 after an update statement. The #track.id# syntax worked fine for insert statements, my Track object is also set properly with a valid ID.   Here how it looks like:           UPDATE project

RE: 1:n relations in INSERT statements

2006-08-22 Thread Andreas Prudzilko
them, if you get errors, add them.   HTH,   Niels   From: Andreas Prudzilko [mailto:[EMAIL PROTECTED] Sent: dinsdag 22 augustus 2006 16:17 To: user-java@ibatis.apache.org Subject: 1:n relations in INSERT statements   Hello,   I know this is a

1:n relations in INSERT statements

2006-08-22 Thread Andreas Prudzilko
e track_id (int) column. Do I need to write my own TypeHandler for that?   Thanks for help in advance,   Andreas      Andreas Prudzilko Tools Developer Digital Chocolate Ltd Tammasaarenlaituri 3, FI-00180 Helsinki, Finland Fax +358 9 676 301 ▪ Mobile +358 400 855 193 Email [EMAIL PROTECTED]