Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials


 

 

Struts Tutorials

Struts Resources

Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Askquestions Ibatis Questions

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

2 comments so far (post your own) View All Comments Latest 10 Comments:

Hi ,
I have to conenect to different databse depending user .
Exapple: there are two databses A,B and two users X,Y.

i)If user X is login then connect to database A.
2)If user Y is login then connect to database B.

How can I achive this through iBatis.

Posted by Ramarao on Tuesday, 02.2.10 @ 13:09pm | #94517

How do you call a Db2 stored procedure in Ibatis in .Net(C#) environment.

<parameterMap id="TEST1" class="TEST">
<parameter property ="Out1" column="OUT_1" />
<parameter property ="OUT2" column="OUT_2"/>
<parameter property ="OUT3" column="OUT_3"/>
<parameter property ="OUT4" column="OUT_4"/>
<parameter property ="OUT5" column="OUT_5"/>
<parameter property ="OUT6" column="OUT_6"/>
</parameterMap>

<statements>
<procedure id="Proc1" parameterMap="TEST1" >
Proc1(#Out1#,#Out2#,#Out3#,#Out4#,#Out5#,#Out6#)
</procedure>
</statements>


Call from .Net :

mymapper.QueryForObject("Proc1", values);

Note : Proc1 is an update stored procedure. 'values' holds all values for the input parameter to stored procedure Proc1

pls help me

Thanks!

Posted by Summa on Monday, 11.30.09 @ 21:03pm | #92969

Ask programming questions?

 

 

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name

 

 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2007. All rights reserved.