JPA multiple relationships/associations between same entities

I want to have a Person entity that has two bi-directional relationships to the Name entity: name and aliases.
I have implemented it like so:
@Entity(access = AccessType.FIELD)
public class Person
     @OneToOne(cascade=CascadeType.ALL,fetch=FetchType.EAGER,mappedBy="person_name")
     Name name;
     @OneToMany(cascade=CascadeType.ALL,fetch=FetchType.EAGER,mappedBy="person_aliases")
     private List<Name> aliases = new ArrayList<Name>();
@Entity(access = AccessType.FIELD)
public class Name
     @OneToOne
     private Person person_name;
     @ManyToOne
     private Person person_aliases;
     public Person getPerson() {
          return getPerson_name() != null ? getPerson_name() :
               getPerson_aliases();
}This seems to work, but I�m wondering if there�s a better way to do it. I don�t like the multiple Person properties in the Name entity.
Thanks

Your table design is completly wrong. I am now sure how you are maintaining OrderDate table. SQL Server is RDBMS. Without relation how will you pick those rows from Order table whose order date is equal exactly equal to datefield in OrderDate table. The
only way is to derived endofDay and endofMonth in the select query directly. I understand endofMonth. But what is EndofDay ? And that too a date datatype ??
You can run the below query but it will not return specific order date from order table,
SELECT * FROM [ORDER] WHERE
CONVERT(CHAR(10),ORDERDATE,101) IN (SELECT CONVERT(CHAR(10),endOfDay,101) FROM ORDERDATE)
SELECT * FROM [ORDER] WHERE
CONVERT(CHAR(10),ORDERDATE,101) IN (SELECT CONVERT(CHAR(10),endOfMonth,101) FROM ORDERDATE)
Even if i JOIN the two table by orderdate and endofDay/endofMonth, we will not received specific orderDate. And this is becouse if your Order table contains multiple orderDate that are matching to either endofDay or endofMonth, the final output will contain
multiple orderDate details. I don't think this is what you need. Therefore you need to modify the OrderDate table or provide us the definition for endofDay and endofMonth, and how are you maintaining.
Regards, RSingh

