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
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
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
"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
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
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
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
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#
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
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
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
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
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}
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
14 matches
Mail list logo