Which mapping workbench to use?

Is the Toplink Mapping Workbench integrated with JDeveloper same as the standalone Toplink Mapping Workbench?
In the Mapping Workbench that comes integrated with JDeveloper 10.1.2, will I be able to specify AllFieldsLockingPolicy?
Is the Mapping Workbench 10.1.3 compatible with JDeveloper 10.1.2?
-Madhav

Hi Madhav,
The TopLink Mapping Editor in JDeveloper for versions 9.0.5 - 10.1.3 has equivalent functionality as the 9.0.4 Mapping Workbench. However, the 10.1.3 version of the Mapping Workbench does have additional features that have not yet been included in any released JDeveloper versions. One of these feature included in the Mapping Workbench is AllFieldsLockingPolicy configuration. In version 11 of JDeveloper, the functionality will be equivalent with the Mapping Workbench and better in some cases. In terms of compatibility, we have not yet implemented a migration tool to go between the Mapping Workbench and JDeveloper. Let me know if you need more information.
Thanks, John

Similar Messages

  • XSLT mapping - Which transformation engine is used in PI 7.0

    Hi,
    In my favorite xslt tool I can choose which transformation engine I want to use while executing the xsl.
    Which Transformation engine is used in PI 7.0 ?
    (Nice to test with the same as PI have....)
    Br, Martin

    Hi ,
    as per my knowledge PI 7.0 uses XALAN parcer to execute XSLT Mapping programs,its available in in PI server it slelf.
    Regards,
    Raj

  • XI 3.0 Which mapping to used when ? If choice is given to me...

    Hi
        Out of all mappings (Graphical message mapping ,Java Mapping,XSLT mapping,
         ABAP mapping).
         If choice is given which mapping i need to use? What are the conditions to
         go any specific mapping ?
         <u>Pls...expalin me all in detail</u>
    Adv thanx to all res...
    Regards
    Prasad

    Hi Prasad,
    There is no hard and fast rule for using the mapping techniques.
    <b>
    Graphical Mapping </b>is used for simple mapping cases. When, the logic for your mapping is simple and straight forward and it does not involve any complex logic.
    <b>
    Java and XSLT mapping</b> are used when graphical mapping cannot help you and you have multilevel hierarchy structure data.
    When the choice is between Java and XSLT, XSLT is simpler than java mapping and easier. But, it has its drawbacks. One among them being that you cannot use Java APIs and Classes in it. There might be cases in your mapping when you will have to perform something like a properties file look up or a DB lookup, such scenarios are not possible in XSLT and so, when you want to use some specific Java API's you will have to go for Java Mapping.
    Java Mapping uses 2 types of parsers. DOM and SAX. DOM is easier to use with lots of classes to help you create nodes and elements, but, DOM is very processor intensive.
    SAX parser is something that parses your XML one after the other, and so is not processor intensive. But, it is not exactly easy to develop either.
    To know more about each of them please go thru the following links. And if you ask me your which is better, it depends basically on the scenario you implementing and the complexity involved. Anyways please go thru the following links:
    Graphical mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/6d/aadd3e6ecb1f39e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    /people/bhanu.thirumala/blog/2006/02/02/graphical-message-mapping-150-text-preview
    http://www.sapgenie.com/netweaver/xi/mapping1.htm
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    XSLT mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
    http://www.w3.org/TR/xslt20/
    JAVA mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
    DOM parser API
    http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/package-frame.html
    ABAP mapping
    /people/r.eijpe/blog
    To know more about the value mapping tools for the SAP Exchange Infrastructure (XI), please go thru the following link:
    http://www.applicon.dk/fileadmin/filer/XI_Tools/ValueMappingTool.pdf
    To get an idea as to what value mapping is, please go thru the following links:
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/dfae3d47afd652e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    most of the links that I have provided also helps you get the step by step procedure of doing the same. And also involves the procedure to implement certain advanced features.
    And please go through this link which clearly explains the 3 types of mappings.
    /people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
    Regards,
    Pooja

  • ReadAllQuery using named EJBQL from Mapping Workbench

    Hi,
    how to use named EJBQL queries defined in Mapping Workbench in code.
    ReadObject queries can be done using:
    MyObject o = (MyObject)getUnitOfWork().executeQuery("findById", MyObject.class, id);
    But I need to a Collection back. So how do I have to do this???
    Andy

    If you want a collection back you must define the query as a ReadAllQuery in the Mapping Workbench.
    then your code will be,
    List objects = (List)getUnitOfWork().executeQuery("findById", MyObject.class, id);
    However you will probably use something other than id for the query, as the id will normally only return a single object.
    If you just want a colleciton back from the ReadObject then just create and add the object to the collection.

  • Which Mapping to use??

    Hi ALL,
      I have the following input to be reformated to the below specfied output format. Can I acheive this using Graphical mapping or Do I have to go for XSLT/Java mapping?? Which one will be better choice for this scenario??
    <u>Example Input:</u>
    Period 1 | Material A | Plant A | Volume 50
    Period 1 | Material B | Plant A | Volume 75
    Period 3 | Material A | Plant A | Volume 25
    Period 3 | Material C | Plant A | Volume 60
    Period 3 | Material C | Plant B | Volume 30
    <u>Example output:</u>
    Plant A | Material A |Volume 50 |  00 |Volume 25| 00 | 00 | …..
    Plant A | Material B |Volume 75 |  00 | 00 | 00 | 00 | …..
    Plant A | Material C |  00 |  00 |Volume 60| 00 | 00 | …..
    Plant B | Material C |  00 |  00 |Volume 30| 00 | 00 | …..
       XI has to accumulate all matching records by plant, material and period. And have to slot the quantities into 13 period buckets... and write one output record for each unique plant and material combination.
    Regards,
    Raks

    Hi,
    a) Please create a class with three fields and should implement interface Comparable than implement method equals
    b) compile it
    c) zip it or create jar file
    d) import it to repository now you will be able to use it in your mapping
    e) in user define function import this class (use the same packge in which it is)
    f) use hashMap (http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html)
    Regards,
    wojtek

  • Using SQL as query type from the mapping workbench

    Hi
    We are upgrading a project from toplink 2.x to 9.03. The old used the java builder syntax for the finders, this is not supported anymore in 9.03. Therefore we need to convert these finders to either EBQL or SQL.
    As our developers here mostly know standard SQL we'll like to use this. But in the toplink doc's we cant find any good examples how to use this. All the examples are also only with EBQL.
    The questions is mostly how do you define the bind parameters in the SQL query string in the workbench.
    select * from user where user.username = ?
    select * from user where user.username = ?1
    select * from user where user.username = #param1
    select * from user where user.username = #param1#
    select * from user where user.username = #1
    select * from user where user.username = #1#
    Any help?
    /Denver

    What do you mean by "The old used the java builder syntax for the finders, this is not supported anymore in 9.03"?
    TopLink still absolutely supports the Java builder syntax! In 9.03 we added Mapping Workbench support but just for EJBQL and SQL for that release -- you can still use the expression builder in code! In the upcoming 9.04 I've seen that you can use the builder syntax in the mapping workbench too!
    - Don

  • When to use which mapping in Scenario

    Hi,
           When to use
    1. ABAP MAPPING
    2. JAVA MAPPING
    3. XSLT MAPPING
    4. GRAPHICAL MAPPING
    When to use these mapping at what type of interfaces we should use them.
    Regards,
    Nissi

    Hi,
    Hope the following link gives you an idea of use case of different mapping techniques
    [Mapping Technique|http://wiki.sdn.sap.com/wiki/display/XI/Mapping+Techniques]
    [ABAP mapping implementation|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/a15a5f77-0c01-0010-cfa1-94ca75306537]
    [XSLT mapping implementation|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/0654b462-0c01-0010-4d9d-d2d5a7fee0d6]
    [Java mapping implementation|http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm]
    To give an example, Usually file content conversion feature of file communication channel does not support the content conversion of structures with deep hierarchy then in that case we can go for XSLT mapping as with graphical mapping we cannot create text file for structure with deep hierarchy.
    You get more understanding on the use case when you develop different scenarios there are too many to list.
    Hope this helps !!!
    Regards,
    Amit

  • How To Guide on ABAP mapping (How to Use ABAP-Mapping in XI 3.0).

    Hi,
    I am looking for this document: How To Guide on ABAP mapping (How to Use ABAP-Mapping in XI 3.0), and not able to find it.
    Can anybody please point me the location, to look for, or post the document.
    Thanks,
    Namadev

    Hi Namadev Chillal  ,
    These r the links containing PDF docs which u r looking for:
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Excellent PDF Document on Mapping
    http://help.sap.com/bp_bpmv130/Documentation/Operation/MappingXI30.pdf
    Mapping Development with the ABAP Workbench
    http://help.sap.com/saphelp_nw04/helpdata/en/10/5abb2d9df242f6a62e22e027a6c382/content.htm
    ABAP Mappings
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm

  • New problem  --  My java code can't see my CLASSES from Mapping Workbench

    Donald and others -
    I am VERY new to TopLink......
    I was at the last Oracle Developer Days in Northern Virginia. Donald convinced me and my co-workers to use TopLink for our upcoming project. I have been having tons of problems getting it to work correctly. Maybe I need a TOPLINK license plate, like Donald!!!
    Here is my newest problem. I can create a DatabaseSession, login to it, write a query and log out of it.
    However, I can only do this if I remove my classes from the Mapping Workbench. As soon as I add even one class to the Mapping Workbench......I get an error as follows:
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-3007] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.ConversionException
    EXCEPTION DESCRIPTION: The object [mil.usa.lbit.isr.TestIsr], of class [class java.lang.String], could not be converted to [class java.lang.Class]. Please ensure that the class [class java.lang.Class] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager
    INTERNAL EXCEPTION: java.lang.ClassNotFoundException: mil.usa.lbit.isr.TestIsr
    Can anyone tell me where I need to put my class files so the java code can see them via the ISR.xml deployment file.
    I currently have these files in a .jar file on the system path and in my web-inf folder and in my project settings. I put them everywhere I could think of, but no luck.
    Here is my code:
    package mil.usa.lbit.isr;
    import mil.usa.lbit.LbitColors;
    import java.util.*;
    import java.math.*;
    import oracle.toplink.sessions.*;
    import oracle.toplink.tools.schemaframework.*;
    import oracle.toplink.exceptions.*;
    import oracle.toplink.expressions.*;
    import oracle.toplink.queryframework.*;
    import oracle.toplink.tools.workbench.*;
    public class TestIsr extends ISR {
    public DatabaseSession session;
         public Project project;
    public TestIsr() {
    this.name = "TestISR";
    this.color = LbitColors.AMBER;
    this.metric = 97.00;
    public boolean isConnected() {
    if (session == null)
    System.out.println("Not Connected");
    return false;     
    System.out.println("Connected");
    return session.isConnected();
    public void loginToDatabase() {
    Project builderProject;
    System.out.println("Attempt to login to database using TopLink:");
    project = XMLProjectReader.read("C:\\LBIT TopLink\\ISR\\ISR.xml");
    session = project.createDatabaseSession();
    session.login();
    System.out.println("Logged in");
    public void runQuery() {
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression expression = builder.get("isr_id").equal(3);
    System.out.println(expression);          
    //TestIsr isr = (TestIsr) session.readObject(TestIsr.class, expression);
    //System.out.println(isr);     
    public void logoutOfDatabase() {
    session.logout();     
    System.out.println("Logged out");          
    public static void main(String[] args) {     
    TestIsr testing = new TestIsr();
    testing.isConnected();     
    testing.loginToDatabase();          
    testing.isConnected();
    testing.runQuery();
    testing.logoutOfDatabase();     
    Thanks in advance.
    Donald please email me and maybe we can chat on the phone if you want to offer some help.
    Andy

    Thanks for the reply!
    However, I did try to implement that yesterday.
    When I add the "getClass().getClassLoader()" to the "XMLProjectReader.read" call, the codes loses site of my project (.xml) file.
    Here is the new line:
    project = XMLProjectReader.read("C:\\LBIT TopLink\\ISR\\ISR.xml", getClass().getClassLoader());
    Here is the new error:
    EXCEPTION [TOPLINK-7099] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.ValidationException
    EXCEPTION DESCRIPTION: Could not find xml project file which is specified in properties file: xmlProjectFile=C:\LBIT TopLink\ISR\ISR.xml.
         oracle.toplink.exceptions.ValidationException oracle.toplink.exceptions.ValidationException.projectXMLNotFound(java.lang.String, java.lang.Exception)
         oracle.toplink.sessions.Project oracle.toplink.tools.workbench.XMLProjectReader.read(java.lang.String, java.lang.ClassLoader)
    But my code could find that file before I added the "getClass().getClassLoader()" code.
    Maybe I can avoid this problem by "deploying the XML file in my application jar?" Could you please explain more about this option after answering the first part of my question.
    Any other posters feel free to help me too.
    I know TopLink is a powerful tool, I just keep hitting these hurdles. ARRRRRRRGGGG!!!
    Thanks again,
    Andy

  • Mapping an object using values from multiple tables

    Is it possible to use values looked up in other tables when mapping an object?
    For example: I have three tables. In table 1, I have fields for 'cityCode' and 'stateCode'. Table 2 is a state table which contains a list of stateCodes and corresponding stateIds. Table 3 is a city table with cityCodes listed by stateId (the city code is unique within the stateId but can be duplicated under other stateIds). Table 3 also contains the cityName for the matching cityCode/stateId pair.
    I am ultimately trying to match a cityName to a cityCode. I can't figure out how to tell toplink use the stateId returned when mapping Table 1 to Table 2 via stateCode when mapping cityCode in Table 1 to Table 3.
    Any help is greatly appreciated
    --matt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    What does your object model look like, do you have a single object with data from all three tables in it?
    <p>
    In general because the cardinality of the tables and usage does not match, I would not recommend using multiple tables to map this. Instead define a CityNameManager class that preloads and stores all of the city names for each state, (possible lazy initializing each set of cities per state). Your getCityName() method in your class would then just use this manager.
    <p>
    You could map the multiple tables but it may be difficult, and would most likely need to be read-only because I don't think you want to insert into the table2 or 3. You basically have a foreign key table1.stateCode => table2.stateCode, (table1.cityCode, table2.stateId) => (table3.cityCode, table3.stateId). You probably cannot define this in the Mapping Workbench, so would need to use the ClassDescriptor code API and an amendment method. If you can't get the foreign keys to work you can always use the descriptor multipleTableJoinExpression and define the join directly.
    <p>
    You could also define a OneToOneMapping to the CityName from your object using the cityCode and using a selectionCriteria() on your mapping to provide an expression that uses the getTable() method to join to the intermediate table.
    <p>
    <p>---
    <p>James Sutherland

  • TopLink Mapping WorkBench - Interfaces

    Hi,
    I am using toplink workbench version 9.0.4.5 ,Oracle DB 10g(9.0.4),jdk version 1.4.2
    I get an issue with interfaces in mapping workbench. When I select refresh classes option, the implementors selected for the interfaces are not retained.
    Is this the expected behaviour ?
    Is there any patch for this problem ?
    I had applied patch number 3941343 for this mapping work bench. Is there any other pathces we should be applying to this version ?
    Thanks
    Priya

    I am using 10.1.3.0.1 and for me there are still grave issues with interface management in the WB.
    First of all, I get a NullPointerException when clicking the "add" Button on the interface descriptor's implementor list after having refreshed all classes by selecting the project packages and doing "refresh classes" from the context menu. I have to close and restart the WB in order to be able to continue working.
    Then, some attributes which are not common among the implementor classes are detected as common query keys.
    Lastly, if I use variable one-to-one relationships and de-select some class indicator values, the de-selected implementor descriptors are displayed as selected after workbench restart again, showing me errors about missing class indicator values for selected descriptors (Error 0055).

  • Mapping Workbench - HOWTO

    I'm very new to Top Link and currently trying to implement Top Link in one use case of our application, instead of the existing DB persistence mechanism. I'm having some difficulties with some of the mappings in the workbench. I'd appreciate it if someone gets some time to answer any of my questions.
    1. Currently there are some database columns with CHAR type and contains "Y" or "N" values and in the Java code from the resultset we map them to some Boolean attribute. Do you have any examples of how to do that in the mapping workbench?
    2. And also some of the database column has integer values ("0", "1") and in the Java code from the resultset we build an enumerated type object based on the value which is an attribute to another class. How do I achieve this kind of behavior in mapping workbench?
    Or do you think rather than trying to somehow implement this, we should rather clean up the domain classes or table structure a little bit, so we have better mapping capabilities? For example make the column Boolean and read it in the Java Boolean attribute. And for the enumerated type, create a separate enumerated type table and have the main table reference that table for enumerated type and map it that way.
    Thanks in advance.

    I'm very new to Top Link and currently trying to implement Top Link in one use case of our application, instead of the existing DB persistence mechanism. I'm having some difficulties with some of the mappings in the workbench. I'd appreciate it if someone gets some time to answer any of my questions.
    1. Currently there are some database columns with CHAR type and contains "Y" or "N" values and in the Java code from the resultset we map them to some Boolean attribute. Do you have any examples of how to do that in the mapping workbench?
    2. And also some of the database column has integer values ("0", "1") and in the Java code from the resultset we build an enumerated type object based on the value which is an attribute to another class. How do I achieve this kind of behavior in mapping workbench?
    Or do you think rather than trying to somehow implement this, we should rather clean up the domain classes or table structure a little bit, so we have better mapping capabilities? For example make the column Boolean and read it in the Java Boolean attribute. And for the enumerated type, create a separate enumerated type table and have the main table reference that table for enumerated type and map it that way.
    Thanks in advance.

  • Which tool i should use to develope a portal

    Hi all,
      we are planning to develop a portal which we will expose to internet.
    Now my question is which tool i should use to develope this
       1.BSP
       2. jspdynpage
       3.Webdynpro java
       4.Webdynpro abap
    Which application will perform better on internet.
    Lots of rfc calls and webservice calls are there.
    plz give me suggestions .
    Thanks
    developer

    Hi,
    BSP - Abap workbench
    JSP Dynpages - NWDS (Netweaver Dev Studio)
    Webdynpro Java - NWDS
    Webdynpro ABAP - ABAP Workbench
    above all applications will perform at same level  depend on the content.
    best regards
    Hari

  • How to know which map is failed in a process flow if we have more than 2

    Hi All,
    I Created ProcessFlows and by using email notification, I can send SUCCESS / ERROR / WARNING notification.
    In process flows I have 3 maps.
    When there is any error or warnings in any of the map execution, I am getting only message which I put in my email subject body, but I am not getting exactly which map got error or warnings.
    Is there any way to send the execution details of the map through mail notification.
    Or Please suggest me any configurations.
    Regards,
    Kumar

    Hi Frnd,
    All these i want to do throug mail notification.
    I am not clear about what you said.
    Can you please explain me clearly, because I am new and that too this is my 1st project in OWB.
    My Process flow is as follows
    Start -->Fork -->from fork to map1 and map2
    from map1 and map2 to And Activity.
    From And Activity to Email Success.
    From Email success to End Success.
    In the same way for Warning:
    from map1 and map2 to Or Activity.
    From And Activity to Email Warning.
    From Email success to End Warning.
    In the same way for Error:
    from map1 and map2 to another Or Activity.
    From And Activity to Email Error.
    From Email success to End Error.
    From Above, I am getting message success and warning and error.
    What is the best way to show to the user, that all the mapping execution details, if so how to show execution details.
    OR
    to send only error and warinig messages .
    All these i want to do throug mail notification.
    Kindly reply to this.

  • Problem in running mapping in OWB using an expert

    Hi All,
    My requirement is to run the mapping in OWB using an expert.I created an expert using OWB and associated the mapping with the expert using Add/Remove expert option.I validated and generated the expert.But when i run the expert through start option in design center then my target table in the mapping does not get loaded.This shows that i am unable to associate my expert with mapping.
    In expert editor, i linked start_task with custom_dialog_task which is again linked with the end_task.It seems i am missing some steps.Please let me know what all steps need to be followed in expert editor interface to run the mapping.Response is awaited.
    Thanks in advance....

    Hi,
    Thanks ggainey and stevejluke for your suggestions.And Sorry for my faults.I am sending the corrected code.Also I am new to this java fields and forums.So please consider that also
    Code:
    import java.io.*;
    import java.lang.*;
    public class AddToVersionControl
    public static void main(String[] args)
    Process pro =null;
    String result="";
    Runtime rt = Runtime.getRuntime();
    try{
    String cmnd ="sh version.sh";
    System.out.println("the command is"+cmnd);
    pro=rt.exec(cmnd);
    String results = null;
    OutputStream os=pro.getOutputStream();
    InputStream is = pro.getInputStream();
    StringBuffer bfstr = new StringBuffer();
    int ch=0;
    while ((ch=is.read()) != -1)
    bfstr.append((char)ch);
    results = new String(bfstr.toString());
    is.close();
    System.out.println(results);
    catch(Exception e)
    e.printStackTrace();
    }

Maybe you are looking for

  • Crystal Reports Viewer Control  - Visual Studio 2008 WEB Application

    My question is this:  Has ANYONE on this planet been able to get the ASP .NET CR Viewer control to actually work? Why does this editor NOT recognize End-of-line or CR characters or any whitespace?? I have developed a Crystal Reports "Viewer" web appl

  • Trace File / EJB / dbms_java.grant_permission

    I am trying to deploy a simple Hello World EJB onto Oracle 8.1.7 using Jdeveloper 3.2. I get the following error when deploying : Loading EJB Jar file and Comm Stubs Jar file... error: loadJava has failed to load some classes; Please check trace file

  • IOS 5.0.1 will not sync over WiFi with iTunes....

    Is there anyone else with this same issue? I've only found one other thread on this in Support so far. If that's the case then I'm thinking maybe I have a system issue rather than iTunes or iOS. Basically all my devices (4 total, 2 iPhone 4's, 1 iPad

  • Addon in Client is not connecting to SQL Server 2005

    Hi, we have an add-on, which is working in SBO 2005 with SQL Server 2000. When the addon tries to connect to the same DB, restored on a SQL Server 2005, the addon is hanging up on the oCompany.Connect method. But this only happens when we try a remot

  • KVM suggestions

    I am looking to get a KVM for use with a number of servers including a number of Macs and I want this to be a rackmountable solution. In the past I have used a Belkin Omniview Pro which had support for USB and VGA and this worked fine. However with V