Relational Mapping Solution

Hi,
Hopefully someone can answer this question in about 20 seconds and save me wasting days. I have a website and wish to set up some servlets which will access a database on the web server. However, i'd rather not use JDBC, but would prefer a relational mapping solution.
I have previously done this with EJB's (using middlegen to quickly generate all the EJB classes without any work from me!!) but i only have a cheap package with my web host so running an Application Container is out of the question. I am unfamiliar with other relational mapping products such as hibernate, JDO etc. but if someone could simply tell me if there is a solution out there that i can use without needing to have an Application Container i'd be most grateful,
Cheers,
Dave

I cannot speak to JDO, but we do use Hibernate at my work. A few words of caution. Only use an O/R mapper for new or relatively new data models (or the rare case of a legacy data model that was properly designed and has not subsequently become bloated). Connecting an O/R mapper to a legacy database can (and has been) a nightmare.
You also have to consider the up-front cost of learning the technology. Though we may be there in 5-10 years, you cannot simply take these tools 'out of the box' and expect them to work. Just like SQL, there is a learning curve. And if you are in a multi-developer environment, many of them will already know SQL, further increasing the 'cost' of making this switch.
However, for new projects and well designed data models, I think these O/R mappers are just starting to come of age (though much work still needs to be done). A world of improvement over EJB CMP, but I think any good developer will be able to churn out more efficient SQL than the mapper. Where these tools do shine is in features that are cumbersome to implement globally, such as snapshoting updates and lazy loading.
If you want to go the HIbernate route and do not want a fully-featued container, the Spring Framework is gaining popularity and has excellent integration out of the box with Hibernate (though you still need to set-up the mappings yourself). Though, as above, beware of 'technology soup'. Too much gives indigestion.
- Saish

