Merging schemas

hi all
we have three schemas in live, now we want to merge all the three schemas into one schema. we have the same set of tables in all the three schema.
we are using sequence to generate unique values .All the tables in all schemas will have their own sequence. coz of this we are having same key values across the schema.
let me explain my example
schema x : table EMP has key value of 100
schema y : table EMP has key value of 100
schema z : table EMP has key value of 100
when i merge the above data to my main schema table i will end up with constraint violation.But i want all the three records in my main schema table
though the key value is same but the record is unique.
also i have child tables depending on the above parent table
if i change the key value also i have to change the dependent column value in the child table.
reply me the feasible approach for the above problem.
--------Keyan -------------------

If you wish to merge the schemas without having to change anything in application,
1. You need to use add a new column to each and every table in each schema (with a different default value for each schema)
2. Populate that with some value for all tables in all schemas
3. Recreate all PKs and FKs in all of the schema to include this new column
4. Export from two other schemas and import into remaining schema
This will ensure that you can merge the schemas but if you wish to differentiate the records inserted thereafter, it would be your business logic.
If you are on 10g, you can make use of DBMS_REDEFINITION to good extent in above steps.

Similar Messages

  • Merge Schema

    I have a requirement to merge all the objects of schema A of database X to schema B of database Y. What would be the best way to do this?
    Apart from tables,indexes schema A also have BLob object, materialize views, type. The size of database X is 50 GB.
    Both the database are in Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi.
    Thanks for any help?

    For creating index, Do I impdb/expdb just the indexes ? No. Use SQLFILE option from impdp to extract the DDL for table,index,MV's etc.
    or
    Use dbms_metadata.get_ddl to generate the index scripts.
    Also, Won't datapump take care of MV. Why do we need to create DDL for it?It would. You may get some errors, code contains hardcoded schema references. With the DDL,it will be clean. You can create the MV's and refresh them.
    HTH
    -Anantha

  • Merging netlet rules

    We are looking for a workaround of a feature in portal V3 that was remove in V6
    in our portal 3 configuration we added an imapservername attribute to the portal 3 profile and used external ldap mappings to map it to mailhost. We then used $iwtUser-imapservername for the TARGET and it acted as a variable to automatically plug in the right value for the user. The reason we were using this is we have more then 1 imaps servers.
    What we have tried so far is to create a 2 new roles with the netlet rules defined in them, but are unable to meake them appear for the users. What are we missing.

    I am not aware about a way to do value substitutions as originally asked, but getting netlet rule from multiple roles to be combined in a users dynamic profile is simple enough.
    Simply go to the instance of the srapNetletService template that is in your organization and look for the "cosAttribute: sunnetletrules default" element. Add "merge-schemes" to this: "cosAttribute: sunnetletrules default merge-schemes".
    Now any roles with service templates for Netlet will have their rules merged. Carefull though as the this now means that priority processing for this attribute is essentially discarded.
    Do make the merge-schemes update persistant , i.e. when you register the netlet service with a new org or suborg add that to the cosOptions element of the srapNetletService schema definition in the ou=services,ou=DAI.... area.
    C

  • How to configure simultanous access for 11i application

    Hi All
    We have one existing 11i application instance on node grid1.In which we start the servicess from apps user.
    In our same we want another node for the same application in which we will start the servicess from another user(merge)
    For that we perfrom the following steps
    1.Copy the APPL_TOP,COMMON_TOP,ORA_TOP(8.0.6,iAS) from node "GRID1" to diffrent node "GRID2"
    2 configure the GRID2 node using adcfgclone.pl utility(we have configure new node for WEB and FORM Server)
    3 We perfrom the modification in the following files ON GRID2 .
    i Identify 'FNDNAM=apps' statement in $FND_TOP/secure/<context>.dbc
    and replace with 'FNDNAME=merge' to connect to MERGE schema instaed of APPS.
    ii. Go to the last line of $APACHE_TOP/jserv/etc/zone.properties file
    and identify 'schema=APPS' statement and change it to 'schema=MERGE'
    iii. Identify below lines in $APACHE_TOP/modplsql/cfg/wdbsvr.app file
    password = apps
         username = apps
         document_table = APPS.fnd_lobs_document
    and replace with modified below lines
    password = merge
         username = merge
         document_table = MERGE.fnd_lobs_document
    6. For redirecting user's request to new Application Server server, we
    changed the following 4 system profile options with proper URL and port
    at responsibility level only for the responsibilities,
    which we use for Merge views.
    Profile Options
         Application Framework Agent
         Applications JSP Agent
         Applications Web Agent
         Apps Servlet Agent
    When we are able to start the services on GRID2 node,but at the time of login we are getting invalid user name/ passwd error
    Please let us know is there any way to access application other than apps user
    Regards
    Sohail

    well thank you very much .I know how to define a DataSource inside Weblogic Server.
    But i am confused over one issue
    When We are going to use Container Managed EntityManager inside the SessionBean the persistence.xml file looks like this
    *<persistence>*
    *     <persistence-unit name="RamsEJBPU" transaction-type="JTA">*
    *          <jta-data-source>myJtaDataSource</jta-data-source>*
    *     </persistence-unit>*
    *</persistence>*
    But in some cases it looks like as shown below :     <persistence-unit name="RamsEJBPU" transaction-type="resource-local">
         <provider>org.hibernate.ejb.HibernatePersistence</provider>
                        <properties>
                   <property name = "hibernate.connection.driver_class" value = "oracle.jdbc.driver.OracleDriver"/>
                   <property name = "hibernate.connection.url" value = "jdbc:oracle:thin:@localhost:1521:orcl"/>
                   <property name = "hibernate.connection.username" value = "CHENNAISPAT"/>
                   <property name = "hibernate.connection.password" value = "CHENNAISPAT"/>
                </properties>
         </persistence-unit>
    </persistence>Can you please tell me why is it so ??

  • Gnumeric build and its libs

    Hello,
    I build a new version of gnumeric using a slightly changed PKGBUILD from ABS. I hat to rebuild three libraries for that reason: goffice, libgda and libgnomedbdb with recent Versions.
    Everything went well, but now a pacman -Suy trys to force me to install the old versions libgda-1.2.4-1  libgnomedb-1.2.2-6 .
    I have libgda 3.1.1-1 libgnomedb 3.1.1-1. Why does pacman think, these are older than  libgda-1.2.4-1  libgnomedb-1.2.2-6 ?
    My PKGBUILD for gnumeric:
    # $Id: PKGBUILD,v 1.26 2007/08/12 05:06:10 aaron Exp $
    # Maintainer: Aaron Griffin <[email protected]>
    # Contributor: Kritoke <[email protected]>
    pkgname=gnumeric
    pkgver=1.7.12
    pkgrel=1
    pkgdesc="A GNOME Spreadsheet Program"
    url="http://www.gnome.org/projects/gnumeric/"
    arch=(i686 x86_64)
    license=('GPL')
    depends=('goffice>=0.4.2')
    makedepends=('perlxml' 'pygtk' 'psiconv' 'pkgconfig')
    install=gnumeric.install
    source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.7/${pkgname}-${pkgver}.tar.bz2)
    md5sums=('d00a63bac78e29920e5ea2fce8cfa25e')
    options=('libtool')
    build() {
    cd ${startdir}/src/${pkgname}-${pkgver}
    find . -name Makefile.in -exec sed -i -e 's/-scrollkeeper-update.*//' {} \;
    if [ -f omf.make ]; then
    sed -i -e 's/-scrollkeeper-update.*//' omf.make
    fi
    find plugins -name 'plugin.xml.in' -exec sed -i -e 's/\.la/.so/g' {} \;
    rm -f GNOME_Gnumeric.server.in
    ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --disable-static \
    --with-guile --without-bonobo --enable-ssindex
    make || return 1
    make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
    mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
    gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
    rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas

    Well, my built of gnumeric 1.7.12 works. My question was merely in pacman's direction. Why does pacman think, 3.1.1.1 is older than 1.2.4 or 1.2.2.6?
    But I learned yesterday from another thread somewhere that pacman.conf has a command IgnorePkg, so I put libgda and libgnomedb there, so I don't have a problem.

  • [SOLVED]gnome-volume-manager / hal 0.5.10 - can't deactivate automount

    http://wiki.archlinux.org/index.php/HAL
    I've created /etc/hal/policy/preferences.fdi
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
    <device>
    <match key="storage.hotpluggable" bool="false">
    <match key="storage.removable" bool="false">
    <merge key="storage.automount_enabled_hint" type="bool">false</merge>
    </match>
    </match>
    </device>
    </deviceinfo>
    The article say "Policies" may be deprecated in hal 0.5.10. I doubt that, but i dont know what is deprecated though.
    I did check the documentation out, and everything i did still seems to be valid.
    http://people.freedesktop.org/~david/ha … ies-volume
    Does gnome-volume-manager honor this setting in gnome 2.20?
    Last edited by pelle.k (2008-02-04 20:12:51)

    It would seem i solved it myself.
    First of all, gnome-volume-manager need to be recompiled with a patch i found (ubuntu gutsy); http://patches.ubuntu.com/by-release/ex … hint.patch
    Why this isn't included by default in gnome-volume-manager is beyond me!? You bad, bad, gnome devs!
    Replace the PKGBUILD when building from ABS.
    # Contributor: Link Dupont <[email protected]>
    pkgname=gnome-volume-manager
    pkgver=2.17.0
    pkgrel=3
    pkgdesc="GNOME daemon to auto-mount and manage media devices"
    arch=(i686 x86_64)
    license=('GPL')
    url=http://www.gnome.org/
    depends=('libgnomeui>=2.20.0' 'libnotify>=0.4.4' 'gnome-mount>=0.6')
    makedepends=('nautilus>=2.20.0' 'perlxml' 'pkgconfig')
    install=gnome-volume-manager.install
    groups=('gnome-extra')
    source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.17/${pkgname}-${pkgver}.tar.bz2
    gvm-mount-async.patch
    gvm-check-local.patch
    http://patches.ubuntu.com/by-release/extracted/ubuntu/g/gnome-volume-manager/2.17.0-2ubuntu2/02_honour_automount_enabled_hint.patch)
    md5sums=('104cec26e721e0bba69debd392367195'
    '534b8b9633148bd975b2b9b518c41fb4'
    'cb45810b2adb95d39e1272470f10a21a'
    '7288a9dc57df321d6a379c9b6a7caaff')
    build() {
    cd ${startdir}/src/${pkgname}-${pkgver}
    patch -Np0 -i ${startdir}/src/gvm-mount-async.patch || return 1
    patch -Np0 -i ${startdir}/src/gvm-check-local.patch || return 1
    patch -Np1 -i ${startdir}/src/02_honour_automount_enabled_hint.patch || return 1
    ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var
    make || return 1
    make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
    mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
    gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
    rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
    Also, this is my /etc/hal/fdi/policy/preferences.fdi
    <match key="storage.hotpluggable" bool="false">
    <match key="storage.removable" bool="false">
    <merge key="storage.automount_enabled_hint" type="bool">false</merge>
    </match>
    </match>
    If you compare that to my first version, you'll note that it is *not* enclosed in <deviceinfo> and <device> tags, simply because that wouldn't work. Don't ask me why. i'm by no means a HAL expert...
    Last edited by pelle.k (2008-02-04 20:12:00)

  • EA1: Diff Wizard Issues

    The schema difference tool now seems to work reliably, but I find it very limited. The main limitations are
    1 it is 'one-way'.
    It doesn't show you objects in the target schema which aren't in the source schema. I think this is by design - the aim seems to be to provide a tool for converting adding one schema to another. I had hoped for more of a 'schema merge' tool (see below).
    2 You can't see the actual differences.
    For tables you can see the ddl to change the table, but you can't see what was there in the first place.
    For PL/SQL objects, the 'create or replace syntax' means you can't see what the differences were at all.
    This is what I would like to see.
    As I said above, I would like a schema merge tool, just like the code merge tool in JDeveloper and many other development tools.
    1) The ability to view the two schemas side by side with differences highlighted.
    2) The ability to create a merged schema by selecting differences from either side
    3) Generate DDL to go from either schema to the merged schema.
    I used to use something similar years ago with ERwin http://www.ca.com/us/products/product.aspx?id=260
    BTW. How do you post proper hyper links in the forum?

    An example of an empty line? If you insist... ;-)
    Delimiting the code blocks with *.
    Here's the contents of an SQL tab in the base schema:
    *  CREATE OR REPLACE FORCE VIEW "VW_AFI_CNO" ("AFICNO_ID", "AFICNO_CODIGO", "GENTRADUC_TRADUCCION", "GENIDIOMA_ID") AS
      SELECT AFI_CNO.AFICNO_ID, AFI_CNO.AFICNO_CODIGO, GEN_TRADUCCIONES.GENTRADUC_TRADUCCION, GEN_TRADUCCIONES.GENIDIOMA_ID
    FROM   AFI_CNO, GEN_TRADUCCIONES
    WHERE  GEN_TRADUCCIONES.GENEXPRES_ID(+) = AFI_CNO.GENEXPRES_ID
    Here's the contents in the destination schema:
    *  CREATE OR REPLACE FORCE VIEW "VW_AFI_CNO" ("AFICNO_ID", "AFICNO_CODIGO", "GENTRADUC_TRADUCCION", "GENIDIOMA_ID") AS
      SELECT AFI_CNO.AFICNO_ID, AFI_CNO.AFICNO_CODIGO, GEN_TRADUCCIONES.GENTRADUC_TRADUCCION, GEN_TRADUCCIONES.GENIDIOMA_ID
    FROM   AFI_CNO, GEN_TRADUCCIONES
    WHERE  GEN_TRADUCCIONES.GENEXPRES_ID(+) = AFI_CNO.GENEXPRES_ID
    Here's the comparison result:
    --  DDL for View VW_AFI_CNO
      CREATE OR REPLACE VIEW "VW_AFI_CNO" ("AFICNO_ID", "AFICNO_CODIGO", "GENTRADUC_TRADUCCION", "GENIDIOMA_ID") AS
      SELECT AFI_CNO.AFICNO_ID, AFI_CNO.AFICNO_CODIGO, GEN_TRADUCCIONES.GENTRADUC_TRADUCCION, GEN_TRADUCCIONES.GENIDIOMA_ID
    FROM   AFI_CNO, GEN_TRADUCCIONES
    WHERE  GEN_TRADUCCIONES.GENEXPRES_ID(+) = AFI_CNO.GENEXPRES_ID
    Thanks,
    K.
    PS: Jim, we did a complete backup/restore with EXP/IMP between 2 Redhats 64 bit.
    Message was edited by: K

  • No startup/login sound logout/shutdown sound cutoff

    I am using Gnome and alsa/esd for sound events.  My problem is that the startup sounds do not play while the gnome splashscreen is opening (or ever) and the shutdown/logoff sound gets cut off (apparently as alsa/esd shuts down).  Is there a way to help them play.
    This is obviously not a critical issue, but it does take away some of the polish of the arch experience.
    All other sound events play (menus, commands, toggles, email, etc.)
    I am up to date on all packages, but this has been a problem over the last six months (ie since I began using Arch).

    coiote wrote:
    biloky wrote:
    The patch suggested by azleifel works. I can now hear my gnome login and logout sounds.
    Thanks azleifel
    coiote, what errors did you encounter while building the package?
    hi, The message is this:
    [luka@arch Desktop]$ makepkg -c PKGBUILD
    PKGBUILD: line 1: ---: command not found
    ==> ERRO: An unknown error has occured. Exiting...
    thanks
    Sorry if this is a silly comment but what I posted was a patch for the gnome-session PKGBUILD.  It isn't the complete PKGBUILD I used, which was:
    # $Id: PKGBUILD,v 1.42 2008/01/10 20:03:09 jgc Exp $
    # Maintainer: Jan de Groot <[email protected]>
    pkgname=gnome-session
    pkgver=2.20.3
    pkgrel=1
    pkgdesc="The GNOME Session Handler"
    arch=(i686 x86_64)
    license=('GPL' 'LGPL')
    depends=('tcp_wrappers' 'libgnomeui>=2.20.1' 'gnome-control-center>=2.20.3' 'at-spi>=1.20.1')
    makedepends=('perlxml' 'pkgconfig')
    options=(!emptydirs)
    install=gnome-session.install
    url="http://www.gnome.org"
    groups=('gnome')
    source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.20/${pkgname}-${pkgver}.tar.bz2
    gsm-dbus.patch
    gnome-session-2.20-esd.patch
    gnome.desktop)
    md5sums=('f9d80e12c8fd79efa9786f617ba18bc7' '80f38a9a76938d08e6437fea24c841b3'
    '3e95954af94cf557624b8fdbef62d44b' '152cddde06e16f16641746467f7ff965')
    build() {
    cd ${startdir}/src/${pkgname}-${pkgver}
    patch -Np1 -i ${startdir}/src/gsm-dbus.patch || return 1
    patch -Np1 -i ${startdir}/src/gnome-session-2.20-esd.patch || return 1
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --with-reboot-command=reboot --with-halt-command=halt \
    --with-rsh-command=ssh \
    --with-at-spi-registryd-directory=/usr/lib/at-spi
    make || return 1
    make DESTDIR=${startdir}/pkg GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
    install -d -m755 ${startdir}/pkg/etc/X11/sessions
    install -m644 ${startdir}/src/gnome.desktop ${startdir}/pkg/etc/X11/sessions/gnome.desktop
    mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
    gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
    rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas

  • Ubuntu-like GNOME experience [not Ayatana Project] - official thread

    After packaging most of Ayatana stuff, i started to package other GUI things, like icons, themes from Ubuntu.
    Screenshots:
    my current desktop - still needs a lot of work
    Here are already packaged things:
    light-themes-bzr: http://aur.archlinux.org/packages.php?ID=38555
    ubuntu-mono-bzr: http://aur.archlinux.org/packages.php?ID=38554
    dropbox-ubuntu-mono-dark: http://aur.archlinux.org/packages.php?ID=38589
    dropbox-ubuntu-mono-light: http://aur.archlinux.org/packages.php?ID=38590
    parcellite-ubuntu-mono-icon: http://aur.archlinux.org/packages.php?ID=38590
    this three must be installed with -f option to resolve file conflicts. i dont know how can i do this properly other way.
    empathy-theme-ubuntu-adium: http://aur.archlinux.org/packages.php?ID=38596
    i have some corruption with it, dont know why
    But there will be lot more. You can check out newest informations about my packages on twitter @dinth1906.
    Last edited by Dinth (2010-07-01 11:58:33)

    I'm using this PKGBUILD (with the patch in the same folder) and it works like a charm.
    # Contributor: Gianfranco Micoli <[email protected]>
    # Contributor: Michael Kanis <mkanis_at_gmx_dot_de>
    pkgname=gnome-settings-daemon-notify-osd
    realname=gnome-settings-daemon
    pkgver=2.30.2
    pkgrel=1
    pkgdesc="The GNOME Settings Daemon - Patched version to use Notify-OSD"
    arch=(i686 x86_64)
    license=('GPL')
    depends=('libgnomekbd>=2.28.0' 'gnome-desktop>=2.28.1' 'libnotify>=0.4.5' 'libxxf86misc' 'gstreamer0.10-base>=0.10.22' 'notify-osd')
    makedepends=('intltool' 'pkgconfig' 'patch')
    provides=('gnome-settings-daemon=2.30.2')
    conflicts=('gnome-settings-daemon')
    replaces=('gnome-settings-daemon')
    options=(!emptydirs !libtool)
    install=gnome-settings-daemon.install
    url="http://www.gnome.org"
    groups=('gnome')
    source=(http://ftp.gnome.org/pub/gnome/sources/${realname}/2.30/${realname}-${pkgver}.tar.bz2
    use_synchronous_notifications.patch)
    sha256sums=('7cd22dab52f52900ee13a5bc0c1a186e91d33e77f5333c4622f84d85e4eb71f4'
    'c5de47c3a4daeca3757f6484073ec0e8014eaceb09b16a925e6f3cfdfe189faa')
    build() {
    cd "${srcdir}/${realname}-${pkgver}"
    patch -Np1 -i "${srcdir}/use_synchronous_notifications.patch" || return 1
    libtoolize --force || return 1
    aclocal || return 1
    autoconf || return 1
    automake || return 1
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --libexecdir=/usr/bin --disable-static --enable-pulse || return 1
    make || return 1
    make DESTDIR="${pkgdir}" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install || return 1
    install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
    gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${realname}.schemas" --domain gnome-settings-daemon ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
    rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
    You might have to remove "--enable-pulse" if you don't want to use it.
    The patch was postet by damumble: http://aur.pastebin.com/rMTf3Fa7

  • Cannot start xconsole or gnome-terminal after update

    I use fluxbox, and I have gnome-terminal bound to a keyboard shortcut as well as a menu item. However, since upgrading to GNOME 2.26, gnome-terminal would not start. There is no visual indication of failure; the window just doesn't show up.
    I also tried xconsole (by adding xconsole to the menu through TTY), and I get a message saying simply that "couldn't open console"
    I read something about the permissions of /dev/console not being set probably, and that commenting out lines in /etc/fbtab would help, but no such table file exists on my system.
    Thanks in advance for your help.

    I am not sure whether the following patch makes sense but it fixes aforementioned problems with gnome-terminal.
    By following the suggestion from http://bugzilla.gnome.org/show_bug.cgi?id=564649 I have created the following patch:
    --- src/terminal.c 2009-03-30 18:17:08.000000000 +0100
    +++ src/terminal.c 2009-05-09 21:14:25.129888742 +0100
    @@ -448,11 +448,11 @@
    * session bus running), we'd crash later on. Tell the user about it
    * now, and exit. See bug #561663.
    - if (!gconf_ping_daemon ())
    - g_printerr ("Failed to contact the GConf daemon; exiting.\n");
    - exit (1);
    +/* if (!gconf_ping_daemon ()) */
    +/* { */
    +/* g_printerr ("Failed to contact the GConf daemon; exiting.\n"); */
    +/* exit (1); */
    +/* } */
    gtk_window_set_default_icon_name (GNOME_TERMINAL_ICON_NAME);
    and modified the PKGBUILD:
    # $Id$
    # Maintainer: Jan de Groot <[email protected]>
    pkgname=gnome-terminal
    pkgver=2.26.1
    pkgrel=1
    pkgdesc="The GNOME Terminal Emulator"
    arch=(i686 x86_64)
    license=('GPL')
    depends=('gconf>=2.26.0-2' 'vte>=0.20.1' 'startup-notification>=0.9')
    makedepends=('pkgconfig' 'gnome-doc-utils>=0.16.0' 'intltool')
    options=('!emptydirs')
    url="http://www.gnome.org"
    groups=('gnome-extra')
    install=gnome-terminal.install
    source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2 ${pkgname}-${pkgver}.patch)
    md5sums=('49acf3da4c820249b763d636f27e3a46' '0862775e42f767b9dc4a1f59bbd9e527')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    patch -p0 < ${startdir}/${pkgname}-${pkgver}.patch
    ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --disable-scrollkeeper || return 1
    make || return 1
    make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
    install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
    gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-terminal ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
    rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
    I installed modified gnome-terminal and works like a charm as a standalone application in my xmonad window manager session without tweaking env vars, gconf, dbus or gnome-settings-daemon.
    Cheers, George

  • Xfce resizes terminal window by itself

    Recently changed from Gnome to Xfce; I've set my default terminal to gnome-terminal, but when I start it, it is started with the normal 80x24 size, but the right border is immediately shrunk (with a 'slide' animation) to make it very narrow which is damn annoying
    It is being started with the command "exo-open --launch TerminalEmulator". Any ideas why it would be doing this?

    Well, I think it is problem with gtk engine.
    you need to have ABS installed and synchronized.
    Go to /var/abs/extra/gnome-terminal and copy all files in this folder to some folder in your /home. Then Edit PKGBUILD and delete "--with-gtk=3.0"  so PKGBUILD will look like this:
    # $Id: PKGBUILD 121328 2011-04-30 15:31:28Z ibiru $
    # Maintainer: Jan de Groot <[email protected]>
    pkgname=gnome-terminal
    pkgver=3.0.1
    pkgrel=2
    pkgdesc="The GNOME Terminal Emulator"
    arch=('i686' 'x86_64')
    license=('GPL')
    depends=('gconf' 'vte3' 'gsettings-desktop-schemas' 'libsm')
    makedepends=('gnome-doc-utils' 'gtk2' 'intltool')
    #gtk2 is needed for gtk-builder-convert
    #https://bugzilla.gnome.org/show_bug.cgi?id=588945
    #https://bugzilla.gnome.org/show_bug.cgi?id=588732
    options=('!emptydirs')
    url="http://www.gnome.org"
    groups=('gnome')
    install=gnome-terminal.install
    source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.0/${pkgname}-${pkgver}.tar.bz2
    exitcode.patch)
    sha256sums=('388eda40663566cb785e2d92180e0b584c2c89acc3e7bcd30605601710fddc48'
    '263030e9905329d8e651421b575a80c37e30733373378896c94d2c6d6e0ee056')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    patch -Np1 -i "${srcdir}/exitcode.patch"
    ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --disable-scrollkeeper
    make
    package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
    install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
    gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-terminal ${pkgdir}/etc/gconf/schemas/*.schemas
    rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
    Then, issue a command "makepkg" and install it with "sudo pacman -S gnome-terminal-3.0.1-2-i686.pkg.tar.xz"

  • Merging data from 2 schemas with same object structure into one schema

    Hi
    I want to merge data from 2 schemas in different environments ( say test1 and test 2) into 1 schema ( say Test_final) for testing. Both these schemas are having same structure, the data can be same or different.
    What I did is that I took an export of schema on Test1 and then import it into Test_final. Now I need to merge/append data from Test2 into Test_final.
    I can not merge the data with import due to primary key constraints and also import doesnt support this feature, so I tried SQL*Loader to "append" the data by using sequence to generate Primary key.
    But my worries are that since new primary keys are generated so foreign keys will become invalidated and the data will not be consistent.
    Is there any other way to do this task..
    Regards
    Raman

    This approach might be better...
    create table test_final
    as
    select *
    from schema1.test1
    insert into test_final
    select t2.* from schema2.test1 ,  test_final tf
    where t2.pk != tf.pk
    /...assuming duplicate primary keys mean duplicate records. If that assumption is not the case then you have a more complex data migration exercise on your hands and you need to figure out some rules to determine which version of the data takes precedence.
    Cheers, APC

  • Merging 5 schema to one schema

    Hi All
    we have 5 company codes & 5 PY Schemas, to avoid user confusion we need to use One schema for all 5 company codes/schemas.
    How we can create a custom schema to merge all , means each schemas will b a sub schema in one main schema,  should ref comapny code
    and execute
    appreciate immediate response
    SK

    Hi ,
    Please find the below logic :
    IF        Z100      Checking the company code 1000 by using SCOND IF = T
    COPY Z101 COPY is function is used for schema within schema , copy from standard or create new
    END IF.       condition is completed
    IF        Z200  Checking the company code 2000 by using SCOND IF = T
    COPY Z201
    ENDIF
    IF        Z300  Checking the company code 3000 by using SCOND IF = T
    COPY Z301
    ENDIF
    IF        Z400  Checking the company code 4000 by using SCOND IF = T
    COPY Z401
    ENDIF
    IF        Z500  Checking the company code 5000 by using SCOND IF = T
    COPY Z501
    ENDIF
    In Z100 To  Z500 you should write a rule like ,
    Go to PE02 ,
    Query on company code ,
    if company code is 1000 than process else exit the process, for this you use SCOND IF= T else F.
    THanks
    Siva

  • Error Importing Schema on 7.1.04.131 (trying to merge two repo.structure)

    Hello MDM Experts,
    I am trying to merge CUSTOMER and VENDOR repository and getting an error while importing repository schema. We are on MDM 7.1 version 7.1.04.131(SP04 and latest Patch08). when i choose Transport>Import repository schema, "Import Schema VENDOR" screen pops up which gives me an opportunity to accept or reject tables/fields/roles etc...after finished with accept/reject tables/fields when i hit OK system gives me an error saying...
    "Error Importign Schema"
    "One or more of the selected items requires that you select additional items"
    Has any one come across same error while merging two repository structures..? or any suggestions would be appreciated..
    Thanks in Advance
    Rohit

    Hey Rohit,
    This error could come due to several reasons, some of the most common ones can be:
    1. You have defined a Remote System and Port, and assigned a syndication/Import map to it, now if you transport only the Port, you can get the error since the Port has a dependency on Remote system and you should transport both of them together.
    2. You have defined a Main table (or a lookup table) which has a dependency on another lookup table. Now if you transport only the Main table, you will have an error since Main in dependent on Lookup table.
    If it is possible, you can try transporting whole repository , instead of individually picking and choosing objects. This will make sure all the objects are transported. If that is not the case then you need to look at all the objects and make sure its dependent objects are also transported.
    Thanks
    Aamir

  • Merge using schema.subquery

    there is a tiny error in the syntax illustration of the merge syntax
    Oracle® Database SQL Reference
    10g Release 2 (10.2)
    Part Number B14200-02
    MERGE
    Description of the illustration merge.gif
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/img/merge.gif
    MERGE [ hint ]
       INTO [ schema. ] { table | view } [ t_alias ]
       USING [ schema. ] { table | view | subquery }
         [ t_alias ]
       ON ( condition )
       [ merge_update_clause ]
       [ merge_insert_clause ]
       [ error_logging_clause ] ;schema.subquery is of course invalid, so I may suggest
    USING {  { [ schema. ] { table | view } } | subquery }
    [ t_alias ]
    Regards
    Laurent

    Hi Diana,
    Thanks a lot for your answer. Actually, I think you should use
    USING dml_table_expression_clause [ alias ]as for insert
    DML_table_expression_clause.gif
    SQL>
    SQL> merge into t1 using t2 partition (p1)
      2  on (t1.x=t2.x)
      3  when not matched then
      4    insert values(t2.x);
    0 rows merged.
    SQL>
    SQL> merge into t1 using t2 subpartition (p11)
      2  on (t1.x=t2.x)
      3  when not matched then
      4    insert values(t2.x);
    0 rows merged.
    SQL>
    SQL> merge into t1 using table(f)
      2  on (t1.x=column_value)
      3  when not matched then
      4    insert values(column_value);
    1 row merged.and review the text description of DML_TABLE_EXPRESSION clause
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/img_text/DML_table_expression_clause.htm
    ... because it is not very accurate
    { [ schema. ]
      { table
        [ { PARTITION (partition)
          | SUBPARTITION (subpartition)
        | @ dblink
      | { view | materialized view } [ @ dblink ]
    | ( subquery [ subquery_restriction_clause ] )
    | table_collection_expression
    }should be
    { [ schema. ]
      table
          { PARTITION (partition)
            | SUBPARTITION (subpartition)
          | @ dblink
      | { view | materialized view } [ @ dblink ]
    | ( subquery [ subquery_restriction_clause ] )
    |  table_collection_expression

Maybe you are looking for

  • 8.1 Found Workgroup printer. I'm not on Workgroup! Need new Printer?

    Hello, I have an Epson color 580 printer from like 15 years ago. Worked great with XP. When I tried to print with Windows 8.1, it directed me to save the file as an .xps or something. I couldn't get the .xps to print. I did some reasearch and people

  • All of my .pdf files were converted to a different company - not Adobe.

    How can I convert my .pdf files back to Acrobat & Adobe ?

  • Problem with designer

    Post Author: freshman CA Forum: General After installing BOXI in my own windowsxp professional system, when i logging on to Designer , the following error message appears: "[repo_proxy 13] SessionFacade;;openSessionLogon with user info has failed(Int

  • How to connect Photosmart C4795 to Wireless Network - Mac OSX 10.8.4

    I am desperately confused here!  When I bought the printer 2-ish years ago I was able to set it up and have it connected to my network no problem.  Since then I have moved and updated my OS to Mountain Lion and lost my installation CD.  As of now, th

  • Missing functionality in Automator??

    I'm trying to build a simple script for turning large numbers of TIFF files into pdf's. In Automater, under the Preview application in the Library pane, one of the available Actions in "Change Type of Images." This is described as requiring one of ei