ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhigyan Agrawal1 <abhigyan_agra...@in.ibm.com>
Subject Re: IBatis - SQLJ
Date Tue, 30 Dec 2008 15:18:20 GMT
Hi Prakash,
        I developed plugin on Data Studio Developer but it would work on 
RSA as well. The fact that you are able to see the option to generate 
implementation, the plugin seems to be installed correctly. But since you 
are using DB2 v8, please include the correct jar files (db2jcc.jar and 
db2jcc_license_cu.jar) instead of the one present in 
com.ibm.ui.ibatisxml_1.0.0.jar. ( the existing ones are for v9). Now the 
implementation should be generated without any problem. 
There would be a log file (named out.log) generated on the root of your 
disk e.g. c:\out.log. It would log the error. I am sure using right DB2 
jar files will solve the problem, otherwise, give us out.log file. Either 
case, let me know how it goes.

Cheers,
Abhigyan 




prakashtgt <prakash.u@target.com> 
30/12/2008 01:58
Please respond to
user-java@ibatis.apache.org


To
user-java@ibatis.apache.org
cc

Subject
Re: IBatis - SQLJ







Hi Abhigyan,
I replaced iBATIS-2.3.0.677.jar with
iBATIS-2.3.0.677-with-Static-Support.jar in my Java project. Now, Im 
trying
to create the .ser files for the SQL statements that are in my iBatis.xml.
I followed the procedure to generate the .sqlj file as explained in your
documentation. I see the option 'Generate SQLJ implementation' when i 
right
click on my SQLMapConfig.xml, but then nothing happens.

I think im lost in this step:  "Drop com.ibm.ui.ibatisxml_1.0.0.jar file 
in
the 'plugins' folder of your eclipse."

My doubt is, since we are using RSA for development, is there an 
equivalent
plugin available in RSA? Please let me know if you have any document to
explain this process.

FYI. Im using RSA for development/websphere v6.1/DB2 v8

Thanks,
Prakash


Abhigyan Agrawal1 wrote:
> 
> Hi Prakash,
>         As promised, here is the iBATIS SQLJ support for version 
> 2.3.0.677. I am posting a zip file which contains the following:
> 
> iBATIS-2.3.0.677-with-Static-Support.jar - The file contains the changes 

> made to iBATIS source code for SQLJ support. Replace iBATIS jar with 
this 
> one for SQLJ support.
> iBATIS-2.3.0.677-with-Static-Support.zip - Source code of iBATIS along 
> with changes. 
> org.ibatis.sqlj.ui_1.0.0.jar - The file contains an eclipse plug-in for 
> iBATIS SQLJ support generator. Again, the jar contains source also.
> README.zip - The file contains detailed instructions to use plug-in. 
Read 
> this doc and follow the instructions to get SQLJ support.
> IbatisSQLJCreate.java - The java file is used to generate SQLJ support 
> from command line in case you don't want to use the eclipse plug-in. The 

> instructions to use this file are given in the file itself. 
> 
> Let me know how this goes.
> 
> 
> 
> 
> Thanks,
> Abhigyan 
> 
> 
> 
> Abhigyan Agrawal1/India/IBM@IBMIN 
> 25/11/2008 19:13
> Please respond to
> user-java@ibatis.apache.org
> 
> 
> To
> user-java@ibatis.apache.org
> cc
> user-java@ibatis.apache.org
> Subject
> Re: IBatis - SQLJ
> 
> 
> 
> 
> 
> 
> 
> Hi Prakash, 
>         I have the code ready for your use and I am working on a simple 
> instruction file containing steps to follow. So, in all probably you 
will 
> have it tomorrow. 
> 
> Thanks,
> Abhigyan 
> 
> 
> 
> Mario Ds Briggs/India/IBM@IBMIN 
> 25/11/2008 14:41 
> 
> Please respond to
> user-java@ibatis.apache.org
> 
> 
> To
> user-java@ibatis.apache.org 
> cc
> user-java@ibatis.apache.org 
> Subject
> Re: IBatis - SQLJ
> 
> 
> 
> 
> 
> 
> 
> 
> Hi Clinton,
> 
> I did send the source jar which included the ibatis runtime changes 
source
> code. Of course for the generator tool i sent just the binary.
> Not an issue and i am happy that you responded. Will attach on the user
> group for Prakash, and on the JIRA system once merged with current 
trunk.
> 
> thanks
> Mario
> 
> 
> 
> 
>             "Clinton Begin" 
>             <clinton.begin@gm 
>             ail.com> To 
>                                       user-java@ibatis.apache.org 
>             24/11/2008 20:52 cc 
> 
> Subject 
>             Please respond to         Re: IBatis - SQLJ 
>             user-java@ibatis. 
>                apache.org 
> 
> 
> 
> 
> 
> 
> 
> 
> Mario,
> 
> My records show that you never sent the source.  You only sent a fully
> compiled binary demo.   We can't do much with that...  ;-)
> 
> Clinton
> 
> On Mon, Nov 24, 2008 at 5:29 AM, Mario Ds Briggs 
<mario.briggs@in.ibm.com>
> wrote:
>  Hi Prakash,
> 
>  Sometime last year i had made the offer on the dev list -
>  http://www.mail-archive.com/dev@ibatis.apache.org/msg02595.html and
>  Clinton
>  responded positively. We did send him the demo, but he has been 
terribly
>  busy to get to it. In the meantime we too got stuck in some legalese.
> 
>  However i have good news - issues on our side are sorted out. Due to 
the
>  time gap in-between, we need to merge our changes into the 2.3.4 branch
>  to
>  submit a patch, which will be done soon.
> 
>  Which version of iBatis you are on? If  2.3.0, that would be simple, we
>  can
>  provide patch and you will be ready to go
> 
>  thanks
>  Mario
> 
> 
> 
> 
>              "Larry Meadors"
>              <larry.meadors@gm
>              ail.com> To
>                                        user-java@ibatis.apache.org
>              10/11/2008 20:31 cc
> 
> Subject
>              Please respond to         Re: IBatis - SQLJ
>              user-java@ibatis.
>                 apache.org
> 
> 
> 
> 
> 
> 
> 
> 
>  No.
> 
>  Larry
> 
> 
>  On Mon, Nov 10, 2008 at 6:41 AM, Prakash. Govindrao
>  <Prakash.Govindrao@target.com> wrote:
>  > All,
>  >
>  > Could you please let me know if the newer version of Ibatis supports
>  the
>  SQLJ?. I have seen couple postings on this but was not sure whether any
>  progresss made on this effort.
>  >
>  > I appreciate your help on this.
>  >
>  > Thanks
>  > Prakash
>  >
> 
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-IBatis---SQLJ-tp20660106p21208671.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.



Mime
View raw message