To Design Distributed Database?

What Architecture should I follow to Design Distributed Database?
By using Forms at frount_end How do I design the Schema of client and server Database
.

I think you can use Java Trasaction API that is independent of the Resources and will give you more flexibility to handle trasactions
This link may be helpful
http://www.onjava.com/pub/a/onjava/2001/05/23/j2ee.html

Similar Messages

  • Best Practice for Distributing Databases to Customers

    I did a little searching and was surprised to not find a best practice document for how to distribute Microsoft SQL Databases. With other database formats, it's common to distribute them as scripts. It seems that feature is rather limited with the built-in
    tools Microsoft provides. There appear to be limits to the length of the script. We're looking to distribute a database several GBs in size. We could detach the database or provide a backup, but that has its own disadvantages by limiting what versions
    of the SQL Server will accept the database.
    What do you recommend and can you point me to some documentation that handles this practice?
    Thank you.

    Its much easier to distribute schema/data from an older version to a newer one than the other way around. Nearly all SQL Server deployment features supports database version upgrade, and these include the "Copy Database" wizard, BACKUP/RESTORE,
    detach/attach, script generation, Microsoft Sync framework, and a few others.
    EVEN if you just want to distribute schemas, you may want to distribute the entire database, and then truncate the tables to purge data.
    Backing up and restoring your database is by far the most RELIABLE method of distributing it, but it may not be pratical in some cases because you'll need to generate a new backup every time a schema change occurs, but not if you already have an automated
    backup/maintenance routine in your environment.
    As an alternative, you can Copy Database functionality in SSMS, although it may present itself unstable in some situations, specially if you are distributing across multiple subnets and/or domains. It will also require you to purge data if/when applicable.
    Another option is to detach your database, copy its files, and then attach them in both the source and destination instances. It will generate downtime for your detached databases, so there are better methods for distribution available.
    And then there is the previously mentioned method of generating scripts for schema, and then using an INSERT statement or the import data wizard available in SSMS (which is very practical and implements a SSIS package internally that can be saved for repeated
    executions). Works fine, not as practical as the other options, but is the best way for distributing databases when their version is being downgraded.
    With all this said, there is no "best practice" for this. There are multiple features, each offering their own advantages and downfalls which allow them to align to different business requirements.

  • Someone please help me Design the database of bill of materials

    I want to design the database of bill of materials which contain item and amount.
    So the amount of child will depend on amount of parent in term of ratio. For example
    A(1)               A(2)
    |         ---->     |
    B(2)               B(4)
    My problem is when i try to add the parent and child . Let A is the parent of B , If i try to add A to be the child of C
    I want B to come along with A as well. For example
    A                       C
    |     C  --->        |           For this I have to store the relation of all item in  my list to check that this item have a child or not if yes
    B                             A              The child must come along with its parent , What the Er-diagram
    should be for all of my requirement?
                                    |
                                    B

    >I want B to come along with A as well. For example
    You can do that, but that is not automatic. You need to do some programming.
    It is better to use hierarchyid representation of the tree over traditional FK referencing.
    Tree using hierarchyid example:
    http://www.sqlusa.com/bestpractices2008/orgchart/
    BOL: "Model Your Data Hierarchies With SQL Server 2008
    .....The manufacturing system behind automobiles; the organization of a country into states, counties, cities, and postal codes; the description of a home entertainment system—what do these things have in common? The simple answer is that each
    describes a hierarchy.
    SQL Server 2008 supports a new data type, HierarchyID, that helps solve some of the problems in modeling and querying hier­archical information. I will introduce you to this data type by discussing a pattern commonly used in manufacturing
    known as bill of materials (BOM), or bills. Starting with a brief discussion of BOMs, I will illustrate how this kind of data can be modeled. I will also present an implementation of this model in SQL Server 2005. Then I will show you how the HierarchyID data
    type can be used to implement the model in SQL Server 2008.
    Hierarchical Data
    Automobiles are amalgamations of many components, such as engines, drivetrains, electronics, and steering. In the United States, our geographic territories are divided into states and are then sub-divided into jurisdictions called counties.
    Counties are then further subdivided in different ways by different agencies. The United States Census Bureau, for example, composes them from Census Tract Areas. The U.S. Postal Service routes mail delivery by Zone Improvement Plan (ZIP) codes. Geographic
    information systems (GIS) may aggregate census tracts and ZIP codes together to provide users with a familiar spatial reference for an area.
    A recent trip to a local electronics store to evaluate a replacement home entertainment system pointed to a similar sort of hierarchical system—all the combinations of possible components and options left my head spinning! I wondered
    how such systems could be modeled and implemented in a database system.
    The relationship between an automobile and its engine represents a hierarchy: the automobile contains the engine. The relationship is the same for the drivetrain, the electronics, and the steering. The relationship is containment. A
    similar hierarchy can be observed in the relationship between the different groupings of geographic or census data.
    Hierarchies exist everywhere, yet implementing them in the context of a relational database frequently proves to be a challenge. A typical approach is to represent the hierarchy using a parent/child relationship with one or more tables.
    While this approach certainly works in many cases, it has a few shortcomings. Such solutions must carefully consider how the referential integrity will be maintained. And while querying the depth and breadth of such tables was considerably simplified in SQL
    Server 2005 with the introduction of recursive common table expressions, writing queries against these types of tables can still be problematic when joins against many tables are required.
    A Bill of Materials Problem
    A few years ago I was working on a system being developed by a manufacturing company to help their dealers specify the components needed to build center-pivot irrigation systems. The software produced a list of components needed to custom-build
    the desired pivot (the totality of a center-pivot irrigation system is simply referred to as a pivot within the industry). The required components were determined based on geography, soil type, and the intended crops planted in the areas to be covered as well
    as the hydrologic and structural considerations of the device itself.
    Underpinning the solution would be a SQL Server database. The purpose of the database was to store information about the components available to build the pivot. However, when we generated the specification for manufacturing, we needed
    to identify those components as BOMs.
    Some bills represented a collection of physical parts that would be assembled into a system component. For example, every pivot needed a pump to draw water from a well into the system. That pump might be electrically powered, meaning
    it needed a transformer and fuse box, too. Or the pump might be fuel powered, meaning it needed a tank, a fuel pump, and hoses to connect the pump to the tank. In either case, the required parts for the pump would be listed in a pump bill.
    The bill for a complete pivot would include a collection of other bills. For example, a standardized pivot might consist of a tree of bills for the pump, another tree of bills for the spans of pipe used to deliver water, and bills for any other equipment
    needed to build that pivot system."
    LINK: http://msdn.microsoft.com/en-us/magazine/cc794278.aspx
    Kalman Toth Database & OLAP Architect
    SELECT Query Video Tutorial 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Someone please help me Design the database of bill of materials with 1 item can have mutiple parent

    I got this sample from  Uri
    Dimant (MCC, MVP) ,
    The problem is i want 1 item to have multiple parent  but this example don t   let 1  item to have multiple parents. this is not suit for my objective. 
    CREATE TABLE Employees
      empid   int         NOT NULL,
      mgrid   int         NULL,
      empname varchar(25) NOT NULL,
      salary  money       NOT NULL,
      CONSTRAINT PK_Employees PRIMARY KEY(empid),
      CONSTRAINT FK_Employees_mgrid_empid
        FOREIGN KEY(mgrid)
        REFERENCES Employees(empid)
    CREATE INDEX idx_nci_mgrid ON Employees(mgrid)
    SET NOCOUNT ON
    INSERT INTO Employees VALUES(1 , NULL, 'Nancy'   , $10000.00)
    INSERT INTO Employees VALUES(2 , 1   , 'Andrew'  , $5000.00)
    INSERT INTO Employees VALUES(3 , 1   , 'Janet'   , $5000.00)
    INSERT INTO Employees VALUES(4 , 1   , 'Margaret', $5000.00) 
    INSERT INTO Employees VALUES(5 , 2   , 'Steven'  , $2500.00)
    INSERT INTO Employees VALUES(6 , 2   , 'Michael' , $2500.00)
    INSERT INTO Employees VALUES(7 , 3   , 'Robert'  , $2500.00)
    INSERT INTO Employees VALUES(8 , 3   , 'Laura'   , $2500.00)
    INSERT INTO Employees VALUES(9 , 3   , 'Ann'     , $2500.00)
    INSERT INTO Employees VALUES(10, 4   , 'Ina'     , $2500.00)
    INSERT INTO Employees VALUES(11, 7   , 'David'   , $2000.00)
    INSERT INTO Employees VALUES(12, 7   , 'Ron'     , $2000.00)
    INSERT INTO Employees VALUES(13, 7   , 'Dan'     , $2000.00)
    INSERT INTO Employees VALUES(14, 11  , 'James'   , $1500.00)
    WITH EmpCTE(empid, empname, mgrid, lvl)
    AS
      -- Anchor Member (AM)
      SELECT empid, empname, mgrid, 0
      FROM Employees
      WHERE empid = 1
      UNION ALL
      -- Recursive Member (RM)
      SELECT E.empid, E.empname, E.mgrid, M.lvl+1
      FROM Employees AS E
        JOIN EmpCTE AS M
          ON E.mgrid = M.empid
    SELECT * FROM EmpCTE
    My object is
    I want to design the database of bill of materials which contain item and amount.
    So the amount of child will depend on amount of parent in term of ratio. For example
    A(1)               A(2)
    |         ---->     |
    B(2)               B(4)
    My problem is when i try to add the parent and child . Let A is the parent of B , If i try to add A to be the child of C
    I want B to come along with A as well. For example
    A                       C
    |     C  --->        |           For this I have to store the relation of all item in  my list to check that this item have a child or not if yes
    B                            
    A              The child must come along with its parent , What the Er-diagram should be for all of my requirement?
        |
        B
    Base on the example that Uri
    Dimant gave me ,  i have to stroe 1 item wtih multi parents for example if b is a child of a And b  have c as child , When i insert D as a parent of B   , c will automatic come along with B , But this not seem gonna work.
    item   Parent 
     A      NULL
    B         A
    C         B
    B         D
    Am i wrong to go this way  , any idea

    thanks Uri
    Dimant
    I am
    little confuse about how can i write
    hierarchy sql  from this relation  , Thanks
    so far i got 
    WITH EmpCTE(cid, cname, pid, lvl)
    AS
      SELECT      cid , cname ,  children.pid , 0
      FROM            children INNER JOIN
      parents ON children.pid = parents.pid
      where  cid = 1
      UNION ALL
      SELECT      E.cid , E.cname ,  E.pid , M.lvl+1
      FROM       ( select  cid , cname , children.pid FROM  children INNER JOIN
      parents ON children.pid = parents.pid) AS E JOIN EmpCTE AS M
          ON E.pid = M.cid
    SELECT * FROM EmpCTE  

  • Distributed Database + DB13 + SAPXPG + Standalone Gateway

    Hi All,
    I knew this question has been asked and answered but i still couldn't find the concrete solution. Any advise is mostly welcome.
    I've installed Distributed Database on Solaris and CI on Solaris as well. Due to security reason and policies, our customer stop us from using RSH.
    I've installed standalone gateway in Distributed Database with System Name EGW, system number 20. My SAP and DB name is AEP.
    gwrd is started using egwadm. TCP_IP connection SAPXPG_DBDEST_DBHOSTNAME works fine, however when i kick off checkDB in DB13, i got the below error:
    "> Function: BtcXpgPanicCan't exec external program (No such file or directory)"
    Have i miss out something? Do i need to add any ENV to egwadm or edit the SAPXPG program?
    fyi, br* and SAPXPG authorization are all set correctly in /sapmnt/AEP/exe. Env for AEPadm in CI is identical to AEPadm in DB server.
    Please advise.
    Thanks,
    Nicholas Chang.

    Hi All,
    Since there's no SAP Note explaining how to setup standalone gateway in UNIX env and incorporate for brtools to work in distribtuted system. I'll summarize the resolution here:
    1) Install GW in database server
    2) update the GW start profile with below value:
    BGW = Gateway's SID.
    SETENV_00 = LD_LIBRARY_PATH=$(DIR_LIBRARY):%(LD_LIBRARY_PATH)
    SETENV_01 = SHLIB_PATH=$(DIR_LIBRARY):%(SHLIB_PATH)
    SETENV_02 = LIBPATH=$(DIR_LIBRARY):%(LIBPATH)
    SETENV_03 = ORACLE_SID=SID
    SETENV_04 = SAPDATA_HOME=/oracle/
    SIDSETENV_05 = PATH=$PATH:/home/BGWadm:/usr/sap/SID/SYS/exe/run:/usr/bin:.:/usr/ccs/bin:/usr/ucb:/oracle/SID/112_64/bin
    3) update BGWadm env profile - sapenv_HOSTNAME.csh
    setenv SAPDATA_HOME /oracle/SID
    setenv ORACLE_SID   SID
    setenv PATH /home/bgw:/usr/sap/BGW/SYS/exe/run:/usr/bin:.:/usr/ccs/bin:/usr/ucb:/oracle/SID112_64/bin
    setenv ORACLE_HOME /oracle/SID/112_64
    setenv USER bgwadm
    setenv dbs_ora_schema SAPSR3
    setenv NLS_LANG AMERICAN_AMERICA.UTF8
    setenv DB_SID SID
    setenv dbs_ora_tnsname SID
    setenv dbms_type ORA
    setenv LD_LIBRARY_PATH /usr/sap/SID/SYS/exe/run:/oracle/SID/112_64/lib
    setenv DIR_LIBRARY /usr/sap/SID/SYS/exe/run
    4) copy br* to gateway's /sapmnt/SID/exe/ and ensure 4775 is granted
    5)Create the special OPS$ setting to allow BGWADM to log into the database.  use the script below .  Log in as oraSID to run this on DB host via SQLPLUS (connect /as sysdba)
    CREATE USER "OPS$BGWADM" DEFAULT TABLESPACE PSAPSR3USR
    TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
    grant unlimited tablespace to "OPS$EGWADM" with admin option;
    grant connect to "OPS$BGWADM" with admin option;
    grant resource to "OPS$BGWADM" with admin option;
    grant connect to "OPS$BGWADM" with admin option;
    grant resource to "OPS$BGWADM" with admin option;
    grant sapdba   to "OPS$BGWADM" with admin option;
    CREATE TABLE "OPS$BGWADM".SAPUSER
    (USERID VARCHAR2(256), PASSWD VARCHAR2(256));
    INSERT INTO "OPS$BGWADM".SAPUSER VALUES ('SAPSR3',
    'your_password');
    6) stop gateway and kill gateway sapstartsrv
    7) start gateway
    8) in CI - SM59 - TCP_IP -> SAPXPG_HOSTNAME_DB -> ensure gateway host is points to DB server and sapgw is the system number for DB Gateway
    9) test checkDB in db13.
    Cheers,
    Thanks,
    nicholas chang.

  • Distributed database

    Hi Everyone,
    We are looking at different options to connect the forte application to
    distributed database.
    Any help greatly appreciated
    Thanks & Regards
    Raju
    (Pothuraju Katta)
    [email protected]
    Phone: 847-969-3000
    Fax: 847-995-8287
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi Haidar,
    Actually, SQL Server does not recognize "distributed database" as concept.
    Based on your description, you want to access databases located at different locations. To achieve the requirement, you can create
    linked servers
     or configure
    replication in SQL Server.
    Linked servers provide SQL Server the ability to access data from remote data sources. Using these mechanisms, you can issue queries, perform data modifications and execute remote procedures.
    Replication is a set of technologies for copying and distributing data and database objects from one database to another and then synchronizing between databases to maintain consistency. Using replication, you can distribute data to different locations and
    to remote or mobile users over local and wide area networks, dial-up connections, wireless connections, and the Internet.
    There are also detailed blogs and similar thread for your reference.
    Distributed Databases in SQL Server 2005
    http://www.c-sharpcorner.com/UploadFile/john_charles/DistributeddatabasesinSQLServer11122007092249AM/DistributeddatabasesinSQLServer.aspx
    SQL SERVER – Shard No More – An Innovative Look at Distributed Peer-to-peer SQL Database
    http://blog.sqlauthority.com/2012/11/27/sql-server-shard-no-more-an-innovative-look-at-distributed-peer-to-peer-sql-database/
    How to implement distributed database in SQL Server 2008 R2?
    http://stackoverflow.com/questions/7926773/how-to-implement-distributed-database-in-sql-server-2008-r2
    Thanks,
    Lydia Zhang

  • Distributed Database  with IPV6

    Distributed database was not that familiar few years before...will IPv6 enhance the distributed database systems ? DDBMS has wide range of best features & notable drawbacks to..however today's business need of distributed database. contribution of DDBMS in Cloud computing.

    user4422434 wrote:
    Distributed database was not that familiar few years before...will IPv6 enhance the distributed database systems ? No. Distributed databases have been common in the last century too.. running across IPv4 and Novel IPX networks.
    Do not confuse the communication transport layer with the ability of the database to support distributed integration. Even NetBEUI can be used (assuming that protocol routing is not needed). Distributed database is not about protocol dependency.

  • RE: Distributed database [Ref:C776312]

    By "distributed database", do you mean that the database lives on several
    servers, or that the database lives on one server which is distributed from the
    application ?
    Steve Elvin
    Systems Developer
    Frontline Ltd.
    UK
    -----Original Message-----
    From: INTERNET [email protected]
    Sent: Friday, October 23, 1998 12:13 AM
    To: Steve Elvin; X400
    p=NET;a=CWMAIL;c=GB;DDA:RFC-822=forte-users(a)sageit.com;
    Subject: Distributed database [Ref:C776312]
    Hi Everyone,
    We are looking at different options to connect the forte application to
    distributed database.
    Any help greatly appreciated
    Thanks & Regards
    Raju
    (Pothuraju Katta)
    [email protected]
    Phone: 847-969-3000
    Fax: 847-995-8287
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    By "distributed database", do you mean that the database lives on several
    servers, or that the database lives on one server which is distributed from the
    application ?
    Steve Elvin
    Systems Developer
    Frontline Ltd.
    UK
    -----Original Message-----
    From: INTERNET [email protected]
    Sent: Friday, October 23, 1998 12:13 AM
    To: Steve Elvin; X400
    p=NET;a=CWMAIL;c=GB;DDA:RFC-822=forte-users(a)sageit.com;
    Subject: Distributed database [Ref:C776312]
    Hi Everyone,
    We are looking at different options to connect the forte application to
    distributed database.
    Any help greatly appreciated
    Thanks & Regards
    Raju
    (Pothuraju Katta)
    [email protected]
    Phone: 847-969-3000
    Fax: 847-995-8287
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Distributed database environment

    In my one Jheadstart project, it will meet distributed database environment, that is some one project's application data be located in different oracle database .
    How to treat this situation, about in one project to handle distributed database environment ?
    Is the jheadstart support multi database connection ?
    or need through database link capacity to fulfill !

    Ting Rung,
    There is at least one thing that you might run into, and that is the issue of transaction management. An application module represents a 'data model' for a tak that is accomplished within one transaction. You can nest application modules, but even then will the top-level application module provide the transaction context.
    This means that all data that necessarily needs to be persisted in one transaction, needs to be represented by the same (hierarcy of) application module(s) and therefore must come from the same data source (database). Said in other words: when the customers are in one database and the orders in another, you cannot persist them in one and the same transaction.
    There are more issues related to distributed applications. I have no experience with that, so I cannot comment on that. I do know that many distributed enterprise applications make use of EJB technology. BC4J supports entity beans (to be compared with entity and view objects). It also knows EJB application modules that behave like session beans. JHeadstart does not support using EJBs, however.
    For further information about the support for EJB technology, I would like to refer you to the online help of JDeveloper.
    Jan Kettenis
    JHeadstart Team

  • New book! Physical Database Design: The Database Professional's Guide

    Morgan Kaufmann publishers have just released a new book on physical database design covering how to design indexes, range and hash partitioning, materialized views, storage layout, RAID, warehouse design and other physical design areas. The book covers Oracle and several other major databases. Lots of diagrams and examples. It's actually a really good book. An excellent book for people who design and administer databases.
    Available on Amazon and most other book sellers.
    Physical Database Design: The Database Professional's Guide to Exploiting Indexes, Views, Storage, and More
    by Sam S. Lightstone, Toby J. Teorey, Tom Nadeau
    Paperback, 448 pages, publication date: MAR-2007
    ISBN-13: 978-0-12-369389-1
    ISBN-10: 0-12-369389-6
    Series: The Morgan Kaufmann Series in Data Management Systems
    Link on Amazon:
    http://www.amazon.com/Physical-Database-Design-professionals-exploiting/dp/0123693896
    Link on the publisher's web site:
    http://www.elsevier.com/wps/find/bookdescription.cws_home/710637/description#description
    Comments on the book can be sent to: [email protected]

    how could we get the report of previous five years sale of the products.
    SELECT trunc(sale_date, 'YYYY'), sum(sale_qty)
    FROM   sales
    WHERE  sale_date >= add_months(sysdate-60)
    GROUP  BY trunc(sale_date, 'YYYY')
    suggest whether dropped Product name from the sale table as I already have a column prodid in it?Yes. Duplicated data is a Bad Thing. This is Rule #1 of the late Dr. Codd's 12 rules. These are the foundationstones of good relation design. Wikipedia has a good introduction to them.
    Cheers, APC

  • What the steps are useful for us while designing the database by Performanc

    Dear Experts
    Plz tell me.
    What the steps are useful for us while designing the database by Performance point of view.
    Like Proper indexing and table assing to specific tbalespace etc

    Oracle manuals would do the best for you. There is no step by step rules for tuning the database , had this be true , then Oracle must've write a programme , application or sql script to achive it . I would advise you to go through oracle performance and tuning guide .
    Hare Krishna
    Alok

  • Distributed Database Design Help

    I want to computerise a department where it has several branches. Each branch deals with customers from its region, processing applications and issuing orders. Processing an application goes through several levels. Like from branch office to regional office and later to head office and then back to the branch office for issuing order. and the requirement is that each branch should work irrespective of the network condition.So I want to make each office to be autonomous (storing the data related to the branch at its branch server). And one more requirement is that i want to make a web system where customers should be able to lodge application (by selecting the branch office) and check their application status. So the DB of all branches should be available to the web system no matter where the data of different branches is stored.
    Give me a brief description on possible Distributed DB design that will be sufficient for implementing the system.
    Thanks in Advance
    Sundar.

    Think of local databases, replication, maybe advanced queuing. BPEL/SOA (for adding some buzzwords). Workflow (management) could also be part of the equation. Brief enough?
    Anything else could require an in depth analysis - and there are people available for hire to pick up this job.
    C.

  • Where Can I Find Components And Footprints Not Included In The Circuit Design Suite Databases?

    One of the most common questions asked by users of the Multisim and Ultiboard suite is about finding components. From time to time you may come across the need of a particular component or footprint (lanbdpattern) that is not included in the master databases. So where can you look for these components? There are multiple places to begin your search, both 3rd party and from NI that are free and readily accessible:
    One of the long-standing free resources is the Kittmaster's Component Database which is maintained by Kittmaster (Chris) one of our proven active veterans of this board as well as a Beta Tester of the Circuit Design Suite. You will find a vast collection of already built parts in Multisim and Ultiboard formats that have been submitted by users like you that have register on kittmaster's database and that actively upload custom component creations. I encourage you to register and share.
    NI has recently created the Circuit Design Community in response to requests from users around the world. The Circuit Design Community aims to provide an open resource for designers that need or would like to share Multisim components, Ultiboard footprints, sample design files and other documents that are of use for the design community. The basic difference between the Circuit Design Community and this Circuit Design Discussion Forum is that the Community is tailored for document and file sharing, whereas the Forum is designed with problem solving, tip sharing and general support questions in mind. Again, I encourage you not only to search, but also to share any components you may have created that are useful for other designers.
    Most manufacturers that offer SPICE or PSPICE models in their websites would typically allow you to download them free of charge, in most cases accepting a license agreement. The first step is to identify who the manufacture of the part you are looking for is, as well as cross-reference manufacturers. Then search in their corresponding websites for the product folder or design resources section. If you find SPICE or PSPICE models you can easily import those when creating a new component, remember that Multisim is highly compatible with PSPICE models, and every new release adds more compatibility. If you cannot find the model, it does not hurts to call or email the manufacture and ask directly if they have such models, in many cases they are not advertised in the web.
    Last, but not least, use your favourite internet search engine and see if anyone out there has posted or worked on a similar model.
    Thank you for using the support resources and I hope that these options fulfill most of the component searches that you may need to do.
    Message Edited by nestor on 04-14-2009 02:52 PM
    Nestor
    National Instruments

    You can have a look at some established projects that are using similar tools - where do they put the application files etc.
    There are things like XDG_CONFIG_HOME, XDG_DATA_HOME etc. http://standards.freedesktop.org/basedi … atest.html

  • EF Designer from Database with association

    Hi,
    I hope I selected the right category and forum otherwise let me know.
    I have simply added a EF From database workflow and it generated all the tables all right on the designer.  Now I'm trying to add an association from Customer to Contact and the first thing I get when I compile is Property is not mapped.  See image
    below.  What do I have to do ?  I don't see the CustomerId in the mapping below so I can't map it or there's something I don't understand

    Now I deleted the association and the CustomerId field in Contact and build then I tried creation the assosiation again and now I have a different message
    Error 1 Error 3004: Problem in mapping fragments starting at line 135:No mapping specified for properties Contact.CustomerId in Set Contacts.
    An Entity with Key (PK) will not round-trip when:
      Entity is type [CustomerManagerModel.Contact]
     C:\MyWork\WPF\ClientManager\CustomerModel.edmx 136 15 ClientManager

  • Designing XML Database

    Hello,
    I'm in the process of designing a relatively large XML DB System and I'm having some doubts regarding the best structure for the main XML document, in order to optimize search as well as organizing the document in such a way that is not relational (as I usually tend to think when designing an XML DB, for background reasons).
    Basically, we're trying to create a single XML document, but there's a lot of information spread in other entities and tables. We´re trying to minimize the tables and aggregate as much information as possible in a single XML file, to avoid any "relational" query, but also without getting redundant. To illustrate what I mean, here is an example:
    <?xml version="1.0" encoding="UTF-8"?>
    <doc>
         <people>
              <person>
                   <name> Johnny </name>
                   <address> St. Street, 444 </address>
              </person>
              <person>
                   <name> Tom </name>
                   <address> Mr. Street, 444 </address>
              </person>
              <person>
                   <name> Cat </name>
                   <address> Dr. Street, 444 </address>
              </person>
         </people>
         <vehicle>
              <driver>
                   <!-- redundant information, like above -->
                   <person>
                        <name> Johnny </name>
                        <address> St. Street, 444 </address>
                   </person>
              </driver>
         </vehicle>
    </doc>As you can see above, we have some redundant information repeated. Also, most importantly, I have no way of having some referencial integrity. Now, in the next example, I have tried adding a reference, using an ID node in the person element, in order to avoid the redundancy and get some integrity:
    <?xml version="1.0" encoding="UTF-8"?>
    <doc>
         <people>
              <person id="10">
                  <name> Johnny </name>
                   <address> St. Street, 444 </address>
              </person>
              <person id="11">
                   <name> Tom </name>
                   <address> Mr. Street, 444 </address>
              </person>
              <person id="12">
                   <name> Cat </name>
                   <address> Dr. Street, 444 </address>
              </person>
         </people>
         <vehicle>
              <driver>
                   <!-- storing just an ID reference> -->
                   <person>
                        <id>10</id>
                   </person>
              </driver>
         </vehicle>
    </doc>But that's my point: am I thinking "relational" here? Is there any other way to solve this, in a more efficient and secure way?
    best regards,
    - Breno

    You may like to take a look at HyperJAXB that I have used recently for a structure similar to yours. In HyperJAXB, you use JAXB binding with Hibernate on relational databas. So that you can get the results as XML document but you can also leverage relational database structure. And you can control all that without writing any code by adding annotations to XML schema document.
    -- Deha Peker

Maybe you are looking for