JPA One to One Mapping problem

[Please see Image|http://caterpillar.onlyfun.net/Gossip/EJB3Gossip/images/OneToOneSharedPK-1.jpg]
The primary key (@PrimaryKeyJoinColumn ) cannot join to 'Room Table'.
what mistake?
@Entity
@Table(name="T_USER")
public class User implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
   @Column(name = "USER_ID")
    private Integer userId;
    @Column(name = "NAME")
    private String name;
    @Column(name = "AGE")
    private String age;
    @OneToOne(cascade=CascadeType.ALL)
    @PrimaryKeyJoinColumn(name="USER_ID" , referencedColumnName="ROOM_ID")
    private Room room;
   // getter and setter missing
@Entity
@Table(name="T_ROOM")
public class Room implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "ROOM_ID")
    private Integer roomId;
    @Column(name = "ADDRESS")
    private String address;
// getter and setter missing
}Edited by: lauangus on 2010?4?21? ??3:24

There are several things missing here.
For serializable, you should always have a unique:
private static final long serialVersionUID =1234L;
Here is an example that actually works, adapted to your classes:
@OneToOne( cascade = CascadeType.REFRESH, optional = false )
@JoinTable( name = "USER_ROOM", joinColumns = @JoinColumn( name = "USER_ID" ),
inverseJoinColumns = @JoinColumn( name = "ROOM_ID" ) )
You may also want to investigate the following annotations depending on your DB:
@GeneratedValue
@SequenceGenerator
You may want to generate your case using beanwizard.com to see how a working version is configured.

