Re: is this possible?

2005-05-29 Thread Rob Butler
Not yet. It seemed a little "out there" that it would work. So I thought I would ask. Someone who really knows the internals of iBatis would be able to say yes/no right off. Rob --- Larry Meadors <[EMAIL PROTECTED]> wrote: > Did you try it? > > On 5/29/05, Rob Butler <[EMAIL PROTECTED]> wro

Re: is this possible?

2005-05-29 Thread Larry Meadors
Did you try it? On 5/29/05, Rob Butler <[EMAIL PROTECTED]> wrote: > I want to create a statement that performs inserts (or > updates, or creates tables) that can have the table > name as well as the number and type of the columns > determined at run time. > > Assume a Map has two entries, tableNa

is this possible?

2005-05-29 Thread Rob Butler
I want to create a statement that performs inserts (or updates, or creates tables) that can have the table name as well as the number and type of the columns determined at run time. Assume a Map has two entries, tableName and records. Records is a List of record objects. Record objects have 3 va

Re: Support for generics

2005-05-29 Thread Brandon Goodin
"If I were to ditch a layer in this 5 layer cake, I'd ditch the DAOs. :-)" Well, i wounldn't say ditch the DAO layer. I'd say make the Mapping interface your DAO layer. "I'm personally not a fan of code generation at all." I believe it would be possible to create a tool that makes the creation

Fwd: Support for generics

2005-05-29 Thread Clinton Begin
Sorry, I accidentally replied to Nathan only.-- Forwarded message --From: Clinton Begin <[EMAIL PROTECTED] >Date: May 29, 2005 9:56 AMSubject: Re: Support for genericsTo: Nathan Maves <[EMAIL PROTECTED]> I understand that that is possible.  I'm personally not a fan of code generatio

Re: Dynamically add sqlMaps to Config.xml

2005-05-29 Thread Brandon Goodin
I am a bit confused as to what you are asking. Do you just want to add an sql map xml file dynamically? Brandon On 5/27/05, Steffen Legler <[EMAIL PROTECTED]> wrote: > Hi. > > We need to add dynamically sqlMaps to our SqlMapClient. > Please can you implement something like this example in furthe

Re: Stored procedures not working?

2005-05-29 Thread Larry Meadors
Thanks for posting the answer to the problem Michael. Larry On 5/28/05, Michael Glitzner <[EMAIL PROTECTED]> wrote: > Hello! > > I am having a problem with stored procedures in iBatis. I use the > FireBird (JayBird) JDBC driver connecting to an InterBase-Server. > > My SqLMap.xml file looks th

Stored procedures not working?

2005-05-29 Thread Michael Glitzner
Hello! I am having a problem with stored procedures in iBatis. I use the FireBird (JayBird) JDBC driver connecting to an InterBase-Server. My SqLMap.xml file looks the following: SELECT COUNT(*) FROM WEB_KUNDEN WHERE username=#userName# AND passwort=#password#

Dynamically add sqlMaps to Config.xml

2005-05-29 Thread Steffen Legler
Hi. We need to add dynamically sqlMaps to our SqlMapClient. Please can you implement something like this example in further releases? Example: sqlMapClient = SqlMapClientBuilder.buildSqlMapClient(configReader, props); sqlMapClient.addResource(xyz.xml) Dynamically build SQL-Statements include a

Dynamically add sqlMaps to Config.xml

2005-05-29 Thread Steffen Legler
Hi. We need to add dynamically sqlMaps to our SqlMapClient. Please can you implement something like this example in further releases? Example: sqlMapClient = SqlMapClientBuilder.buildSqlMapClient(configReader, props); sqlMapClient.addResource(xyz.xml) Dynamically build SQL-Statements include a

AW: Stored procedures not working?

2005-05-29 Thread Michael Glitzner
Yess :) - i got the problem: In InterBase this "call" Syntax for Stored Procedures is not really working. With the following SqlMap the Stored Procedure works fine for InterBase: SELECT * FROM WEB_HSPORTART(#language#, #company#, 0, #betMode#) Now this costed me a lot of time, I

AW: Stored procedures not working?

2005-05-29 Thread Michael Glitzner
Okey, now I tested it with the JDBC-Driver and it seems that there ist he bottleneck. The JayBird Driver doesn't return me more than 1 dataset, when I jump to the second one with next() I get the following error: "org.firebirdsql.jdbc.FBSQLException: The resultSet is not in a row, use next" But I

AW: Stored procedures not working?

2005-05-29 Thread Michael Glitzner
This is my logging fort the problem I described before: {conn-16} Connection {pstm-17} PreparedStatement: {call WEB_HSPORTART(?, ?, 0, ?)} {pstm-17} Parameters: [D, 0, TW] {pstm-17} Types: [java.lang.String, java.lang.Integer, java.lang.String] {rset-18} ResultSet {rset-18}

Re: Struts and iBatis

2005-05-29 Thread Brandon Goodin
I'm not really sure why you need a tutorial on Struts and iBatis. iBatis is it's own product and should not depend on struts whatsoever. I think your best bet is to read the ibatis documentation and the iBatis Tutorial. I believe the Ricks tutorial is based on iBatis 1.x. There is also the JPetstor