From: Jeff M. <je...@mk...> - 2003-03-21 16:55:02
|
Don't think there's any reason, just no one has needed to do that yet. If you do want to enhance it it would probably be better to use CommonMockConnection2 rather than CommonMockConnection as the later is deprecated in favour of the former. On Fri, 2003-03-21 at 16:19, Johannsen, Cory wrote: > Hello, > > Is there a reason that CommonMockConnection only allows a single > Statement, but allows multiple PreparedStatements? I have a code > chunk that executes two separate Statements (different SQL) in order, > and the test fails since the CommonMockConnection implementation only > allows a single Statement. > > If there is no particular reason that this limitation is present, I'd > like to enhance CommonMockConnection to allow multiple Statements in > the same manner that it allows multiple PreparedStatements. > > Cory Johannsen > |