IBatis framework

In iBatis How to get the SQL queries defined in xml file to our java code.
I want to get the sql queries by giving the corresponding id...??

Hi;
For the people who have use Ibatis framework :I don't use iBatis but can I answer anyway?
Q1: It is enough to declare the methods of class like
synchronize for resolving the problem of the
concurence (for example: public synchronized List
getAllUsers() {}) ? Not necessarily, synchronization/multithreading is a complicated issue and simply making everything synchronized doesn't necessarily solve problems.
Q2: To profit of the lazy loading, I must only
seted the parameter : lazyLoadingEnabled="true" ? If it's anything like Hibernate then yes (not 100% sure about that, but should be like it)
Q3: Which is the interest to declare all the
persistent classes (JavaBean) as classes
serializables ?I think that might even be in the Javabean specification. But well, you know what Serializable means so you know it could come in handy some time.
Sincerely,
Jussi

Similar Messages

  • Message Object assembly failure - IBatis Framework

    I am calling a procedure using IBatis Framework , which returns a cursor.
    While mapping the data from cursor to POJO class, I am getting the following exception :
    Exception Message Object assembly failure on eligibility.domain.Test for Field: data
    class Test
         A data;
    setter and getter for data;
    could you please help me to resolve this issue.
    Regards
    Venky

    Hi,
    While importing select the type as wsdl and then import it.
    Otehrwise try to import as xsd.
    Hope this helps.
    Regards,
    Moorthy

  • Deleting multiple records using ibatis framework

    The code i am using is
    String deleteArray[ ] = request.getParameterValues("sel");
    String selected= " " ;
    if(deleteArray ! = null){
    for(int i = 0; i < deleteArray.length ; i++){
    selected += deleteArray [ i ];
    if( i < deleteArray.length - 1){
    selected += "," ;
    I am using sqlMapClient of ibatis for connecting to database
    sqlMapClient.delete("deleteMultipleRecords",selected);
    In my xml file i use
    <delete id="deleteMultipleRecords" parameterClass="java.lang.String">
    delete from ADDRESS where id in (#value#)
    </delete>
    When i execute the above code , the delete query is not executing.Can anyone help me out.

    I dont think so u can delete multiple recods with a sing line of querey.
    Why dont u use a for loop in DAO file and call the query with a single value ....

  • Problem with weblogic 8.1 sp3 XAConnection

    Hi,
    I am getting the following exception and once this exception is encountered, same exception is thrown for all subsequesnt transactions.
    I am using weblogic 8.1 SP3, jdbc tx datasource for ms sql server.
    Can anyone help?
    Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAER_PROTO : Routine was invoked in an inproper context start() failed on resource 'TXConnectionPoll': XAER_PROTO : Routine was invoked in an inproper context
    javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver]Transaction has to commit/rollback before another transaction starts.
    Regds.
    DJ

    Hi,
    The application consists of struts1.1 in the web layer.
    All user entered data are wrapped in a map and using
    dispatcher controller (session bean) the respective
    business objectss (session beans - Tx attribute is
    'Required') are called by passing the map data which
    in turn, executes the business logic based on the user
    provided data.
    The session beans calling the entity beans to do
    create/update/delete jobs in database.
    To retrieve data from database, we are using iBatis
    framework and queries are being fired from session
    beans.
    In some of the functionality, we are using stored
    procedure (SQL server 2000), which are being called
    from within session bean.
    I think, wherever, we are calling SP from session bean.
    some local transactions are being created, which I
    could not identify so far.We did not create any nested
    transaction within stored procedure.
    Please ignore the same posting I did in another topic.
    Regds.
    DJ

  • Singleton & EJB & Clustering

    Hello:
    although I have read information about this question in
    http://java.sun.com/developer/technicalArticles/Programming/singletons/ ,
    I continue having doubts.
    I need a class (A) called by stateless session beans to get next value from one previous value.
    This A class only performs queries from database ( using iBatis framework ) to get the next value, but doesn't store any value or state.
    My doubt is if I can have this class as a Singleton class , considering that it works in a clustered enviroment.
    As this A class is called by many session beans, I think that it's a good idea has a unique instance. But I have doubts about performance with this and the access to the resources ( only queries) .
    Can I use, in this case, Singleton pattern in clustered enviroment ?
    Thanks !

    The only thing is that this sounds like a class which is being used as a generator for primary keys.
    The concern is that you have two requests of the generator at the same time and, if the generator function is poorly coded, you then either have two non-unique primary keys, or somebody throws an exception.
    I would look and see if your database backend has some sort of sequence/auto-inc/generator functionality and hook into that (no point re-inventing the wheel)
    On the other hand, if you are trying to maintain some sort of database portability, you might be quicker having the inc larger than 1.
    e.g.
    on server#1: nextval = curval - (curval mod 3) + 3
    on server#2: nextval = curval - (curval mod 3) + 4
    on server#3: nextval = curval - (curval mod 3) + 5
    [Note the above strategy is not the most efficient, but will guarantee that the three servers _never_ produce duplicate IDs... how you would code some such is more fun.  It has the advantage that each server can lag behind in updates of the most recent value of curval without causing major issues]
    Other people may know a better way of solving the problem.
    If you are inventing your own wheel, i'd try testing it for duplicate values under heavy load as a critical test before release

  • Problem regarding commit

    Hai all,
    I am trying to connect to database using struts and ibatis framework.
    When I am inserting a row it is temprovarily commited...ie for one access of that page..but not commited to the database
    I am using jdbc with Oracle background

    Amit,
    Your are right. If you read the state transition table in the online help, this should not be allowed. I used to think that this was not possible, but then I saw some code generated by Designer which did just that.
    On the other hand, in the section in the online help, just above the table, for QUERY_STATUS, there is no restrictions.
    And on the third hand (if you can say that :-) this transition table hasn't changed since Forms 4.0 or 4.5 as far as I can see. Maybe this is a typical case of "The documentation hasn't kept pace with the code" ? Sometimes I think that Forms has more undocumented features than the old Zilog Z80 had undocumented OP codes.
    I can just tell you, it works.
    Since I saw it in the code generated from Designer, I've used it a lot. It's nice to be able to "refresh" items and don't have to be asked the stupid question "Do you want to submit the changes <Yes> <No> <Cancel>" (or something like that).
    I can easily do things like
      BEGIN
        SELECT xxx
          INTO :myblock.myitem
          FROM mytable
         WHERE <something>;
      EXCEPTION
        WHEN NO_DATA_FOUND THEN
          <some error handling>;
        WHEN TOO_MANY_ROWS THEN
          <some other error handling>;
        WHEN OTHERS THEN
          <REALLY freak out>;
      END;
      Set_Record_Property (....., QUERY_STATUS);As we say in Danish "Prøv det" (Try it).
    (hey, did you see, I used the <left square bracket>code<right square bracket> place code here<left square bracket>/code<right square bracket> and it worked !! No more ...'s)
    Disclaimer: Don't shoot me if it doesn't work for you. It works for me :-)
    mvh Christian

  • Problem with Weblogic SP3

    Hi everyone,
    Lately we upgraded from Weblogic8.1 SP2 to SP3. After re-creating the domains, I installed the service with -DWeblogic.Stdout=d:\logs\stdout.log -DWeblogic.Stderr=d:\logs\stderr.log parameters during it's startup. To my surprise, I found weblogic logging stdout information in stderr.log !!
    Now is this a bug? Or am I missing out anything that's new in Weblogic SP3. I visited the bea site and didn't get any info on that.
    Can anyone please shed some light?

    Hi,
    The application consists of struts1.1 in the web layer.
    All user entered data are wrapped in a map and using
    dispatcher controller (session bean) the respective
    business objectss (session beans - Tx attribute is
    'Required') are called by passing the map data which
    in turn, executes the business logic based on the user
    provided data.
    The session beans calling the entity beans to do
    create/update/delete jobs in database.
    To retrieve data from database, we are using iBatis
    framework and queries are being fired from session
    beans.
    In some of the functionality, we are using stored
    procedure (SQL server 2000), which are being called
    from within session bean.
    I think, wherever, we are calling SP from session bean.
    some local transactions are being created, which I
    could not identify so far.We did not create any nested
    transaction within stored procedure.
    Please ignore the same posting I did in another topic.
    Regds.
    DJ

  • Is there any native method for converting String value to Hungarian notat..

    Hello. there.
    This might be very simple question. but I'm just curious about this.
    I am wondering if Java API offer the any native method for converting uppercased string value to lowercase which obey the Hungarian notation.
    What I'm going to do is using Reflection for excuting RFC function on SAP. I was found it is very similar to JDBC Programming.
    Please refer to blow codes.
    //mTable
    JCoTable mTable = function.getTableParameterList().getTable(rtnTblNm);
        for (int i = 0; i < mTable.getNumRows(); i++) {
         mTable.setRow(i);
         HashMap tmpData = new HashMap ();
              for (int j=0; j < mTable.getNumColumns(); j++) {
                     // I want to set key String [userNo] instead of  [USER_NO] here.
              tmpData.put(mTable.getMetaData().getName(j).toLowerCase(), mTable.getString(j));
              result.add(tmpData);
    } Basically, The idea was from ibatis framework [com.ibatis.common.beans.classInfo] dropcase();
    Any idea would be very helpful for me. Thank you.
    Edited by: hosung.seo on Aug 30, 2009 10:42 PM
    Edited by: hosung.seo on Aug 30, 2009 10:50 PM

    ejp wrote:
    Hungarian notation is a representation of logical/arithmetic expressions in postfix form. Not what you're talking about.
    So your title is very confusing to the people here who know what it means, which is probably all of them, because people read threads based on their title.From now on, I will pay more attention when I post an question.
    If the titile as " +Is there any native method for converting String value to camelcase?"+ would be easier to what i'm pointing at.
    As I mentioned in above sorce code, converting [USER_NO] to [userNo] isn't relevant Hungarian notation. yes, it was ambiguous. Agree! :)
    But some answer wasn't fit to converting case or recognizing "underscore" delimiter. I was expecting toCamelCase() such as blew. Thanks.
        public static String toCamelCase(String name) {
            String lowerName = name.toLowerCase();
            String[] pieces = lowerName.split("_");
            if (pieces.length == 1) {
                return lowerName;
            StringBuffer result = new StringBuffer(pieces[0]);
            for (int i = 1; i < pieces.length; i++) {
                result.append(Character.toUpperCase(pieces.charAt(0)));
    result.append(pieces[i].substring(1));
    return result.toString();

  • Ann: North East Conference on MVC Frameworks and Struts in 3 weeks:

    Ann: North East Conference on MVC Frameworks and Struts in 3 weeks:
    Most people already know what MVC is, once you know what it is, here is the next step. Presenting will be the popular frameworks and components in use by 8 speakers:
    -Ted Husted – Author – Struts Chains/2.0 – the dominant framework in use, from Ziff Davis, to Apple Store to most large commercial sites.
    Husted.com
    -Rod Johnson – Author – EJB/Spring
    springFrameWork.com
    -Christophe Coenraets – Flex-MacroMedia - “back to rich UI w/SOA” (Great blog entry on Struts + Flex)
    markMe.com/cc
    -Howard Lewis Ship – Author – HiveMind (SOA, IOC, AOP) – commonly referred to as “the next big thing”
    javaTapestry.blogspot.com
    -Clinton Begin – DAO/iBatis/SQLMaps – the best DAO layer
    imo, used by Spring, jPetStore, basicPortal, etc.
    -Matt Raible – Author – displayTag/strutsMenu – (displayTag is my favorite J2EE component)
    Raibledesigns.com
    -Jason Carreira – WebWork 2
    freeroller.net/page/jCarreira
    - Vic Cekvenich – Author – basicPortal (J2EZ – easy and simple to customize application for membership, portal, cms, community, store, etc. using bestPractices for large, profitable commercial sites. )
    + more
    You will get a CD mailed to you once you register.
    April 3rd from 8AM to 7PM in NYC at nyhotel.com, next to MSG. Advertised in JDJ, NY Times, etc. My guess is that you won’t find half as many good sessions at Sun’s Java One.
    It $99 to register now at baseBeans.com, in a few day's price keeps going up.

    Hey Jan,
    Oracle's E-Business suite is moving to a JSF solution. This is really for three main reasons (abbreviated version):
    1) JSF is much more focused on the 'view' components. The component model has a clean separation of the component definition from its rendering. This, among many other things, allows us to provide a consistent development environment and APIs for developers building apps for browsers, mobile devices, telnet devices, etc.
    2) JSF has a better defined lifecycle. The JSF lifecycle maps much closer to the phases that enterprise applications need when processing data from a web application. We are able to easily extend this to add things not currently in the spec, like portlets, wireless, etc., as well as more easily plug new components into the framework.
    3) Once you remove the JSP tags & FormBean from Struts, all you are left with is the navigation. There is nothing special in the Struts navigation that would cause us to try to make the two technologies work together. In fact, the Faces navigation will not be robust enough in its current form to support the declarative navigation requirements for Oracle apps. We plan to extend the JSF navigation and then work to submit that back into the standards.
    Hope this helps,
    Ted Farrell
    Oracle Corporation.

  • What framework and tools should I use?

    Hi
    We are students of computer science and we are going to make web application where the main aim is to present on www a lot of charts, graphes, tables created from complicated database's queries. The interaction witch web users won't be complicated. Few forms and in SSL.
    Servers:
    PostgreSQL - i think there aren''t any better open-source database, are any?
    Tomcat - we don't have posibility to use another application server
    MVC Framework:
    I've made one project in Struts. It is very good, but I am a student and I want to learn another framework. Maybe Spring? Or I've even heard about connecting Struts and Spring
    Model - iBatis DAO and iBatis SQL Maps. I have never used this. I've read about it and I think that is ease to use and not so much heavy as for example Hibernate.
    The View - what is the best solution to present a lot of tables, graphs.. on www? What do you think about such solution like:
    Velocity
    Jasper Reporst
    JFreeReports
    jCharts
    JSF?
    What combination would you recommend me?
    At the end i would like to ask what is it Jakarta Turbine and Jakarta Jetspeed? Are they frameworks like Struts or what?

    Hi
    We are students of computer science and we are going
    to make web application where the main aim is to
    present on www a lot of charts, graphes, tables
    created from complicated database's queries. The
    interaction witch web users won't be complicated. Few
    forms and in SSL.
    Servers:
    PostgreSQL - i think there aren''t any better
    open-source database, are any?Define "better". If you know PostgreSQL, it'll work just fine.
    Tomcat - we don't have posibility to use another
    application serverThen that choice is made. As long as you don't use EJBs, Tomcat is sufficient.
    MVC Framework:
    I've made one project in Struts. It is very good,
    , but I am a student and I want to learn another
    framework. Maybe Spring? Or I've even heard about
    connecting Struts and SpringYou can use Spring without Struts, or Struts without Spring. I'd recommend Spring over Struts.
    Model - iBatis DAO and iBatis SQL Maps. I have never
    used this. I've read about it and I think that is
    ease to use and not so much heavy as for example
    Hibernate.It's not a matter of light or heavy. You might like iBatis because it's closer to SQL. Spring works with both iBatis and Hibernate, so that's a fine choice.
    The View - what is the best solution to present a
    lot of tables, graphs.. on www? What do you think
    about such solution like:
    VelocityNo built-in charts.
    Jasper ReporstHaven't used it.
    JFreeReportsHaven't used it.
    jChartsYou'll need this for charts.
    JSF?No charts in JSF. It's more like Struts.
    What combination would you recommend me?I'd recommend PostgreSQL, Spring, iBatis, and JSPs with JSTL along with a free charting library.
    At the end i would like to ask what is it Jakarta
    Turbine and Jakarta Jetspeed? Are they frameworks
    like Struts or what?Read their docs. I thought Turbine was a dead project that tried to help with persistence. I don't think it's got much traction. Jetspeed is another UI framework that also doesn't seem to have as much traction as Struts or JSF.
    %

  • Hibernate/IBatis/JPA for batch applications

    We are planning on developing a batch application. Performace is a very critical part in this. Wanted to get some feed back upon which is the best framework for batch applications.
    This application would not have too many inserts/updates. It will have selects mainly.
    Can somebody suggest which framework is good Hibernate/Ibatis/JPA ?
    Thanks in advance
    Gautam

    Uppalapati wrote:
    duffymo wrote:
    "batch" usually means "transactional" to me. Why would a batch be mainly SELECTs? Makes no sense.
    Most people wouldn't use Java/JDBC for batch. Better to use the tools that are optimized for your relational database in most cases.
    sorry by stating that a little unclear. It is basically a stand-alone application. It reads messages as they comeby and process the messages. The processing of the messages require a lot of validations to be done (which are dependent upon a lot of parameters in the database and these would require selects). and finally based upon a few criteria's we write the data to the database. Are the validations static, read-only reference data? If so, you can read it once and cache it. Unless the SELECTs are truly dynamic and need to be made every time, perhaps you can save yourself some network traffic that way.
    Caching with Hibernate might make a difference, depending on how dynamic the validations are.
    and my reason for stating that it would have lots of selects is for the validation purpose and some inserts for updating the status.
    duffymo wrote:
    JPA and Hibernate will both require that you have an object model to map to your schema. Do you have that? If not, don't use either of those.
    I have an object model to map with and which is the reason why we are considering Hibernate/Jpa.OK, that's better.
    Either one will do, then. The advantage of JPA is that you don't have to commit to Hibernate, since TopLink and JDO will do as well. You can also use Glassfish or any other Java EE app server that supports EJB3 as well.
    How well do you know Hibernate and/or JPA? The other consideration is your level of skill. Choose the one you know best. Assess the risk if you're just learning and this is a critical project.
    Do you know that JDBC itself can't do the job?
    What other reasons do you have for going this way?
    %

  • Ibatis on NetWeaver

    Hi,
    I have a J2EE application on NetWeaver using JDBC. I move this application on Hibernate and everything works. Now, I want to change JDBC by Ibatis, an other persistence framework and I have some difficulties. Indeed, the load of the configuration file causes the shutdown of the repository, because of classLoader problem.
    My configuratuion file seems to be correct, like its call.
    The stacktrace :
    at com.sapportals.wcm.repository.runtime.CmSystem.shutDown(CmSystem.java:284)
         at com.sapportals.wcm.repository.runtime.CmSystem.classLoaderReplaced(CmSystem.java:464)
         at com.sapportals.wcm.crt.CrtClassLoaderRegistry.notifiyClassLoaderReplaced(CrtClassLoaderRegistry.java:492)
         at com.sapportals.wcm.crt.CrtClassLoaderRegistry.registerClassLoader(CrtClassLoaderRegistry.java:436)
         at com.sapportals.wcm.crt.CrtClassLoaderRegistry.addClassLoader(CrtClassLoaderRegistry.java:327)
         at com.sapportals.wcm.crt.CrtClassLoaderRegistry.addClassLoader(CrtClassLoaderRegistry.java:299)
    The addClassLoader is called by an other file, which I didn't call.
    Thanks in advance
    Best Regards
    Henot Julien

    Hi Iu
           There are some problems with tge drivers when you use it inside your develpments, if you using Sap Netweaver Development Kit i suggest you that make a Development Component, and add your jar file of the driver, and your class only will be open once and all yours developments can use this component .
    if the answer helps you, please regards
    Josue Cruz

  • Ibatis example

    Hi;
    I search a good design using Ibatis as persistence framework (I have already studied JPetStore-5.0 example).
    Regards;

    I search a good design using Ibatis as persistence
    framework (I have already studied JPetStore-5.0
    example). What is your question? You search for something and already saw an example?
    Please ask a specific question. And remember this is the JDBC forum.

  • Schema problem with ibatis

    Hi,
    I am using Ibatis and spring framework and connection pooling is done at the websphere end which refreshes the connection for every database connection that is being fetched. After the connection is being fetched. A set connection is called and the schema is set using the execute command for every connection being fetched. Now, there are various connection schemas being used which cannot be hard-coded into the code. Apart from this there are hundreds of xml files and using ${schema} for every sql statement is a big code change.
    The problem is that on every connection that is being fetched, the execute command is called to set the schema which leads to a considerable performance issue. Is there any way in which the schema can be set just once in the beginning for all the connections being fetched?
    Any help is highly commendable.
    Thanks

    I am using Ibatis and spring framework and connection pooling is done at the websphere end which refreshes the connection for every database connection that is being fetched. What do you mean refreshed? This sounds bad and if you mean reconnecting than this defeats the purpose of using a pool.
    After the connection is being fetched. A set connection is called and the schema is set using the execute command for every connection being fetched. What do you mean a "set connection" and "schema is set"? Are you saying you have a pool for each db schema? If so that's not so horrible I suppose. It certainly won't affect performance (given the number of connections/schemas is reasonable).
    Now, there are various connection schemas being used which cannot be hard-coded into the code. Apart from this there are hundreds of xml files and using ${schema} for every sql statement is a big code change.The code change might be worth it, but not sure what's wrong yet.
    The problem is that on every connection that is being fetched, the execute command is called to set the schema which leads to a considerable performance issue. Is there any way in which the schema can be set just once in the beginning for all the connections being fetched? How many schemas do you have? Even if you had a pool for every schema you should only be initializing connections once. I apologize if this wasn't much help. Please provide more info. How are the DataSources configured in WebSphere?

  • Crystal report 9 and framework 3.5

    Hi,
    I have a dot net application using framework 1.1 and crystal 9 ( stand alone version and not the version shipped with visual studio ). I converted this application to use framework 3.5 ( studio 2008 ) and I was able to call my old version 9 reports from the application on my machine( I have crystal 9 installed on my machine).
    My question is what do I need to do to install this application on a machine where crystal 9 is not  installed. My old installer which used to install the crystal dependencies doesn't work I get error Unable to open report : Could not load file or assembly CrystalDecisions.Windows.Forms, Version 10.5.3700.0.
    Can i create a new installer using a different crystal merge module? If yes where can I get that merge module which will help me deploy my application compiled in framework 3.5 but which needs to call reports created with crystal version 9.
    Thanks,
    Vik

    Ludek,
    I tried to include 'CRRedist2008_x86.msi in  the setup project but then it gives following errors :
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Directory' row='ProgramMenuFolder'
    Database: table='Directory' row='ProgramMenuFolder'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Directory' row='DesktopFolder'
    Database: table='Directory' row='DesktopFolder'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Property' row='ProductName'
    Database: table='Property' row='ProductName'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Property' row='ProductCode'
    Database: table='Property' row='ProductCode'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Property' row='SecureCustomProperties'
    Database: table='Property' row='SecureCustomProperties'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Property' row='ProductVersion'
    Database: table='Property' row='ProductVersion'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Property' row='Manufacturer'
    Database: table='Property' row='Manufacturer'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Property' row='DefaultUIFont'
    Database: table='Property' row='DefaultUIFont'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Property' row='UpgradeCode'
    Database: table='Property' row='UpgradeCode'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Control' row='ErrorDialog,Y'
    Database: table='Control' row='ErrorDialog,Y'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Control' row='ErrorDialog,A'
    Database: table='Control' row='ErrorDialog,A'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Control' row='ErrorDialog,C'
    Database: table='Control' row='ErrorDialog,C'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Control' row='ErrorDialog,ErrorText'
    Database: table='Control' row='ErrorDialog,ErrorText'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Control' row='ErrorDialog,I'
    Database: table='Control' row='ErrorDialog,I'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Control' row='ErrorDialog,N'
    Database: table='Control' row='ErrorDialog,N'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Control' row='ErrorDialog,O'
    Database: table='Control' row='ErrorDialog,O'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Control' row='ErrorDialog,R'
    Database: table='Control' row='ErrorDialog,R'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Dialog' row='Cancel'
    Database: table='Dialog' row='Cancel'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Dialog' row='DiskCost'
    Database: table='Dialog' row='DiskCost'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Dialog' row='ErrorDialog'
    Database: table='Dialog' row='ErrorDialog'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='Dialog' row='FilesInUse'
    Database: table='Dialog' row='FilesInUse'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='UIText' row='NewFolder'
    Database: table='UIText' row='NewFolder'
    WARNING: Error merging 'CRRedist2008_x86.msi': Unable to merge data from the merge module because it conflicts with existing data in the package.
    MergeModule: table='UIText' row='SelLocalLocal'
    Database: table='UIText' row='SelLocalLocal'
    ERROR: Unable to import merge module 'S:\TEMP\CrystalReports10_5\CRRedist2008_x86.msi'
    Any ideas,
    Thanks,
    Vik

Maybe you are looking for