Similar Messages

  • Need help in Object-Relational Mapping

    I'm writing a simple two-tiered business application with Swing application on the client side and a DBMS on the server side. To make my client code more maintainable, I decided to create Business Objects instead of having my client accessing the database directly via SQL. For simplicity, I'm not using any features from the J2EE framework, and the Business Objects will be hosted on the client side, with one-to-one mapping to tables in the database. Since this is my first attempt in Object-Relational Mapping, I'm faced with the following problems:
    1. What kind of methods are appropriate for business objects? For example, if I have a Machine and Employee entity. A Machine is owned by an employee, and this is represented in the DB by storing the employee ID (not the name) as a foreign key in the Machine table. Let's say in the user interface I have a table that needs to display the list of Machines, but instead of displaying the owner employee's ID, I want to display the owner employee's name by doing a join select. Should the findMachines() method always perform a join select to get owner's name and store it in the Machine object which is returned, or should findMachines() simply return the owner's ID so the UI will need to make another SQL call (through the Employee object) to get the employee's name? The latter is more elegant, but would it be horribly inefficient if there are lots of machines to be displayed (and for each machine we make a separate select call to get the owner's name).

    Business objects should be separate from how they're persisted.
    When you say object-relational mapping, do you mean a tool like Hibernate? Or are you writing your own persistence layer using JDBC and SQL?
    I'd recommend that you read about the Data Access Object pattern and keep the persistence code out of the business objects themselves:
    http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
    url=http://www-106.ibm.com/developerworks/java/library/j-dao/

  • Object services for Object relational Mapping

    Hello everyone,
    The Object Services of ABAP Objects can create the corresponding Object Model from existing database tables. Is it either capable to carry out an Object relational mapping, just like Hibernate does forJava.
    Thanks a lot.

    ?

  • Need clarification - Object Relational Mapping

    Folks
    I have searched internet , but I could find a simple answer .
    I am preparing for my Interview. I just want to reply for this question in a very simple answer
    if the employer asked me what is Object Relational Mapping and Explain Cascade and the possible values .
    The above question in the context of " Hibernate " .
    I am not sure if this is the correct forum category I am asking , please guide me .
    Thanks
    Matt

    The best simple answer is to say "I have no idea about those terms but I am eager to learn".
    There is no simple answer that will give the impression you know about such stuff when you
    don't, that will not expose you immediately to great embarrassment if they pose the simplest
    followup question.

  • ANN: Eclipse EJB 3.0 Object-Relational Mapping Project Requirements posted

    A document that presents an intitial feature and use case list for the early milestones of the Eclipse EJB 3.0 Object/Relational Mapping project has been posted to the project newsgroup (news://news.eclipse.org/eclipse.technology.ejb-orm). It also demonstrates a set of user interface components for editing EJB 3.0 Entities. The document covers the basics and is designed to illustrate the concept. It is in no way comprehensive. For example, it doesn't thoroughly cover the editing of ORM xml descriptors although this is an important requirement for the project. ORM xml support will be detailed in coming revisions, and slated for future milestones.
    The purpose of this document is to invite comment on the approach. If you are interested in EJB 3.0 Entity support in Eclipse please give the doc a look over and post your feedback to the EJB 3.0 Object-Relational Mapping Project newsgroup.
    Newsgroup: news://news.eclipse.org/eclipse.technology.ejb-orm
    Simple Web Interface http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.ejb-orm
    --Shaun Smith
    Project Overview:
    The goal of this project is to add comprehensive support to the Eclipse Project for the definition and editing of Object-Relational (O/R) mappings for EJB 3.0 Entity Beans. EJB 3.0 O/R mapping support will focus on minimizing the complexity of mapping by providing creation and automated initial mapping wizards, and programming assistance such as dynamic problem identification. The implementation will be extensible so third party vendors can add to its functionality.
    Project Proposal:
    http://www.eclipse.org/proposals/eclipse-ejb30-orm/index.html

    A document that presents an intitial feature and use case list for the early milestones of the Eclipse EJB 3.0 Object/Relational Mapping project has been posted to the project newsgroup (news://news.eclipse.org/eclipse.technology.ejb-orm). It also demonstrates a set of user interface components for editing EJB 3.0 Entities. The document covers the basics and is designed to illustrate the concept. It is in no way comprehensive. For example, it doesn't thoroughly cover the editing of ORM xml descriptors although this is an important requirement for the project. ORM xml support will be detailed in coming revisions, and slated for future milestones.
    The purpose of this document is to invite comment on the approach. If you are interested in EJB 3.0 Entity support in Eclipse please give the doc a look over and post your feedback to the EJB 3.0 Object-Relational Mapping Project newsgroup.
    Newsgroup: news://news.eclipse.org/eclipse.technology.ejb-orm
    Simple Web Interface http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.ejb-orm
    --Shaun Smith
    Project Overview:
    The goal of this project is to add comprehensive support to the Eclipse Project for the definition and editing of Object-Relational (O/R) mappings for EJB 3.0 Entity Beans. EJB 3.0 O/R mapping support will focus on minimizing the complexity of mapping by providing creation and automated initial mapping wizards, and programming assistance such as dynamic problem identification. The implementation will be extensible so third party vendors can add to its functionality.
    Project Proposal:
    http://www.eclipse.org/proposals/eclipse-ejb30-orm/index.html

  • Eclipse Relational Mapping + wrong name exception

    Dears,
    I wanna ask three questions:
    - I understand that TopLink will be replaced by EclipseLink. EclipseLink will have JPA + Relational Mapping? or the Relational Mapping is there only for backward compatiblity and all new products should use EclipseLink JPA?
    - Is there any EclipseLink discussion forum?
    - I am using EclipseLink + EJB 3.0, I am getting the following Exception:
    [EL Finest]: 2009.03.08 14:07:18.453--ServerSession(27076478)--Thread(Thread[OC4J Launcher,5,main])--java.lang.ArrayIndexOutOfBoundsException: 27233
         at org.eclipse.persistence.internal.libraries.asm.ClassReader.readClass(ClassReader.java:943)
         at org.eclipse.persistence.internal.libraries.asm.ClassReader.accept(ClassReader.java:259)
         at org.eclipse.persistence.internal.weaving.PersistenceWeaver.transform(PersistenceWeaver.java:85)
         at com.evermind.server.ejb.persistence.PersistenceUnitInfoImpl$ClassPreprocessorWrapper.processClass(PersistenceUnitInfoImpl.java:392)
         at oracle.classloader.util.ClassPreprocessorSequence.processClass(ClassPreprocessorSequence.java:116)
         at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2222)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
         at java.lang.Class.getMethod0(Class.java:2611)
         at java.lang.Class.getMethod(Class.java:1579)
         at com.evermind.server.ejb.LifecycleManager.buildLifecycleMethod(LifecycleManager.java:353)
         at com.evermind.server.ejb.LifecycleManager.initialize(LifecycleManager.java:319)
         at com.evermind.server.ejb.deployment.BeanDescriptor.initialize(BeanDescriptor.java:293)
         at com.evermind.server.ejb.deployment.ExposableBeanDescriptor.initialize(ExposableBeanDescriptor.java:173)
         at com.evermind.server.ejb.deployment.SessionBeanDescriptor.initialize(SessionBeanDescriptor.java:225)
         at com.evermind.server.ejb.deployment.EJBPackage.initialize(EJBPackage.java:995)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:852)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
         at com.evermind.server.Application.setConfig(Application.java:438)
         at com.evermind.server.Application.setConfig(Application.java:339)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1651)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1034)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    09/03/08 14:07:18 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: com.its.tabs.ptf.ugm.dal.group.GroupEntity (wrong name: org.eclipse.persistence.internal.libraries.asm.attrs.LocalVariableTypeTableAttribute)
         Dependent class: com.its.tabs.ptf.ugm.dal.group.GroupEntity
         Loader: current-workspace-app.root:0.0.0
         Code-Source: /D:/dev/TopLink11g-JPA/Platform/classes/
         Configuration: <ejb> in unknown
    The missing class is not available from any code-source or loader in the system.
    For sure I am not using any Arrays in my Entity.
    Thanks
    Edited by: Javatizer on Mar 8, 2009 5:11 AM

    Javatizer wrote:
    - I understand that TopLink will be replaced by EclipseLink. EclipseLink will have JPA + Relational Mapping? or the Relational Mapping is there only for backward compatibility and all new products should use EclipseLink JPA?We have transitioned our development to open source with EclipseLink offering JPA as well as continued support for our native relational mappings. The TopLink product continues to exist as Oracle commercial offering including EclipseLink. Those wanting professional support for their use of EclipseLink can get it through licensing of Oracle TopLink. In addition to the inclusion of EclipseLink our TopLink product also includes the original packaging of TopLink for backwards compatibility (including utilities) and TopLink Grid (Coherence integration).
    Customers using TopLink's native relational mappings can upgrade to using EclipseLink's packages (using the package renamer) and continue to leverage the same functionality they are used to. As we add new features we endeavor to make them easily usable through the JPA interface but the native usage is always available.
    Javatizer wrote:
    - Is there any EclipseLink discussion forum?
    There is a newsgroup and mailing lists hosted at eclipse.org - http://www.eclipse.org/eclipselink/community.php
    Javatizer wrote:
    - I am using EclipseLink + EJB 3.0, I am getting the following Exception:
    I would recommend filing a bug for this issue. I'll ask some others to take a look as well to see if they have seen this.
    Doug

  • NetWeaver Object/Relational Mapping tool

    I've read the nice article <i>Using Hibernate on SAP WAS</i> by Peter Mayringer:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2ae0614a-0601-0010-a491-a9a635f06613
    Just a curiosity: Is there a SAP's proprietary NetWeaver Object/Relational Mapping tool, similar to the Hibernate open source project?
    Davide

    Hi Davide,
    SAP doesn't have proprietary O/R tool but it supports JDO 1.0 standard and Entity Beans as part of J2EE 1.3.
    Regards,
    Avi

  • Which object-relational mapping tool is the best for Oracle Coherence?

    Which object-relational mapping tool is the best for Oracle Coherence?
    My application is read-and-write-intensive. Which tool is most suitable for this application?
    TopLink essentials, TopLink, Eclipse or Hibernate?
    Thank you

    I would pick Hibernate mainly because of its popularity and wide knowledge base.
    Coherence has provided some documentation for the integration.
    http://download.oracle.com/docs/cd/E14526_01/coh.350/e14537/usehibernateascoh.htm#CEGFEFJH
    If you have the schema in database, myEclipse can provide you hibernate bindings by reverse engineering.

  • Enhydra  DODS - Open Source Object/Relational Mapping Tool from Enhydra

    Hi all,
    I just want to inform you that the final version 5.1 of DODS is released.
    Data Object Design Studio is an open source Object/Relational mapping tool.
    Based on XML data model descriptions (DOML files) SQL DDL, sophisticated Java O/R code and documentation (HTML, pdf, XMI) is generated automatically using a generator GUI, by Ant tasks or from within your IDE of choice (using Kelp).
    The generated Java code provides a lot of possibilities for runtime optimization (DO LRU caching, Query LRU caching, cache initialization, lazyloading,...).
    DODS can be used with or without the Enhydra application server.
    DODS Development Team
    Home page http://dods.enhydra.org
    Objectweb project http://forge.objectweb.org/projects/dods
    Download page http://forge.objectweb.org/project/showfiles.php?group_id=61

    Hi Davide,
    SAP doesn't have proprietary O/R tool but it supports JDO 1.0 standard and Entity Beans as part of J2EE 1.3.
    Regards,
    Avi

  • Re: MAPI solutions

    Hi Michael,
    Here is the suloution from one of my collegues:
    Rgs
    Arpad
    Lufthansa Sysytems
    The solution is very simple using an integration MAPI with Fort&eacute;, the
    simplest way is to write a full library of all MAPI 32-bit fucntions, it is
    a round 12 functions or more, not all of them you will use, only 3 or more.
    It depends on the situation, my library is fully working under Win95/WinNT4,
    it is a simple C wrapping code and performance is good also!
    See attachments of my library file and test Fort&eacute; pex files:
    - MapiLib.pex ---> MAPI Fort&eacute;'s Library pex file.
    - MapiSO.pex ---> MAPI Fort&eacute;'s Service Object project file for testing
    library!
    - MapiLib.pex ---> MAPI Fort&eacute;'s Test Window project example using MAPISO
    project.
    - MAPIMail.dll ----> Dll file used for integration!
    - MAPI email specification.doc --> MS-WORD97 file for description how to
    make the whole integration!
    Bye
    Mohi
    Michael Strauss wrote:
    I am having problems with MAPI working with Forte. I suspect that it is
    not
    a Forte related issue but a configuration one.
    A MAPI aware Forte app was written which sends mail. I can get it towork
    successfully on one machine, machine A but not on another, machine B.
    Machine B is a fresh install of Win 95B, with msmapi32.ocx andmsmapi32.dep
    sitting in \windows\system directory. I have also run regsvr32 toregister
    the ocx. My Forte app fails on the CreateUsingProgID, see below
    MAPIXSession:MAPISession=new;
    MAPIXMessage:MAPIMessages=new;
    MAPIXSession.CreateUsingProgId('MSMAPI.MAPISession'); <--- FAILS
    HERE
    MAPIXMessage.CreateUsingProgId('MSMAPI.MAPIMessages');
    Same code runs fine on machine A. Machine A also has VB and Visual C++
    installed and MAPI sdk. Both machines run Forte development environment.
    If I import machine A's registry into machine B and then import machineB's
    original registry on top of that, machine B suddenly works properly withmy
    code.
    It seems to be a registry related problem.
    Has anyone experienced something similar? Does anyone know what steps I
    have to take to make a clean Win95 machine MAPI aware/compliant.
    Thanks in advance
    Michael Strauss
    Mazda Australia takes every precaution to ensure email messages are virusfree. For complete protection, you should virus test this message.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>------------------------------------------------------------------------
    Name: Mapilib.pex
    Mapilib.pex Type: unspecified type (application/octet-stream)
    Encoding: quoted-printable
    Name: Mapiso.pex
    Mapiso.pex Type: unspecified type (application/octet-stream)
    Encoding: quoted-printable
    Name: Mapiwin.pex
    Mapiwin.pex Type: unspecified type (application/octet-stream)
    Encoding: 7bit
    Name: mapimail.dll
    mapimail.dll Type: VSCLEAN File (application/x-msdownload)
    Encoding: base64
    Name: MAPI email specification.doc
    MAPI email specification.doc Type: VSCLEAN File (application/msword)
    Encoding: base64-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    At 09:27 AM 8/14/97 -0500, Collom, David wrote:
    Also, we're beginning to write a developers style guide for application
    developers using
    Forte for our project. Does anyone know of any existing similar
    documents? Suggestions
    for the document are welcome (particularly relating to naming
    conventions).In this regard I would be interested in comments about using the
    prevailing, if somewhat loose, standard Forte naming versus the use of
    Hungarian notation, which is the standard I have been working on.
    =========================================================================
    Thomas Mercer Hursh, Ph.D email: [email protected]
    Computing Integrity, Inc. sales: 510-233-9329
    550 Casey Drive - Cypress Point support: 510-233-9327
    Point Richmond, CA 94801-3751 fax: 510-233-6950

  • Logical to Relational mapping

    Is it possible to define mapping between Logical and Relational objects (Entity->Table, Attribute->Column) manually?

    no, it's not possible.
    Philip

  • Object Relational Mapping - How to? - With SQLJ? - What brings the future?

    Hi there,
    we are developing applications for masterdata
    maintainance and masks with fast user interaction using a two-tier architektur and a layered java application on the client.
    Currently we are using TOPLink for the ORM stuff.
    As we need a simple and efficient way to encapsulate gui stuff from database interaction i am interessted in SQLJ for the descripted purpose.
    These are my questions:
    1. Can I use SQLJ with a Oracle database lower than 8i
    2. Is there a runtime fee for SQLJ?
    3. How does SQLJ relate to the app server
    hpye?
    4. Where can I get SQLJ?
    5. Do I need JDeveloper in combination with SQLJ or can I use any other IDE?
    Thanks for your input.
    Regards,
    Wolfgang Rothmayer.

    SQLJ is actually orthogonal to use of ORM. It is an embedded language API for (static) SQL database access in contrast to JDBC.
    If you are using SQL Object types (Oracle 8i and later) then there is the JPublisher tool to map these into Java classes.
    Oracle also provides the BC4J (Business Components for Java) product for object-relational access. This is used mostly in conjunction with JDeveloper.
    So from an ORM perspective you would not be asking for SQLJ.
    To the SQLJ-specific questions:
    1. Yes. SQLJ relies on Oracle JDBC for database access. Oracle 7.2 and later can be accessed.
    2. No.
    3. SQLJ can be used in any tier - just like JDBC can.
    4. In the OTN download area. It is also part of all Oracle database releases since 8.1.5.
    5. SQLJ comes with a command line interface (similar to Javac). It is also directly supported in the Oracle server-side JavaVM, which has an integrated Java compiler and SQLJ translator.
    IBM VisualAge for Java has added support for SQLJ. For other IDEs you would be on your own, though I have heard that JBuilder users have been able to integrate SQLJ in their IDE (if somebody sends us a recipe for using SQLJ in their favorite IDE, we'll be happy to include that in future distributions). SQLJ could be integrated either through the commandline, or -for tighter support- through its IDE interface package in sqlj.framework.ide.

  • Relational mapping help

    I have FF source schema which I need to map to relational table schema like structure,so that I can save it in DB. Also I  need to generate guid's at run time in map to maintain primary and foreign key relations between the records.
    And also I need to split /Record300 (source )data into 2 tables (destination) as /Record300/Reads is unbounded. Basically it is sequential XML with same node name to hierarchical XML
    How do I achieve it in map ?
    Source XML
    <ns0:Root xmlns:ns0="http://FFDyn.Schema.FFDyn">
      <Record100>
        <Header>
          <Rec100Val1>Rec100Val1_0</Rec100Val1>
          <Rec100Val2>Rec100Val2_0</Rec100Val2>
          <Rec100Val3>Rec100Val3_0</Rec100Val3>
          <Rec100Val4>Rec100Val4_0</Rec100Val4>
        </Header>
      </Record100>
      <Record200>
        <Header>
          <Rec200Val1>Rec200Val1_0</Rec200Val1>
          <Rec200Val2>Rec200Val2_0</Rec200Val2>
          <Rec200Val3>Rec200Val3_0</Rec200Val3>
          <Rec200Val4>Rec200Val4_0</Rec200Val4>
        </Header>
      </Record200>
      <Record300 xmlns="">
        <Rec300Val1>Rec300Val1_0</Rec300Val1>
        <Rec300Val2>Rec300Val2_0</Rec300Val2>
        <Reads>48.600</Reads>
        <Reads>78.300</Reads>
        <Reads>62.550</Reads>
        <Reads>46.950</Reads>
        <Reads>37.500</Reads>
        <Reads>43.800</Reads>
        <Reads>38.250</Reads>
        <Reads>42.450</Reads>
        <Reads>39.000</Reads>
        <Reads>43.800</Reads>
        <Reads>37.950</Reads>
        <Reads>42.450</Reads>
        <Reads>38.400</Reads>
        <Reads>43.350</Reads>
        <Reads>37.200</Reads>
        <Reads>42.750</Reads>
        <Reads>38.850</Reads>
      </Record300>
      <Record400>
        <Header>
          <Rec400Val1>Rec400Val1_0</Rec400Val1>
          <Rec400Val2>Rec400Val2_0</Rec400Val2>
          <Rec400Val3>Rec400Val3_0</Rec400Val3>
          <Rec400Val4>Rec400Val4_0</Rec400Val4>
        </Header>
      </Record400>
      <Record500>
        <Header>
          <Rec500Val1>Rec500Val1_0</Rec500Val1>
          <Rec500Val2>Rec500Val2_0</Rec500Val2>
          <Rec500Val3>Rec500Val3_0</Rec500Val3>
          <Rec500Val4>Rec500Val4_0</Rec500Val4>
        </Header>
      </Record500>
    </ns0:Root>
    Output XML
    <ns0:Root xmlns:ns0="http://Test.Schema3">
      <Table1>
        <Data>
          <Table1_PK>c0c6c642-8957-495f-a1da-5dab5b594962</Table1_PK>
          <T1Val1>Rec100Val1_0</T1Val1>
          <T1Val2>Rec100Val2_0</T1Val2>
          <T1Val3>Rec100Val3_0</T1Val3>
          <T1Val4>Rec100Val4_0</T1Val4>
        </Data>
        <Table2>
          <Data>
            <Table1_FK>c0c6c642-8957-495f-a1da-5dab5b594962</Table1_FK>
            <Table2_PK>01c0834e-801b-4154-b23e-752b03d873fc</Table2_PK>
            <T2Val1>Rec200Val1_0</T2Val1>
            <T2Val2>Rec200Val2_0</T2Val2>
            <T2Val3>Rec200Val3_0</T2Val3>
            <T2Val4>Rec200Val4_0</T2Val4>
          </Data>
          <Table3>
            <Table2_FK>01c0834e-801b-4154-b23e-752b03d873fc</Table2_FK>
            <Table3_PK>a64098d1-5f86-4a16-a5fb-add281e62cef</Table3_PK>
            <T3Val1>Rec300Val1_0</T3Val1>
            <T3Val2>Rec300Val2_0</T3Val2>
            <Table3Child>
              <Table3_FK>a64098d1-5f86-4a16-a5fb-add281e62cef</Table3_FK>
              <Reads>
                <Read>48.600</Read>
              </Reads>
              <Reads>
                <Read>78.300</Read>
              </Reads>
              <Reads>
                <Read>62.550</Read>
              </Reads>
              <Reads>
                <Read>46.950</Read>
              </Reads>
              <Reads>
                <Read>37.500</Read>
              </Reads>
              <Reads>
                <Read>43.800</Read>
              </Reads>
              <Reads>
                <Read>38.250</Read>
              </Reads>
                <Reads>
                  <Read>42.450</Read>
                </Reads>
                <Reads>
                  <Read>39.000</Read>
                </Reads>
                <Reads>
                  <Read>43.800</Read>
                </Reads>
                <Reads>
                  <Read>37.950</Read>
              </Reads>
            </Table3Child>
            <Table4>
              <Data>
                <Table3_FK>a64098d1-5f86-4a16-a5fb-add281e62cef</Table3_FK>
                <T4Val1>Rec400Val1_0</T4Val1>
                <T4Val2>Rec400Val2_0</T4Val2>
                <T4Val3>Rec400Val3_0</T4Val3>
                <T4Val4>Rec400Val4_0</T4Val4>
              </Data>
            </Table4>
            <Table5>
              <Data>
                <Table3_FK>a64098d1-5f86-4a16-a5fb-add281e62cef</Table3_FK>
                <T5Val1>Rec500Val1_0</T5Val1>
                <T5Val2>Rec500Val2_0</T5Val2>
                <T5Val3>Rec500Val3_0</T5Val3>
                <T5Val4>Rec500Val4_0</T5Val4>
              </Data>
            </Table5>
          </Table3>
        </Table2>
      </Table1>
    </ns0:Root>

    I have finished the XSLT after I received the Schemas. The Input Schema had root node "Source" and Destination Schema had root node "Destination", so in the XSLT I have used "Source" as node reference and Destination as start node in the XSL code.
    Here is the Map1.xsl
    <?xml version="1.0" encoding="UTF-16"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:var="http://schemas.microsoft.com/BizTalk/2003/var" exclude-result-prefixes="msxsl var s0 userCSharp" version="1.0" xmlns:s0="http://FFDyn.Schema.FFDyn" xmlns:ns0="http://Test.Schema3" xmlns:userCSharp="http://schemas.microsoft.com/BizTalk/2003/userCSharp">
    <xsl:output omit-xml-declaration="yes" method="xml" version="1.0" />
    <xsl:template match="/">
    <xsl:apply-templates select="/s0:Source" />
    </xsl:template>
    <xsl:template match="/s0:Source">
    <ns0:Destination>
    <xsl:variable name="var:Table1" select="userCSharp:MyConcat()" />
    <xsl:variable name="var:Table2" select="userCSharp:MyConcat()" />
    <xsl:variable name="var:Table3" select="userCSharp:MyConcat()" />
    <Table1>
    <Data>
    <Table1_PK>
    <xsl:value-of select="$var:Table1" />
    </Table1_PK>
    <T1Val1>
    <xsl:value-of select="Record100/Header/Rec100Val1/text()" />
    </T1Val1>
    </Data>
    </Table1>
    <Table2>
    <Data>
    <Table1_FK>
    <xsl:value-of select="$var:Table1" />
    </Table1_FK>
    <Table2_PK>
    <xsl:value-of select="$var:Table2" />
    </Table2_PK>
    <T2Val1>
    <xsl:value-of select="Record200/Header/Rec200Val1/text()" />
    </T2Val1>
    </Data>
    <Table3>
    <Table2_FK>
    <xsl:value-of select="$var:Table2" />
    </Table2_FK>
    <Table3_PK>
    <xsl:value-of select="$var:Table3" />
    </Table3_PK>
    <T3Val1>
    <xsl:value-of select="Record300/Rec300Val1/text()" />
    </T3Val1>
    <Table3Child>
    <Table3_FK>
    <xsl:value-of select="$var:Table3" />
    </Table3_FK>
    <xsl:for-each select="Record300/Reads">
    <Reads>
    <Read> <xsl:value-of select="text()" /> </Read>
    </Reads>
    </xsl:for-each>
    </Table3Child>
    <Table4>
    <Data>
    <Table3_FK><xsl:value-of select="$var:Table3" />
    </Table3_FK>
    <T4Val1><xsl:value-of select="Record400/Header/Rec400Val1/text()" /></T4Val1>
    </Data>
    </Table4>
    <Table5><Data>
    <Table3_FK><xsl:value-of select="$var:Table3" /></Table3_FK>
    <T5Val1><xsl:value-of select="Record500/Header/Rec500Val1/text()" /></T5Val1>
    </Data>
    </Table5>
    </Table3>
    </Table2>
    </ns0:Destination>
    </xsl:template>
    <msxsl:script language="C#" implements-prefix="userCSharp"><![CDATA[
    public string MyConcat()
    return System.Guid.NewGuid().ToString();
    ]]></msxsl:script>
    </xsl:stylesheet>
    Regards, NISHIL.
    MCT,MCTS BizTalk Server,MS BI.
    My BizTalk Blog:BizTalk Connect.
    Email:[email protected]

  • O2C in CRM related with Solution Manager

    Hi,
    I'm planning to start order to cash End to End process in Solution Manager 7.1
    Anyone help me to explain the structure of order to cash process in CRM which was included in Solution Manager 7.1 also related service desk and support operations available in SOLMAN.
    And also share the guides, SAP Notes and test cases.
    Looking all of your response.
    Regards,
    Vasanth S

    Hi Vikram,
    Thanks and the actual doubt I'm asking the O2C features available in CRM which have included in Solution manager 7.1
    All of us aware that, now CRM was included in Solution Manager 7.1.
    i want the details about Order to Cash process in CRM. this will cover end to end O2C process(From Order generation, order fulfillment, order capture, Allocation, delivery, invoice, billing.... )
    Is it possible i can do it in SAP Solution Manager 7.1
    Regards,
    Vasanth S

  • Photoshop CS2 issues & Customer Relation's solution

    i bought a g5 quad in June 06 that failed in july 06. they were unable to resolve the issue and gave me a replacement machine.
    i was given a mac pro with 4GB of RAM and a terabyte of internal storage. the 2 oem 500GB Seagate 7200.10 hard drives took over 9+ hours to zero out: the apple store genius told me this was normal. i have since purchased 2 different hard drives. one of the same capacity which zero's out in under 2 hours. that number IS normal.
    Adobe Photoshop CS2 Bridge and Camera RAW have never worked properly on this machine since i got it, quitting all the time when renaming files or browsing my hard drive folders in Bridge. i was told that this is normal and that CS3 and Leopard will fix all this. then the CS3 Beta came out and the machine quits even with the new version.
    i contacted Adobe, they say it is my hardware. i went to the apple store and showed them the problem and was able to duplicate it on every mac pro in their store and they said it must be a software issue.
    i bought more RAM from apple. the machine works somewhat better now, but it still crashes in photoshop and adobe camera raw and bridge. i purchased lightroom and have looked at changing my workflow, and this program too quits intermittently.
    i called apple customer support again. they walked me through using a different user account. same issues. i asked to speak to customer relations. i got on the phone with the lady, and i asked if it was possible to send someone out to look at the machine since it is not working properly, and she said that it is not something they would do since it is not their problem. i asked if they would be able to help me decipher the crash logs so i can find out WHY the machine is crashing.
    her exact words were, "well, maybe you can sell it? if it is giving you all these problems and since it is not our hardware, it might be best for you to sell it and buy something that works."
    "sell it." i would like to say that "sell it" was not the answer i was looking for. i wasn't even mean to her. i was extremely polite and i got, "sell it" from customer relations. i hope none of you get "sell it"
    good luck to all of you.

    You use to use Windows but decided to move to Macs at some point, and not look or go back. And that the Quad G5 worked up until some point.
    When I got my Mac Pro back in late August/early Sept, I ran into some oddities that no one could help me with. Drivers from Lexmark for their laser printers. Suffice to say that I spent weeks if not month trying to track down why etc. and doing the "clean install" but ended up with the original install disk image.
    I'm always afraid if I am forced to install any drivers for now as a result.
    I updated SoftRAID (I thought) and ran into every driver and extension conflict possible, known and unknown.
    Clean install and avoided anything I could "live without" this time around, and it was stable. For a few days, any and every - and I mean absolutely anything I tried to launch, run or whatnot would CRASH.
    I was ready to point fingers. But at whom? ah! must be the Ramjet. Passes all tests, but there must be a gremlin and nothing is good enough to find the cause.
    System is now rock solid and stable.
    I don't know really what or why. And whether it was SMC reset (I wish they would paint the button in RED!) or zapping PRAM/NVRAM.
    I also installed Vista to see if it was OS X or hardware or not. But I never learned what is needed to really use and secure a Windows system - or troubleshoot it if it goes haywire. But you would.
    I have spent 40+ yrs tinkering with computers, and 20 with Macs. I think I still remember some of the troubleshooting days from 1990 hunting down shareware bugs.
    If it is hardware, it would fail running XP too, maybe? did you retain your license for and copies of Windows and CS2 or whatever you would use? (The Mac Pro really shines running Windows Vista from what I've seen).
    It doesn't take a lot to turn a Mac into a crash-prone system. There are some bugs even with the OS update installer itself it seems.
    Troubleshooting is as much art as science. Hunches based on what feels wrong with some sweat and guesses backed by some "CSI" sleuthing and detective work.
    Only Apple or Intel would know if they have had to come out with re-designed chips, a newer motherboard, or cpus. Or the AMB used on the Risers.
    As I said (5 pages ago?) a friend had a G5 Quad that would not run CS2 properly, was crashing etc. (and had on-site Care etc) and the latest logicboard (3rd) stopped the problems, CS2 runs faster and better, it doesn't crash, and the benchmarks show it.
    There are revisions to logic-boards. I read it takes 3-6 months to get a pattern of a problem, and another 3-6 months to redesign parts, manufacturing, testing, between engineering prototypes and manufacturing.
    I thought the whole idea of AppleCare was sort of the "care" in AppleCare. And to solve a problem.
    It would take someone with access to what engineering errata is going on. What changes were made to G5s. There were other problems with Quad it seems as well, heat, the liquid cooling components (there are two varieties).
    I don't have the stomach or temper to deal with customer service, phones, etc. But I would make an appointment (yes, again!). I don't know what terms there are for small business or customers to get premium care, probably not good.
    We had a mainframe with a bad memory card or bank. We thought. We also swapped out every part trying to get it fixed. We even had to keep the room temp colder and controlled humidity. A new system for us would have been lower maintenance, lower energy bill, less strain on a/c even. And smaller (so we didn't need to use as much floor space). But government can be "penny wise and pound foolish" in such matters.
    I know you are just getting familiar with things like "Onyx" and "Disk Warrior" and such. Those can be helpful.
    Crashing does tend to lead to more crashes. Mac OS X is not immune to side effects of what they can do. And usually you want to finish a project, not get sidelined.
    I wish you had a G5 Quad in there. Two systems. Maybe two G5s even if you have the work or so you can be running CS2 on one and CS3 on another. Or have a techie "gearhead" come in and test and insure that your systems are in working order. Something.
    It ain't normal. And it should get more than a "brush off."

Maybe you are looking for

  • Multi cam shoot using  P2 cards. How to move clis to timecode positions

    multi cam shoot using P2 cards. How to move clis to timecode positions. We were using free TC. I want to a large # of clips from both cams. and have them move to the correct TC position on the timline. In Nuendo eith audio u hit apple a or ctrl a rig

  • Iphone won't turn on and is not detected by itunes! ~help~!

    Hello, I recently got an iphone from a friend because I was never able to afford one. It's quite old, and he told me it hasn't worked in a while. He said that either the battery of the sync/charger port was no longer functioning; because one day when

  • HOME THEATER RECEIVERS

    "I was told by a best buy salesperson that there was a 7 channel receiver, that when hooked up to a 5 channel receiver would carry-over the power from the 2 UNUSED channels to the other 5 channels. Does anyone know what receiver he was talking about?

  • My iPad randomly goes black

    I Have iOS 7.0 on my iPad. My iPad is two years old.  In the last few days it randomly goes to a black screen when I am on games, email, etc.  HELP!!

  • Sap tic kets

    hi sap guru's can anybody forward the real time sap tickets in production system. what type of issues face fico consultant in development system . how to explain the critical issues to interview . pla forward the cirtical issue with explain. my mail