Re: Transaction handling

2005-11-22 Thread Clinton Begin
I agree with you, pseudo is kind of hard to analyze for errors... Cheers, ClintonOn 11/22/05, ooper <[EMAIL PROTECTED]> wrote: I guess that was my point, that it did not look like a *reasonable error* since I have had success inserting a row into a table and also inserting a row into a child tabl

RE: Cache entire table for use in an application

2005-11-22 Thread Brian Yoffe
Perhaps you should look at an in memory database such as times ten, etc. -Original Message- From: Niels Beekman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 5:46 PM To: user-java@ibatis.apache.org Subject: RE: Cache entire table for use in an application Nope, that's why dat

Re:Transaction handling

2005-11-22 Thread ooper
I guess that was my point, that it did not look like a *reasonable error* since I have had success inserting a row into a table and also inserting a row into a child table all within the same transaction. Sometimes pseudo-code hides the problem.Broadband interface (RIA) + mail box saftey = http://i

Re: Transaction handling

2005-11-22 Thread Clinton Begin
There's really no code to provide.  It looks like a reasonable error and is likely a constraint imposed by a foreign key.  My question would be, why do you need to re-select the record that you just inserted? ClintonOn 11/22/05, ooper <[EMAIL PROTECTED]> wrote: Can you provide the actual code? I'

RE: Cache entire table for use in an application

2005-11-22 Thread Niels Beekman
Nope, that's why database servers got invented :) Of course you can cache the objects, but that was probably not your question. The MS SQLServer documentation contains lots of information about how it uses memory for caching, maybe you should take a look at it. Niels

Re:Transaction handling

2005-11-22 Thread ooper
Can you provide the actual code? I'm doing this kind of thing all over the place, and it works fine.Broadband interface (RIA) + mail box saftey = http://iBatis_for_Java_Users_List.roomity.com*Your* clubs, no sign up to read, ad supported; try broadband internet.

Cache entire table for use in an application

2005-11-22 Thread ooper
Is there a nice way to load an entire table into memory and then execute queries against what's in memory instead of executing queries against the database?(I'm using SQLServer.)TIA, Brian BarnettBroadband interface (RIA) + mail box saftey = http://iBatis_for_Java_Users_List.roomity.com*Your* clubs

RE: First sqlMap causing Parse Errors Please Assist

2005-11-22 Thread Niels Beekman
You cannot use the attribute "id" on the sqlMap-tag (hence the parser complains that you are using an attribute that is not defined in the DTD for that tag): should just be: Be sure to use a DTD-validating XML-editor, these errors are much harder to debug without one. Also, the DTD-locations

First sqlMap causing Parse Errors Please Assist

2005-11-22 Thread Scott Purcell
Hello, I am just trying to get underway with some IBatis and I am running into parse problems. The sqlMapConfig is straight from the PDF, supplied my own DB props. I have a servlet that performs the parsing of config at startup. It apparently gets thriough the sqlMapConfig and blows up with er

RE: Which is the current stable version? 2.15 or 2.1.6

2005-11-22 Thread Voorhoeve, Niels {PBG}
I'm using the 2.1.6 SVN version and it's been working well for me. Caching and all... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Tuesday, November 22, 2005 10:38 AM To: user-java@ibatis.apache.org Subject: Re: Which is the current

Re: Which is the current stable version? 2.15 or 2.1.6

2005-11-22 Thread Larry Meadors
I broke it. :-( The fix is in SVN now, but has not been tested thoroughly. It worked in the unit tests, but there was a dependency on the devsrc directory. http://issues.apache.org/jira/browse/IBATIS-219 Larry On 11/22/05, Clinton Begin <[EMAIL PROTECTED]> wrote: > > What's the issue with the

Re: Which is the current stable version? 2.15 or 2.1.6

2005-11-22 Thread Clinton Begin
What's the issue with the DAO?On 11/22/05, Larry Meadors <[EMAIL PROTECTED]> wrote: On 11/22/05, Zsolt <[EMAIL PROTECTED]> wrote:> Which is the current stable version: 2.15 or 2.1.6?2.1.6 has a known issue in the DAO. It is fixed in SVN, but not in the release. 2.1.5 is known to be stable...I'd st

Re: Which is the current stable version? 2.15 or 2.1.6

2005-11-22 Thread Larry Meadors
On 11/22/05, Zsolt <[EMAIL PROTECTED]> wrote: > Which is the current stable version: 2.15 or 2.1.6? 2.1.6 has a known issue in the DAO. It is fixed in SVN, but not in the release. 2.1.5 is known to be stable...I'd stick with it. Larry

Which is the current stable version? 2.15 or 2.1.6

2005-11-22 Thread Zsolt
Hi, Which is the current stable version: 2.15 or 2.1.6? Zsolt

Sunil Patels ibataisDAO tutorial - help please

2005-11-22 Thread philip brown
I am new to Java and would really appreciate any help with this as it probably is only a beginners oversight/mistake. I have submitted all code (see below or http://www.oceanair.co.nz/phil/sunil.zip for all files including libs) MySql database is set up as in SQLMap.xml and Contact.xml I added