Similar Messages

  • HT4528 i am having problems since downloading ios8.  app freezing, display orientation locking up, calls coming into multiple phones associated with same apple id.  Anyone else having these issues?  i did not download the update

    i am having problems since downloading ios8.  app freezing, display orientation locking up, calls coming into multiple phones associated with same apple id.  Anyone else having these issues?  i did not download the update

    No.  But thank for asking.

  • Windows 2008 AD Sites and Services: Multiple Connection links between same sites

    Hello,
    Our AD Sites  & Services is showing Multiple Connection links between the same sites. How is this possible and can i delete extra ones?  

    Hi,
    As Calin Liviu mentioned, you do not have to manage connection objects. In fact, changes that you make to connection objects that the KCC creates automatically are ignored.
    If the site is added to more than one site link, it might be an interim site between other sites that are added to this site link.
    Understanding Replication Between Sites
    http://technet.microsoft.com/en-us/library/cc771251.aspx
    Please check the replication issue, and post the result to here.
    Regards.
    Vivian Wang

  • Multiple relationship for the same field

    Hello !
    I have this situation :
    Table : Article
    Id
    name
    category
    Table : Services
    id
    name
    nr
    value
    Table : Sell_item
    Id
    item_id
    quantity
    price
    value
    Now the problem is this : The field Item_id on the sell_item table can be the id for  an Article or a Service. So I need to create a double relationship for this field one with Article table an one with Service table.
    Is this possible ?
    If not , or if I'm wrong how can I solve this situation ?
    Thank you.

    Hello,
    Please try the following resource:
    http://stackoverflow.com/questions/10253986/sql-foreign-key-issue-with-2-parent-tables
    The resource offers you 3 options.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Problems with Associations between entities (jdev903production)

    Hi,
    every now and then, I feel a strong urge to pick up my pc and throw it out the window, when I'm working in jdeveloper.
    But usually just in time I realise the power that bc4j still has, and the fact that people walking under my window might not be too pleased with my pc landing on their head convinces me to just count to 10, and just retry what I was trying to do.
    I will explain the problems below:
    1. Wrongly numbered and magically renumbered members
    I have an entity with about 13 attributes. The underlying schema object is a view (simple view
    on a table, nothing fancy).
    I have a few associations between this entity and several other entities, one of which is an association with itself (parent/child relation). Some of these associations have accessors, and the parent/child association has accessors both ways (getParent() and getChildren()).
    When I compile, I get an error like this:
    Error(399,12): duplicate case label.
    This problem occurs because near the top of the file, the attributes have been defined as follows:
    protected static final int ASSET = 0;
    protected static final int PARENT = 1;
    protected static final int PRICELINES = 2;
    protected static final int CHILDREN = 3;
    protected static final int ID = 0;
    protected static final int CODE = 1;
    protected static final int ENDDATE = 2;
    protected static final int STARTDATE = 3;
    protected static final int TYPE = 4;
    The first 4 are from the association accessors, the rest (starting with ID) are attributes. Why do these get the same numbers?
    I edited the first 4 lines and gave them increasing numbers that didn't conflict with any of the attributes. But each time I edit one of the associations, all of these lines get renumbered again and start counting at 0! (even if I move the lines down so they are in the correct order).
    So even if I just edit the parent/child association, even the PRICELINES (which is an accessor NOT from the association I'm editing) thing gets renumbered wrongly.
    Why?!
    2. Internal XML parser error
    Every now and then, after playing around with associations and viewlinks, I suddenly get an error message like this:
    "Expected Name instead of '<'."
    from the XML parser, when I try to open a ViewObject from the navigator. The XML files look fine, but even a restart of jdeveloper doesn't help. In this case I usually delete my files, get the last known working versions from CVS and redo what I did before it went wrong. Because of the randomness (though quite frequent) of this problem, I can't provide you with good 'steps to reproduce' yet, but do you have any clue as to what might cause this? It's quite a nuisance.
    Greetings,
    Ivo

    [list]
    [*]Wrongly numbered and magically renumbered members
    We just found and fixed a problem for 9.0.4 yesterday where in some cases
    the constants for the accessors got inadvertently renumbered.
    I hope it's the same issue you're hitting, but I cannot
    be 100% sure unless you could send me a testcase project
    for me to try and reproduce with 9.0.3 and with the
    fixed 9.0.4 release.
    [*]Internal XML parser error
    An error like "Expected Name instead of '<'." can mean some kind of corruption in the XML file. When you say they "look" fine, are you able to verify by trying to parse them externally to make sure it's not some subtle error your eye is not seeing?
    If you can give me a testcase project and tell me what steps to try and repeat, I can have our QA team try and exercise your steps to hopefully reproduce the problem.
    [*]View Accessors are not being created
    You mentioned a source control system in the mix. Is there any possibility that the YourViewImpl.java file is read-only on the file system? This would cause BC4J to not be able to write the accessor into the file.
    [*]Magically disappearing ViewLink source/destination attributes
    Obviously, this is not intentional. I'll ask the developer to see if
    there's anything obvious that could be the cause of this
    "short-circuit" of correct functionality.
    [*]Dependencies not checked correctly when using entitylevel inheritance
    "(no inheritance is possible on the view level)"
    The above statement confused me. We do support View objects extending
    other view objects, however I was able to reproduce the problem
    and I filed Bug#2678090 to get it fixed.
    [*]EVERY question/problem on the forum needs to be analyzed by a team member with 1 exclusive question: [How] Could have better documentation / help file elimenated this problem?
    Excellent point. And we are doing this!
    [*]Don't get me wrong; if this weren't a super product; I would not be here.
    Neither would we. ;->
    Let's identify every remaining technical issue for you, ideally get a testcase to reproduce the problem, and then we'll fix it.
    [*]And truly; thank you for taking this time with us. Not every company affords so many resources with their customers; let alone free downloads.
    We believe it's a great 21st-century way to be in direct contact with our customers. The feedback we get here is awesome for the product!
    [*](Hey! I Want to pay. Help me finish and sell my app!)
    We want you help you finish faster, too. Keep the questions and issues coming and we're doing our best to address them.
    [list]

  • TS2972 I have multiple libraries on the "same computer" with two different desktops, can't I share between two libraries on the same computer?

    I'm trying to use home sharing to share content between libraries so some of the combined content in a given library, can be synced to an ipad.   Instad of having mulitple computers, i have multiple libraries on the same computer using two desktops.  How do I share within the same computer?

    iTunes must be running for home sharing to work.  There is no way to have home sharing running simultaniously for two users on the same computer.
    Simply add the media files using File > Add File/Folder option in iTunes.

  • Question about creating association between Sharepoint BDC entities using Visual Studio 2010

    I am following this tutorial:
    http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/08/02/walkthrough-of-creating-association-between-sharepoint-bdc-entities-using-visual-studio-2010.aspx
    I am getting the following error:
     There is an error in the TypeDescriptors of Parameters on Method with Name 'CustomerToOrder' on Entity (External Content Type) with Name 'Customer' in Namespace 'BdcAssociationSample.BdcModel1'. The TypeDescriptors incompletely define where the Foreign
    Identifiers of Entity 'Order' in Namespace 'BdcAssociationSample.BdcModel1' are to be read. That Entity expects exactly '1' Identifiers, but only '0' TypeDescriptors with the correct Association were found from which to read them.
    I have viewed the following:
    http://lightningtools.com/business_connectivity_services/the-typedescriptors-incompletely-define-where-the-identifiers-of-entity-x-are-to-be-readbcs-error/
    after reading that article, I am still not sure what setting I am missing.  Does anyone have the full working source code from the msdn article linked above?

    Hi,
    According to your post, my understanding is that you got the symbols not loaded error.
    First try rebuilding your project by right mouse click the project > Rebuild If that doesn't work, try a clean of the project (right mouse click on the project > clean)
    If that didn't work check this:
    Right mouse click your project
    select [Properties]
    select the [Build] tab
    make sure [Define DEBUG constant] and [Define TRACE constant] are checked
    Click the [Advanced] button at the bottom of the Build tabpage
    Make sure that [Debug Info:] is set to [full]
    Click [OK] and rebuild the project ;
    Hope that works for you! (step 6 generates the .pdb files, these are the debugging symbols)
    What’s more, you can clean & re-compile the code, then install the respective dlls one more time to GAC (just remove them before adding to GAC again), do an IISReset to check whether it works.
    More reference:
    http://stackoverflow.com/questions/2155930/fixing-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-fo
    http://stackoverflow.com/questions/2301216/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-d
    http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Make the relationship in between multiple table storage's tables will affect the performance

    Hi,
    i'm going to develop business application,the product ID needs to be generic one and it should automatically generate the unique id(like identity in sql ) but,it has to be generate in formatted way 
    for example the ID would be "cityCode+areaCode+uniqueNumber" . here, cityCode and areaCode are going to maintain in separate table. while generate the product id, going to find the cityCode table and AreaCode table the generate  unique
    number by merge all the respective information.
    1) while doing all this will affect the performance Azure table storage performance and  web application ?
    2) making multiple relationship among multi-Table Storage will decrease the performance ?. 

    Hello,
    When you say tables, are referring to Azure Storage Tables or Relational Databases?
    Please note Windows Azure tables do not function in the same manner as tables in a relational database since they do not make use of relationships or have schemas.
    And if you are referring to relational databases, the latency in performance would depend on the logic used to generate the unique ID.
    You should be able to use the logic in an On-Prem SQL database and check for the latency.
    Regards,
    Malar.

  • XOR arc among  various relationships between two entities

    I have a scenarious where subtype is implemented as XOR arc among 1:1 relationships between two entities.Not familiar how to make the arc of exclusive or ..in SQL Modeler.
    Grateful for any direction.
    Kind Regards
    Ivan,

    Hi Ivan,
    here are steps for logical model (they are similar for relational model):
    1) select two (or more) relationships and entity they are connected to
    2) Click on "New Arc" icon to create arc
    Philip

  • Are there two type of associations between objects or are there just different representations?

    I've been spending some time on 're-tuning' some of my OOP understanding, and I've come up against a concept that is confusing me.
    Lets say I have two objects. A user object
    and an account object.
    Back to basics here, but each object has state, behaviour and identity (often referred to as an entity object).
    The user object
    manages behaviour purely associated with a user, for example we could have a login(credentials) method
    that returns if successfully logged in or throws exception if not.
    The account object
    manages behaviour purely associated with a users account. For example we could have a method checkActive() that checks if the account is active. The account object checks if the account has an up-to-date subscription, checks if there are any admin flags added
    which would make it inactive. It returns if checks pass, or throws exception if not.
    Now here lies my problem. There is clearly a relationship between user and account,
    but I feel that there are actually two TYPES of association to consider. One that is data driven (exists only in the data/state of the objects and the database) and one that is behaviour driven (represents an object call to methods of the associated object).
    Data Driven Association
    In the example I have presented, there is clearly a data association between user and account.
    In a database schema we could have the following table:
    USER_ACCOUNTS
    id
    user_id
    When we instantiate the account and
    load the database data into it, there will be a class variable containing user_id.
    In essence, the account object
    holds an integer representation of user through user_id
    Behaviour Driven Association
    Behaviour driven associations are really the dependencies of an object. If object A calls methods on object B there is an association going from A to B. A holds an object representation of B.
    In my example case, neither the user object
    nor the account object
    depend on each other to perform their tasks i.e. neither object calls methods on the other object. There is therefore no behaviour driven association between the two and neither object holds an object reference to the other.
    Question
    Is the case I presented purely a case of entity representation? The association between user and account is
    always present, but its being represented in different ways?
    ie. the user entity
    has an identity that can be represented in different forms. It can be represented as an object (the instantiated user object)
    or as a unique integer from the users table in the databases.
    Is this a formalised way of recognising different implementations of associations or have I completely lost my mind?
    One thing that bugs me is how would I describe the differences in UML or similar? Or is it just an implementation detail?

    It s a bit hard to fully understand what is problem actually in :). I think you are a bit mixing some concepts.
    Entities representation
    At first, all models we are implementing is just a simplification of some real-world objects and environment. Your conceptual entity user corresponds to some real user and contains some attributes we are intresteing in according to application needs. Thus there
    are some models we have to implement.
    Thus, all user defined by DB schema, user defined by class, and probably user defined by some presentation logic is normally present some real-world user. It is only about implementation purposes, we have to store, view and manipulate with user.
    On the other hand let's take a look on Single Responsibility Principle. It tells us to use every class or program unit just for certain needs. Using single user (class or program unit) for storage and presentation needs violates this principles.
    the user entity has an identity that can be represented in different forms. It can be represented as an object (the instantiated user object) or as a unique integer from the users table in the
    databases.
    So, the answer is yes.
    Associations and dependencies
    I think it is more about terminology than about nature of problem. But in general you are right - there are different types of object realtions (especially, I will use other terms to list it). For example "referencing", "creation", "using",
    "coordinating", "storing", "inheriting" (!) ....
    According to this, user instance references account instance. And A instance uses B instance.
    For most cases it is good enough to distinguish just "referencing" and "using". It is what you've just written. It's enough common and abstract to be understood by other person when talking about domain, e.g.
    But sometimes, to emphasize some aspects you should describe relations in a way like "A dispatches ensemble of Bs" or "R stores X to database". It's more applicable for specification and modelling.
    Is this a formalised way of recognising different implementations of associations or have I completely lost my mind?
    To call something formalized I suggest to look at UML.
    UML and other modelling instruments
    One thing that bugs me is how would I describe the differences in UML or similar? Or is it just an implementation detail?
    There are a lot of UML models (diagrams). Let's take a look at most well-known - Classes and Objects Diagram.
    It's interesting that UML allows to present all type of object relations, and moreover allows to decide "is it just an implementation detail".
    Martin Fowler describes 3 levels (or point of views) of understanding of Classes Diagram.
    Conceptual. Diagram is considered as high-level domain model, independent from implementation.
    Specification. Diagram is considered as high-level realization model containing of interfaces.
    Implementation. Diagram is considered as low-level technical paper containing interfaces, classes, references, other types of relations.
    Is this a formalised way of recognising different implementations of associations or have I completely lost my mind?
    Yes, you have to fix some point of view and choose appropriate relations set.
    For example, let's take a look at Classes Diagram and consider it from an implementation point of view. UML defines 3 type of relations (and propose corresponding means to its designation):
    Association
    Association corresponds "referencing" between instances.
    Dependency
    Dependency combines all types of relations such as "using", "creating", "storing", etc.
    Inheritance.
    Inheritances as a fundamental OOP instrument is presented by UML in a distinct way. It's more about classes than about instances, but also one can say that A instance inherit attributes of B instance. So, that's ok.
    First and second points of view on Class Diagram, as I remember uses only one type of relation unifying both associations and dependencies and is designated like association (no inheritance, of course).
    Also, UML proposes Objects Diagram which is same to Classes Diagram, but fits better for runtime modelling needs.
    Finally, a choice of a set of relations taken into consideration depends on a context and point of view. UML provides some ones.

  • Lightroom CC issues with multiple export at the same time

    Back before Lightroom updated to the CC version, I was able to use export presets to send 4 different versions of the photos I'm working on at the same time (A Full Size for client at certain size, full size for myself, web-sized with watermark and a thumbnail). Since updating to the CC version, I'm only able to start the export process on two of these versions before the system simply becomes crippled and I cannot even navigate through Lightroom without it chugging along.
    For reference, I'm running a 2014 rMBP with 16GB of RAM, LR is the only app open at the time and it's showing that I have roughly 6GB of RAM free when attempting this export.
    TL;DR: LR5 worked wiht multiple exports at the same time, but LRCC now chugs after 2 exports are started

    Re: "Selecting video in Messages, now starts Face time for video. Face time is one to one only."
    Apple "Messages" supports two different types of video conferencing. It's become more than a little confusing. If you (or the person on the other end) ONLY have accounts set up for Apple's "iMessage" service (associated with your Apple ID and "iCloud") you may see the video symbol, but when you click on it you will be connected via FaceTime which is limited a 1-to-1 video conference.
    However, if you have set up an AIM account in Messages (you may already have an AIM account ID if you once used iChat for video, audio and screensharing) and the person at the other end also has an AIM account you will be connected via AIM and will be able to do screen sharing and multi-person video conferences just like the old iChat, i.e. you'll have iChat Theater features, up to 4-way conferencing, etc.
    It can get very confusing if, for example, you've signed up for AIM using a .me or .cloud email address. But once you have it set up and learn to recognise the way Messages switches between AIM and iMessage all the old iChat features work just fine in Messages.

  • Can I combine multiple threads from the same contact in iMessage?

    iMessage displays multiple threads for the same contact.  Its very confusing and has resulted in lost messages.  I've tried changing a number of settings but to no avail.  Seems to require everyone in my contact list to eliminate all their email addresses in iMessage.
    Begs the question why does iMessage even need this information?  Worse, why does it suck it into its settings by default.  The directory server should only require a valid Apple ID (associated with the users' devices)  in order to direct an iMessage between two contacts.

    Thanks for the reply, appreciate your input.  I did find another way of doing it and that is to highlight the first e-mail, hold down the shift key and click on the last one.  That highlights them all and then they can all be deleted.  Your ideas also work of course and I thank you for that.  Cheers.

  • Multiple KPI for the same Initative or Perspective

    Hi all,
         Here we are facing a problem with a customer BSC model that we need to adapt to SAP SSM
       The customer has the following  BSC structure ":
       1)  Multiple KPIs for ONE Perspective ( in SSM the maximum that we have it is a Perpective related to one KPI )
       2)  Multiple KPIs for an Objective ( Ok, SSM  is OKJ in this point )
       3)  Multiple KPIs for an Initiative ( in this customer they use a Initiative as a lower level of the Objective )
           ( in SSM a Initiative is associated only with one KPI if necessary )
       As we can see the itens 1 and 3 I see a limitation to adopt in SSM cause SSM  does not provide a n for n relationship ( Multiple KPIs for One Perspective and
         Multiples KPIs for a same Initiative )
       Does somebody knows how can I solve this kind of SAP SSM tool limitation ?
       Regards,
          Alfred

    Alfred,
    Index KPIs is going to be the solution for each of these questions.
    1) Multiple KPIs for ONE Perspective ( in SSM the maximum that we have it is a Perpective related to one KPI )
    SSM is set up in a hierarchical structure, so that the assumption is that KPIs drive Objectives and Objectives drive the status of the Perspectives. If you have multiple KPIs that are going to drive the status of a Perspective, you would have to create an INDEX KPI in Set KPIs. Then you can assign that KPI as the status driver for your Perspective.
    2) Multiple KPIs for an Objective ( Ok, SSM is OKJ in this point )
    Index KPIs need to be created.
    3) Multiple KPIs for an Initiative ( in this customer they use a Initiative as a lower level of the Objective )
    Initiatives are set to be tied to Perspectives and Objectives and you have the option of setting a Status for that Initiative based on a KPI. Again, you can create an Index KPI if you need multiple KPIs to drive the status of an Initiative
    The reason that you have to create these in Set KPIs and then assign that Index KPI to Perspectives and Initiatives is that you need to use that Set KPIs area to set and define the relationships and relative values of the combined KPIs.
    Regards,
    Bob

  • Timesten replication with multiple interfaces sharing the same hostname

    Hi,
    we have in our environment two Sun T2000 nodes, running SunOS 5.10 and hosting a TT server currently in Release 7.0.5.9.0, replicated between each other.
    I would like to have some more information on the behavior of the replication w.r.t. network reliability when using two interfaces associated to the same hostname, the one used to define the replication element.
    To make an example we have our nodes sharing this common /etc/hosts elements:
    151.98.227.5 TBMAS10df2 TBMAS10df2-10 TBMAS10df2-ttrep
    151.98.226.5 TBMAS10df2 TBMAS10df2-01 TBMAS10df2-ttrep
    151.98.227.4 TBMAS9df1 TBMAS9df1-10 TBMAS9df1-ttrep
    151.98.226.4 TBMAS9df1 TBMAS9df1-01 TBMAS9df1-ttrep
    with the following element defined for replication:
    ALTER REPLICATION REPLSCHEME
    ADD ELEMENT HDF_GNP_CDPN_1 TABLE HDF_GNP_CDPN
    CHECK CONFLICTS BY ROW TIMESTAMP
    COLUMN ConflictResTimeStamp
    REPORT TO '/sn/sps/HDF620/datamodel/tt41dataConflict.rpt'
    MASTER tt41data ON "TBMAS9df1-ttrep"
    SUBSCRIBER tt41data ON "TBMAS10df2-ttrep"
    RETURN RECEIPT BY REQUEST
    ADD ELEMENT HDF_GNP_CDPN_2 TABLE HDF_GNP_CDPN
    CHECK CONFLICTS BY ROW TIMESTAMP
    COLUMN ConflictResTimeStamp
    REPORT TO '/sn/sps/HDF620/datamodel/tt41dataConflict.rpt'
    MASTER tt41data ON "TBMAS10df2-ttrep"
    SUBSCRIBER tt41data ON "TBMAS9df1-ttrep"
    RETURN RECEIPT BY REQUEST;
    On this subject moving from 6.0.x to 7.0.x there has been some changes I would like to better understand.
    6.0.x reported in the documentation for Unix systems:
    If a host contains multiple network interfaces (with different IP addresses),
    TimesTen replication tries to connect to the IP addresses in the same order as
    returned by the gethostbyname call. It will try to connect using the first address;
    if a connection cannot be established, it tries the remaining addresses in order
    until a connection is established.
    Now On Solaris I don't know how to let gethostbyname return more than one interface (the documention notes at this point:
    If you have multiple network interface cards (NICs), be sure that “multi
    on” is specified in the /etc/host.conf file. Otherwise, gethostbyname will not
    return multiple addresses).
    But I understand this could be valid for Linux based systems not for Solaris.
    Now if I properly understand the above, how was the 6.0.x able to realize the first interface in the list (using the same -ttrep hostname) was down and use the other, if gethostbyname was reporting only a single entry ?
    Once upgraded to 7.0.x we realized the ADD ROUTE option was added to teach TT how to use different interfaces associated to the same hostname. In our environment we did not include this clause, but still the replication was working fine regardless of which interface we were bringing down.
    My both questions in the end lead to the same doubt on which is the algorithm used by TT to reach the replicated node w.r.t. entries in the /etc/hosts.
    Looking at the nodes I can see that by default both routes are being used:
    TBMAS10df2:/-# netstat -an|grep "151.98.227."
    151.98.225.104.45312 151.98.227.4.14000 1049792 0 1049800 0 ESTABLISHED
    151.98.227.5.14005 151.98.227.4.47307 1049792 0 1049800 0 ESTABLISHED
    151.98.227.5.14005 151.98.227.4.48230 1049792 0 1049800 0 ESTABLISHED
    151.98.227.5.46050 151.98.227.4.14005 1049792 0 1049800 0 ESTABLISHED
    TBMAS10df2:/-# netstat -an|grep "151.98.226."
    151.98.226.5.14000 151.98.226.4.47699 1049792 0 1049800 0 ESTABLISHED
    151.98.226.5.14005 151.98.226.4.47308 1049792 0 1049800 0 ESTABLISHED
    151.98.226.5.44949 151.98.226.4.14005 1049792 0 1049800 0 ESTABLISHED
    Tried to trace with ttTraceMon but once I brought down one of the interfaces did not see any reaction on either node, if you have some info it would be really appreciated !
    Cheers,
    Mike

    Hi Chris,
    Thanks for the reply, I have few more queries on this.
    1.Using the ROUTE CLAUSE we can use multiple IPs using priority level set, so that if highest priority level set in thr ROUTE clause for the IP is not active it will fall back to the next level priority 2 set IP. But cant we use ROUTE clause to use the multiple route IPs for replication simultaneously?
    2. can we execute multiple schema for the same DSN and replication scheme but with different replication route IPs?
    for example:
    At present on my system, I have a replication scheme running for a specific DSN with stand alone Master-Subscriber mechanism, with a specific route IP through VLAN-xxx for replication.
    Now I want to create and start another replication scheme for the same DSN and replication mechanism with a different VLAN-yyy route IP to be used for replication in parallel to the existing replication scheme. without making any changes to the pre-existing replication scheme.
    for the above scenarios, will there be any specific changes respective to the different replication schema mechanism ie., Active Standby and Standalone Master Subscriber mechanism etc.,
    If so what are the steps. like how we need to change the existing schema?
    Thanks In advance.
    Naveen

  • Assign multiple relationships at once

    Hi everyone...I am working in Primavera P6 Project Management Release: 7.0 Service Pack 3 (Build #: 00033036)
    When trying to assign multiple relationships at once, my computer will not allow me to capture multiple activities that have been assigned as either a predecessor or successor. I can highlight them, but when I click the assign button they all briefly flash as being captured then the assignment only shows the first activity in my complete schedule?
    I am able to log into a co-workers machine with my credentials and perform this task, but not on my machine. Do you have any suggestions?
    Thanks

    Hello,
    I assume this is all in the same project? It sounds like your project profile security settings could be different than your co-workers. I would see if there is a conflict between your settings from the admin perspective.
    Check these two lines in project security profile.
    Edit Project Activity
    Relationships
    Create, edit, and delete a project’s activity
    relationships.
    Add/Edit Project
    Activities Except
    Relationships
    Create and edit a project’s activity information, except
    activity relationships. To edit activity IDs, a user must
    also be granted the Edit Activity ID project privilege.

Maybe you are looking for

  • FCP doesn't open after hiding!

    Hello everyone! I got some problems with my FCP after hiding. When I hide it (command+h) and try to re-enter on the program, I do not obtain any response from it, so I have to force quit and, in consequence, lose all the unsaved changes... Any idea a

  • Trouble synchronizing IPOD and ITunes

    I had the Ipod and ITunes syncing up correcting under my old laptop under Windows XP Professional. I got a new laptop with Windows XP Professional. I copied all the songs from the old to the new laptops and syncing was ok. The new laptop developed a

  • Add skype button onto website?

    I've been trying to get a skype button for my website, so that clients can call/chat to me directly but keep on getting an error message http://developer.skype.com/skype-uris/generator Any ideas what's going on?  Seemed to be an easy thing to do a li

  • CA reporting wrong DOFD---UPDATE

    I have been trying to figure out why this debt wasn't due to fall off my report until next year when I stopped paying the OC in May 2008, and today I called EX and they told me the DOFD was 6/2009 which is WRONG. She initiated a dispute for me statin

  • Illegal XML character exception in Importing data imprt manager

    Did any one of you face Illegal XML character error while importing extracted data from ECC I googled and found out XML parser does not like to find '<' '&' in the data , is that true? if so what was the work around ?? BTW we are getting DEBMDM custo