Similar Messages

  • One-to-one mapping problem

    Hi,
    I have 2 tables.
    MYDB.AGENTTABLE Table
    EAAGENT (pk)
    EAAGTNAME
    EAASALEMGR(fk)
    SYPHAN.CHANNEL Table
    EAASALEMGR(pk)
    SHORTNAME
    My classes:
    AgentData
    agent
    name
    channel
    channelShortName
    AgentDataId
    agent
    My jdo file:
    <package name="agentEnquiry.domain">
    <class name="AgentData" objectid-class="AgentDataId">
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="table"
    value="MYDB.AGENTTABLE"/>
    <field name="agent" primary-key="true">
    <extension vendor-name="kodo" key="data-column"
    value="EAAGENT"/>
    </field>
    <field name="name">
    <extension vendor-name="kodo" key="data-column"
    value="EAAGTNAME"/>
    </field>
    <field name="channel">
    <extension vendor-name="kodo" key="data-column"
    value="EAASALEMGR"/>
    </field>
    <field name="channelShortName">
    <extension vendor-name="kodo" key="table"
    value="SYPHAN.CHANNELS"/>
    <extension vendor-name="kodo" key="data-column"
    value="SHORTNAME"/>
    <extension vendor-name="kodo" key="key-column"
    value="EAASALEMGR"/>
    <extension vendor-name="kodo"
    key="EAASALEMGR-ref-column" value="EAASALEMGR"/>
    </field>
    </class>
    </package>
    Exception:
    [SQL=SELECT DISTINCT t0.EAAGENT, t0.EAAGTNAME, 0.EAASALEMGR,
    t1.SHORTNAME  FROM MYDB.AGENTTABLE t0 INNER JOIN SYPHAN.CHANNELS t1 ON
    t0.EAAGENT = t1.EAAGENT WHERE t0.EAAGENT LIKE '2T8100%']
    Column EAAGENT not in table CHANNELS in SYPHAN. [code=-205;state=42703]
    How to fix joining error here?
    Thanks
    Sy

    No, it does not work after removing "key-column" and chanign to "agent-ref-column"
    .. SQLExceptions thrown with
    [SQL0205] Column EAAGENT not in table CHANNELS in SYPHAN.
    Marc Prud'hommeaux wrote:
    Sy-
    "key-column" is only used for maps. The "-ref-column" should be prefixed
    by the pk field name, not the table name. So I think the following line:
    <extension vendor-name="kodo" key="EAASALEMGR-ref-column" value="EAASALEMGR"/>
    should be changed to:
    <extension vendor-name="kodo" key="agent-ref-column" value="EAASALEMGR"/>
    Let us know if you still have trouble. As always, we strongly recommend
    that you upgrade to 3.0.0.
    In article <[email protected]>, sy phan wrote:
    Hi,
    I have 2 tables.
    MYDB.AGENTTABLE Table
    EAAGENT (pk)
    EAAGTNAME
    EAASALEMGR(fk)
    SYPHAN.CHANNEL Table
    EAASALEMGR(pk)
    SHORTNAME
    My classes:
    AgentData
    agent
    name
    channel
    channelShortName
    AgentDataId
    agent
    My jdo file:
    <package name="agentEnquiry.domain">
    <class name="AgentData" objectid-class="AgentDataId">
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="table"
    value="MYDB.AGENTTABLE"/>
    <field name="agent" primary-key="true">
    <extension vendor-name="kodo" key="data-column"
    value="EAAGENT"/>
    </field>
    <field name="name">
    <extension vendor-name="kodo" key="data-column"
    value="EAAGTNAME"/>
    </field>
    <field name="channel">
    <extension vendor-name="kodo" key="data-column"
    value="EAASALEMGR"/>
    </field>
    <field name="channelShortName">
    <extension vendor-name="kodo" key="table"
    value="SYPHAN.CHANNELS"/>
    <extension vendor-name="kodo" key="data-column"
    value="SHORTNAME"/>
    <extension vendor-name="kodo" key="key-column"
    value="EAASALEMGR"/>
    <extension vendor-name="kodo"
    key="EAASALEMGR-ref-column" value="EAASALEMGR"/>
    </field>
    </class>
    </package>
    Exception:
    [SQL=SELECT DISTINCT t0.EAAGENT, t0.EAAGTNAME, 0.EAASALEMGR,
    t1.SHORTNAME  FROM MYDB.AGENTTABLE t0 INNER JOIN SYPHAN.CHANNELS t1 ON
    t0.EAAGENT = t1.EAAGENT WHERE t0.EAAGENT LIKE '2T8100%']
    Column EAAGENT not in table CHANNELS in SYPHAN. [code=-205;state=42703]
    How to fix joining error here?
    Thanks
    Sy--
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • One mapping program for three diferent enviroments

    Hello there,
    I have developed a scenario in which an rfc requests a web service trough XI. In the process a BPM is involved together with some XSLT mappings.
         R3->XI->WebService
    The Web service request message looks like follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <cem:Z_ORDER_SEARCH xmlns:cem="http://XXXXXXXX/yyyyyyyyyyyy">
         <messageStructure/>
    </cem:Z_ORDER_SEARCH>
    Where "http://XXXXXXXX/yyyyyyyyyyyy" Is the web service destination.
    Everything works fine, but as I have to manage three different environments for Development, Quality and Production I need three different versions of the XSL mapping since destinations are not the same for Dev, Qlty and Production environments.
    I found out that I can get information of the sender using runtime parameters as follows:
    <xsl:param name="SenderSystem">
    I would like to evaluate this information to determine the target URL destination.
    If the sender is the development sender then the URL target is the development destination and so on.
    I tried the following code:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:cemDev="http://developmentDestination"
    xmlns:cemQlty="http://qualityDestination"
    xmlns:cemPrd="http://productionDestination"
    xmlns:cem=""
    <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemDev"/>
    <xsl:template match="/">
         <cem:mappingProgram/>
    </xsl:template>
    </xsl:stylesheet>
    This works all right, but I cannot insert code to evaluate the destination.
    On the other hand, this code is not valid:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:cemDev="http://developmentDestination"
    xmlns:cemQlty="http://qualityDestination"
    xmlns:cemPrd="http://productionDestination"
    xmlns:cem="">
    <xsl:param name="SenderSystem"/>
         <xsl:choose>
              <xsl:when test="string($SenderSystem) = 'PRODUCTION'">
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemPrd"/>
              </xsl:when>
              <xsl:when test="string($SenderSystem) = 'QUALITY'">
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemQlty"/>
              </xsl:when>
              <xsl:otherwise>
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemDev"/>
              </xsl:otherwise>
         </xsl:choose>
         <xsl:template match="/">
              <cem:mappingProgram/>
         </xsl:template>
    </xsl:stylesheet>
    Neither this one:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:cemDev="http://developmentDestination"
    xmlns:cemQlty="http://qualityDestination"
    xmlns:cemPrd="http://productionDestination"
    xmlns:cem="">
            <xsl:param name="SenderSystem"/>
            <xsl:template match="/">
         <xsl:choose>
              <xsl:when test="string($SenderSystem) = 'PRODUCTION'">
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemPrd"/>
              </xsl:when>
              <xsl:when test="string($SenderSystem) = 'QUALITY'">
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemQlty"/>
              </xsl:when>
              <xsl:otherwise>
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemDev"/>
              </xsl:otherwise>
         </xsl:choose>
         <cem:mappingProgram/>
          </xsl:template>
    </xsl:stylesheet>
    I tried this other code, which is obviously not valid:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
              <xsl:param name="SenderSystem"/>
              <xsl:choose>
                   <xsl:when test="string($SenderSystem) = 'PRODUCTION'">
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://productionDestination">
                   </xsl:when>
                   <xsl:when test="string($SenderSystem) = 'QUALITY'">
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://qualityDestination">
                   </xsl:when>
                   <xsl:otherwise>
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://developmentDestination">
                   </xsl:otherwise>
              </xsl:choose>
         <cem:mappingProgram/>
    </cem:Z_ORDER_SEARCH>               
         </xsl:template>
    </xsl:stylesheet>
    So the only way I found to make it works is like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
              <xsl:param name="SenderSystem"/>
              <xsl:choose>
                   <xsl:when test="string($SenderSystem) = 'PRODUCTION'">
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://productionDestination">
         <cem:mappingProgram/>
                        </cem:Z_ORDER_SEARCH>
                   </xsl:when>
                   <xsl:when test="string($SenderSystem) = 'QUALITY'">
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://qualityDestination">
         <cem:mappingProgram/>
                        </cem:Z_ORDER_SEARCH>
                   </xsl:when>
                   <xsl:otherwise>
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://developmentDestination">
         <cem:mappingProgram/>
                        </cem:Z_ORDER_SEARCH>               
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
    </xsl:stylesheet>
    Unfortunately this doesn’t solve my problem, because I need to reproduce the mapping program three times in the document.
    Any ideas, or suggestions how to manage one mapping program for the three different environments?
    Thanks a lot in advance, Raú

    Hi there,
    I just found one way of getting this done. It may not be the better waw, but I post it in case it is helpfull.
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <!-- Sender System at runtime-->
         <xsl:param name="senderSystem"/>
         <!-- SenderSystem constants (development addressed by default)-->
         <xsl:variable name="qualitySenderSystem" select="'WHATEVERTHENAMEOFTHEQUALITYSENDERSYSTEM'"/>
         <xsl:variable name="productionSenderSystem" select="'WHATEVERTHENAMEOFTHEPRODUCTIONSENDERSYSTEM'"/>
         <!-- Mapping program template to be called-->
         <xsl:template name="mappingProgram" match="/">
              <!-- MAPPING PROGRAM-->
              <UNIQUE_MAPPING_PROGRAM/>
              <!-- END OF MAPPING PROGRAM-->
         </xsl:template>
         <!Receiver determination depending on senderSystem>
         <xsl:template match="/">
              <xsl:choose>
                   <xsl:when test="$senderSystem=$productionSenderSystem">
                        <xxx:Z_ORDER_SEARCH xmlns:xxx="http://production">
                             <xsl:call-template name="mappingProgram"/>
                        </xxx:Z_ORDER_SEARCH>
                   </xsl:when>
                   <xsl:when test="$senderSystem=$qualitySenderSystem">
                        <xxx:Z_ORDER_SEARCH xmlns:xxx="http://quality">
                             <xsl:call-template name="mappingProgram"/>
                        </xxx:Z_ORDER_SEARCH>
                   </xsl:when>
                   <xsl:otherwise>
                        <xxx:Z_ORDER_SEARCH xmlns:xxx="http://development">
                             <xsl:call-template name="mappingProgram"/>
                        </xxx:Z_ORDER_SEARCH>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
    </xsl:stylesheet>

  • Many to One Mapping issue

    Hi Experts,
    I am currently facing issue with many to one mapping . I have a source schema called revenue having Profit and Profit GST which is looping multiple times. I need to copy the name,value and GST value for each type into the destination schema.
    i am using Looping funtiod to create item profit records and than copying name and value from source to destination but the problem statement is that i am unable to map the GST value
    Thanks
    Abhishek

    could you post the schema definition please
    well why i am asking is, in General matching the records will be based on common node values in corresponding records.
    Assume you have 2 records of Profit and 2 records of ProfitGST in the source message like below, you cannot match the records unless you have some value common in both the records. i mean there should be some common node or attribute value that exits in
    both records.
    assume the following sample with 2 records each
    <ns0:Revenue xmlns:ns0="http://TestSample">
    <ns0:profit availabilityIncentivePayment="342" increasedCapacityCharge ="121" increasedCapacaityPayment="231" />
    <ns0:profit availabilityIncentivePayment="100" increasedCapacityCharge ="110" increasedCapacaityPayment="120" />
    <ns0:profitGST availabilityIncentivePayment="55" increasedCapacityCharge ="21" increasedCapacaityPayment="23"/>
    <ns0:profitGST availabilityIncentivePayment="150" increasedCapacityCharge ="160" increasedCapacaityPayment="170"/>
    </ns0:Revenue>
    if you observe the above sample instance, it does have 2 records each, but Profit record's nodes values
    are no where common with ProftGST record's node values.
    And for every Profit record, you want to pick corresponding GST value from ProfitGST record. However, since you don't have atleast one common node/attribute value here, you will not find a way to relate corresponding records. Means while mapping the first
    record of Profit, it cannot decide which record's nodes values in the ProftGST should pick to match as there are 2 records of ProfitGSt and with no relation with Profit Records.
    if the requirement is such that the records should be matched by the order(index) irrespective
    or the values in them, then that can be achieved easily with postion() function in the for loop.  just try to use code some thing like below sample xslt script like below, apply the proper name spaces and put full names as applicable in your scirpt, mould
    it as per your need
    <ns0:Root>
    <xsl:for-each select="Profit">
    <Profit>
    <xsl:if test="@availabilityIncentivePayment">
    <name>
    name>availabilityIncentivePayment</name>
    </name>
    </xsl:if>
    <xsl:if test="@increasedCapacityCharge">
    <Value>
    <xsl:value-of select="@increasedCapacityCharge" />
    </Value>
    </xsl:if>
    <xsl:if test="../profitGST/@availabilityIncentivePayment">
    <ProfitGSt>
    <xsl:value-of select="../profitGST/@availabilityIncentivePayment[position()]" />
    </ProfitGSt>
    </xsl:if>
    </Profit>
    </xsl:for-each>
    </ns0:Root>
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Fixed width file outgoing with header,detail and trailer in one map

    we have a scenario where in we have to create an output file. the file is fixed width with three different kinds of records namely header, details and trailer. if the specification of the metadata of the file is specified how will we incorporate the creation of the file in one map since the map produces only one call to UTL_FILE and writes it.
    there is a work around in a crude way where in we can define the file as a CSV and pass everything in an appanded string in one column. but i wanted to know how we can get the three logical records in one map..
    thanks
    kamal

    The problem is not with generating the records.. i mean header , detail and trailer.
    it is how we put them into a fixed width sampled file. if we look at the code generated we will see only one call being made to generate the file.

  • How to use the One-to-One mapping in Java Code

    Dear all:
    I have set the direct mapping and named query,
    and have written web service of login.
    I can login successfully.
    Now,I want learning about One-to-One mapping.
    I have setting the One-to-One mapping,
    then what can I do latter?
    I do not found any paper showing how to use it in web service?
    Somebody help me?thx all.

    Following code worked for me:
    import oracle.javatools.resourcebundle.BundleFactory;
    import java.util.ResourceBundle;
    * This method retrieves localized strings from a given XLIF resource bundle.
    * @param bundleName The XLIF bundle from which the localized string is to be retrieved.
    * @param key The key of the localized string.
    * @return The localized string retrieved from the given XLIF bundle.
    public static String getXlifLocalizedString(String bundleName, String key) {
    if (StringUtils.isEmpty(key)) {
    return key;
    if (StringUtils.isEmpty(bundleName)) {
    return "[" + key + "]";
    String localizedString = null;
    ResourceBundle resourceBundle = null;
    try {
    resourceBundle = BundleFactory.getBundle(bundleName);
    localizedString = resourceBundle.getString(key);
    } catch (Exception e) {
    LOG.log(Level.SEVERE, "Problem in loading XLIF resource bundle: " + bundleName, e);
    return "[" + key + "]";
    return localizedString;
    }

  • Copying Mapping from existing multple mapping to One to one mapping

    Hi Experts,
    I am having a scenario in which I am doing one to three mapping.
    I have a input file and I am tarnsforming it to three files HEADER, DETAIl and FOOTER.
    I am using only one mapping for it and it is completed.
    Now I need to do one to one mapping for each HEADER, DETAIL and FOOTer.
    Is there any way that I can copy my mapping from the existing one and do the one to one mapping.
    Regards
    Pradeep

    Hi,
    I guess it should be possible to copy your mapping (3 times) and remove the parts that you don't need.
    The problem (in PI 7.0) is that if you have more than one message at the target side and reduce it to one message your field mappings are lost.
    You can avoid this if you set the occurence of your target message to 0.. unbounded.
    If you don't want to do this you could copy for all fields the last field before the target field (right click on field -> copy) and paste it in your new mapping (this will copy your complete mapping structure).
    Regards
    Patrick
    Edited by: Patrick Koehnen on Jan 12, 2009 11:48 AM

  • Variable one to one mapping question

    I'm trying to create a variable one to one mapping using an interface with two implementing classes. The problem that I have is that I have two different values in the class indicator column that I wish to map to the same class. Mapping workbench doesn't let me do this. The MW documentation discusses using unique primary keys by leaving the class indicator blank. However, i'm using 9.0.4.8 and this doesn't appear to work as I get exceptions at runtime.
    Is there anything along the lines of the inheritance classextraction method for interfaces? Any suggestions for how to go about this?
    Thanks in advance,
    Jonathan

    Hi Jonathan,
    This use case is not supported in the Workbench. You will have to define an After Load Method in the workbench and add the indicator->class mappings in code. I am not positive on how this is handled in the runtime. Which indicator would be used when writing, maybe only supported for read-only mappings, or possibly not supported at all? Someone from the runtime team can respond about this.
    Karen

  • Missing Descritpor for One to One Mapping

    Hi,
    I have a one to one mapping from an Object A to Object B. When I execute the code, I get an exception as given below. Has any one encountered the same problem ?
    Appreciate your help.
    Thanks
    Priya
    Local Exception Stack:
    Exception [TOPLINK-7009] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.ValidationException
    Exception Description: Missing descriptor for [class oracle.toplink.indirection.ValueHolder]. Verify that the descriptor has been properly registered with the Session.
         at oracle.toplink.exceptions.ValidationException.missingDescriptor(ValidationException.java:599)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3086)
         at oracle.toplink.mappings.ObjectReferenceMapping.buildCloneForPartObject(ObjectReferenceMapping.java:50)
         at oracle.toplink.internal.indirection.BasicIndirectionPolicy.cloneAttribute(BasicIndirectionPolicy.java:82)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildClone(ForeignReferenceMapping.java:160)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1493)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2261)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3093)
         at com.starkey.cqm.dao.PersistenceManager.createObject(PersistenceManager.java:65)
         at com.starkey.cqm.bcs.AdminService.saveRoute(AdminService.java:217)
         at com.starkey.cqm.web.RouteAction.processCreate(RouteAction.java:183)
         at com.starkey.cqm.web.AdminAction.execute(AdminAction.java:50)

    Looks like you've mapped from ObjectA to ObjectB but accidentally set the target class to be ValueHolder. Except for the checkbox in the Mapping Workbench, you shouldn't need to specify ValueHolder in any of your mappings.

  • Creating multiple links from one map image in Flash CS4

    I have been tasked with creating multiple links from one map image using flash. Each link would go to the main website page with that location. I assume I could create a button for each location on the map but not having a lot of experience any help / tutorial you know of would be super helpful.. Thanks! Not looking for someone to work me thru it but a little guidance would be great!

    If I was to answer the problem, I would be giving you what you asked not to be given... the solution.  So I'll suggest that you start by researching the getURL() function.  That is what AS2 uses for opening web pages.
    As for coding a button, I'll recommend the following article for you... it will explain the proper approach to coding a button, which will give you an advantage over others who don't follow it, but instead use the way the article says not to.
    http://www.adobe.com/devnet/flash/articles/as_bestpractices_04.html
    Google is one of the best resources available for learning how to do things with Flash--it's the first place I go when I have a wondering.  In general, if you type in the right keywords, you get fairly good search results.  In your case, combinations of "AS2", "button", "getURL", "tutorial" would probably work well.

  • I have one migration problem.

    Dear All,
    i have one migration problem.
    while doing transfer rules migration i got a popup saying that " GJAHR source filed automatic conversion is not possible "
    what is this message if continue with that what will happens if not what i should do.

    hi vsuree,
    If u r getting this message for field  FISCPER of ur data source,then map Fiscper to 0Fiscyear ,the system wil automatically convert it and the problem will be resolved.  hope it will help u.
    thanks

  • Just updated my iPhone 4 from IOS 6.1.3 to 7.1.2, I know I am behind the times, but I got there eventually! All seems well but I have one specific problem and hope someone can offer a helpful suggestion.

    Just updated my iPhone 4 from IOS 6.1.3 to 7.1.2, I know I am behind the times, but I got there eventually! All seems well but I have one specific problem and hope someone can offer a helpful suggestion.
    On opening the app "Find my iPhone" I add my password and sign in, to be greeted with a screen that says;
    "Update Find My iPhone. A new version of Find My iPhone is available from the App. Store. You must install the update to continue using the app. Update now"
    On hitting the "Update now" button I'm taken to the relevant page on the App Store, to be told that I cannot update as it needs IOS8 to be able to continue and as my iPhone is only a 4 cannot install IOS8.
    I'm left going around in circles. The only thing would be to delete the app, but looks like I could not re-install the version I would need. Any body have any thoughts or suggestions? (Apart from updating my phone, I have a few months left on the contract!)
    Thanks in advance.

    Hi, thanks for the suggestion. I have tried as you suggested, and when opening the "purchased" apps some have the icloud logo next to them, but I only have "OPEN" against "Find My iPhone". When opening it up, it goes through the same routine; needs to be updated before proceeding, and wouldn't update because I don't have IOS8.
    Anything else I could try, or am I doomed!
    All of your help is much appreciated, thanks

  • Need Help with One to One Mapping in SQL

    Can aynone please design me tables in Oracle .
    I want to have a two tables with one to one mapping .
    Following is the scenario.
    I have an Employee object and a Parking Space Object. The have a one to one relation i.e., an employee will always be associated to only one parking space, that parking space should not be associated to any other employee.
    It would be a great help .

    sb92075 wrote:
    We don't do homework assignments.I used to do my own... seems like a novel concept now-a-days :)

  • One to one mapping question -- can I just map a lookup field for queries?

    I have a table with a state code. I'd like to have a "virtual lookup" on the java class to a region table. I.e., this java class "studies" has a state code. I can map a one-to-one to the descriptor class that has the ref table, but I'd like to have a property in the java class pre-mapped to the "region" field in this lookup so for querying i can just use:
    ReadAllQuery q = new ReadAllQuery();
    q.setReferenceClass(study.class);
    q.setSelectionCriteria(new ExpressionBuilder().get("Region").equal(Region));
    to get all the studies for a particular region.
    am I going about this wrong? or do I have to get the reference table descriptor fromt he one to one map and do something different?

    well,on the way home last nite, I realized I'd had a complete brain fart. I've done this before. I just set up a 1-1 map between descriptors and then built the query like this:
    q.setSelectionCriteria(new ExpressionBuilder().get("refFPO").get("FPO_NO").equal(FPO));
    You can get the pointer to the "refFPO" which is the the descriptor mapped 1-1, then appended the column you wish to get.
    I still went ahead and amended my class to include a read-only, non-toplink mapped attribute "FPO" which just gets the reference variable pointing to "refFPO.getFPO_NO();
    I answered my own question just in case anyone wondered ....

  • I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sending data to Message borker.(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to save file in SAP fold

    I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

Maybe you are looking for

  • Incredibly irritating problem

    I know I've asked about this before when someone with a similar problem posted a thread about it, but I got no help. Sorry to be posting again but it's driving me craaaazy. Since installing Itunes 8, every time I put a new album onto my Ipod, the las

  • Why does my Premiere Pro CC always crash?

    I am having the same issues - constant crashing of Premiere Pro CC. Crashes during edits - crashes in exports. Mostly is just hangs and is in the dreaded "not responding" mode. I run a small independent production business and never experienced this

  • Meaning of % in Form/parameters names

    Hi. I've seen the string "%_" in the names of Forms and parameters. For example there is an SAP standard program "EXAMPLE_PNP_GET_PAYROLL" and during Debug in the GET pernr   logic db the Form name spells "%_GET_PERNR" and there is no such Form in th

  • BIO routines:BIO_read:connect

    Hi I am working on Windows 7 Tablet Fujitsu Q550 SAP Workmanager 60 , SMP2.3 Created the self signed certificate Installed .pfx file on the server Renamed server-cert.pem to server-cert.cer installed in the Windows 7 Tablet under  'trusted root certi

  • Checkbox checked from an email

    I am trying to auto-populate a web form from a link in an email using module_url.  I can populate input fields just fine but I am trying to also get a checkbox to be selected by default.  Anyone know how this can be accomplished through a link in an