Re: weird behavior

2009-07-22 Thread David McReynolds
DOH! There are only two kinds of programming errors: "stupid programmer mistakes and stupid programmer mistakes". Brandon Goodin wrote: > perhaps you haven't specified a resultClass/resultMap? > > Brandon Goodin > > > On Wed, Jul 22, 2009 at 12:38 PM, D

weird behavior

2009-07-22 Thread David McReynolds
Anyone know under what circumstances ibatis would fail to locate a record when I can take the query from the log and run it and find the record. The field I'm searching on is a simple integer. Turned on debug for java.sql and ibatis. The query is logged, along with the parameter. The result set is

mysql+ibatis

2009-04-02 Thread David McReynolds
Would it be beneficial to use the EXTERNAL transaction management given that only two or three out of a hundred mysql tables in our schema actually support transactions? I'm thinking yes, but I am not sure "how" beneficial it would be. -- dlm

Re: unsigned bigint

2009-01-17 Thread David McReynolds
Judging from the exception the driver is throwing, I don't think either is possible. Remember, Java doesn't do unsigned. All the JDBC driver seems to know is that its a BIGINT. It has no concept of UNSIGNED BIGINT. On Fri, Jan 16, 2009 at 1:27 PM, Jeff Butler wrote: > Assuming you are using MySQ

RE: bitmap fields

2008-11-14 Thread David McReynolds
fields. Larry On Fri, Nov 14, 2008 at 7:24 AM, David McReynolds <[EMAIL PROTECTED]> wrote: > Has anyone used ibator with bitmaps? We've got several bitmaps in various > tables and so far, I've resorted to writing custom mappings for queries that > need to interroga

bitmap fields

2008-11-14 Thread David McReynolds
Has anyone used ibator with bitmaps? We've got several bitmaps in various tables and so far, I've resorted to writing custom mappings for queries that need to interrogate those fields. I'd love to be able to use the generated xxxByExample mappings but I have no idea what the criteria would be be

RE: iBATIS with Tomcat vs JBoss

2008-11-13 Thread David McReynolds
En-Joy-Beer I can't help myself sometimes. -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 12:44 PM To: user-java@ibatis.apache.org Subject: Re: iBATIS with Tomcat vs JBoss So the B in EJB stands for Beer? :-D Larry PS: It's not even

mapping multiple collections

2008-11-05 Thread David McReynolds
I am working through a simple example where I have a table called "titles" that contains attributes about books. A title will have 1..* authors and a title will also have 1..* editors. Joining the titles and authors was simple enough. However, when I pull in the editors (using a join table) I found

duplicate databases

2008-10-21 Thread David McReynolds
Precondition: I know this is a screwy set up. But, it is, what it is. What I need, are ideas for dealing with it, and any heads up dor potential nightmares. We have two databases that are supposed to remain synchronized. For some reason, there is no abstraction layer (hardware or otherwise) that p