Confusion over sequences in Goldengate

I've got two databases on the same (test) server which I've set up with Goldengate.
The databases are both 10.2.0.4 64-bit on RHEL5, and the Goldengate version is 11.2.1.0.1 for 10g.
Source=PROD
Target=PROD11G (in anticipation of being upgraded...)
I've successfully configured Golgengate so the database was replicating DML and DDL, but realised I forgot to install support for Oracle sequences.
Following the instructions on pg 32 of the Goldengate Installation Guide, I ran the sequence.sql script as sysdba on both databases and pointed it to my existing 'GGATE' schema owner.
On the source system I've also run: alter table sys.seq$ add supplemental log data (primary key) columns;
... but I'm confused about steps 8 and 9 which are:
8. on source
GRANT EXECUTE on DDLuser.updateSequence TO DBLOGINuser;
9. on target
GRANT EXECUTE on DDLuser.replicateSequence TO Replicatuser;
The DDLuser is my 'GGATE' schema owner, but who is DBLOGINuser and ReplicatUser. Is this the schema(s) referred to in my extract group? i.e. sure006 (btw,... I tried but still get the below error when starting replicat).
Anyway,... I now start the replicat process and it abends with the below error:
2012-07-06 14:03:44  INFO    OGG-00996  Oracle GoldenGate Delivery for Oracle, rep1.prm:  REPLICAT REP1 started.
2012-07-06 14:03:44  INFO    OGG-01407  Oracle GoldenGate Delivery for Oracle, rep1.prm:  Setting current schema for DDL operation to [SYS].
2012-07-06 14:03:44  ERROR   OGG-00519  Oracle GoldenGate Delivery for Oracle, rep1.prm:  Fatal error executing DDL replication: error [Error code [24344], ORA-24344: success with compilation error SQL CREATE OR REPLACE PROCEDURE "GGATE" .replicateSequence (
   sourceHWM IN  NUMBER,
   maxDistance  IN NUMBER,
   seqFlush IN  NUMBER,
   seqOwner IN  VARCHAR2,
   seqUpdate IN  NUMBER,
   seqName IN  VARCHAR2,
   loggedUser IN  VARCHAR2,
   racTarget IN  NUMBER,
   isTrace IN  NUMBER,
   traceUser IN  VARCHAR2
AUTHID current_user
IS
PRAGMA autonomous_transaction;
newSeqVal NUMBER;
HWMTarget NUMBER;
HWMTargetNext NUMBER;
maxVal NUMBER;
minVal NUMBER;
cnt NUMBER;
numberOfSimulatedHWTargetMoves NUMBER;
simulateHWTargetStart NUMBER;
simulateHWTargetEnd NUMBER;
HWMOnSource NUMBER;
isFound NUMBER;
distance NUMBER;
firstPass NUMBER;
isCycle NUMBER;
incBy NUMBER;
flushStmt VARCHAR2(1000);
objId NUMBER;
sCache NUMBER;
mDist NUMBER;
BEGIN
   firstPass := 1;
   IF isTrace = 1 THEN
       "GGATE" .seqTrace  ('BEGIN "' || traceUser || '".trace_put_line(''SEQUENCEREP'', ''################ STARTING SEQUENCE REPLICATION FOR '' || '''|| seqOwner || '.' || seqName ||  '''); END;', traceUser);
       "GGATE" .seqTrace  ('BEGIN "' || traceUser || '".trace_put_line(''SEQUENCEREP'', ''INPUT IS: sourceHWM '' || '''
       || to_char(sourceHWM) || ''' || '' maxDistance '' || ''' || to_char(maxDistance) ||  ''' || '' seqFlush '' || ''' || to_char(seqFlush) ||  ''' || '' seqOwner '' || ''' || seqOwner || ''' || '' seqUpdate '' || ''' || to_char(seqUpdate) || ''' || '' seqName '' || ''' || to_char(seqName) || ''' || '' loggedUser '' || ''' || to_char(loggedUser) || ''' || '' racTarget '' || ''' || racTarget || ''' || '' isTrace '' || ''' || to_char(isTrace) || ''' || '' traceUser '' || ''' || traceUser ||'''); END;', traceUser);
   END IF;
   -- set current schema to sequence owner. This is to avoid issues when there is a table name same as schema
   -- name in which case sequence name is treated a column to table name and things fail
   EXECUTE IMMEDIATE ('ALTER SESSION SET CURRENT_SCHEMA="' || seqOwner || '"');
   -- we d.
2012-07-06 14:03:44  ERROR   OGG-01668  Oracle GoldenGate Delivery for Oracle, rep1.prm:  PROCESS ABENDING.I'm obviously doing something stupid, but can't realise what it is.
I see from the second INFO line that my current schema is being set to SYS. Should I be granting the execute privileges to SYS? (if so, the doc isn't at all clear)
I've included my manager, extract and replicat parameter files if that helps.
GLOBALS
===========
GGSCHEMA ggate
CHECKPOINTTABLE ggate.chkptab
mgr.prm
===========
PORT 7809
USERID ggate, PASSWORD *****
PURGEOLDEXTRACTS /u04/app/oracle/goldengate/11.2.1.0.1/10g/extracts, USECHECKPOINTS
ext1.prm
===========
EXTRACT ext1
USERID ggate@prod, PASSWORD *****
RMTHOST prod2.ctru.auckland.ac.nz, MGRPORT 7809
RMTTRAIL /u04/app/oracle/goldengate/11.2.1.0.1/10g/dirdat/rt
DDL INCLUDE ALL
DDLOPTIONS ADDTRANDATA
TABLE sure006.*;
rep1.prm
===========
REPLICAT rep1
ASSUMETARGETDEFS
USERID ggate@prod11g, PASSWORD *****
DISCARDFILE /u04/app/oracle/goldengate/11.2.1.0.1/10g/dirdat/discard, append
MAP sure006.*, TARGET sure006.*;Edited by: stuartu on Jul 6, 2012 3:07 PM

doh!,... looks like I must have run the sequence.sql script in the source both times (the REPLICATESEQUENCE procedure in GGATE schema was invalid). I ran sequence.sql in the target and now replicat starts fine.
although now I see that the sequence still isn't being incremented on the target....
SQL>
SQL> !echo $ORACLE_SID
PROD
SQL> conn sure006/********
Connected.
SQL> create table test_sequence ( mysequence number );
Table created.
SQL> create sequence test_seq start with 1 increment by 1 nocache;
Sequence created.
SQL> insert into test_sequence values ( test_seq.nextval );
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> commit;
Commit complete.
SQL> select * from test_sequence;
MYSEQUENCE
      1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
12 rows selected.
SQL> select * from user_sequences;
SEQUENCE_NAME               MIN_VALUE  MAX_VALUE INCREMENT_BY C O CACHE_SIZE LAST_NUMBER
TEST_SEQ                    1 1.0000E+27          1 N N            0       13
1 row selected.... but on the target (PROD11G) database, the sequence exists but the LAST_NUMBER = 1, not 13.
SQL> !echo $ORACLE_SID
PROD11G
SQL> conn sure006/******
Connected.
SQL> select count(*) from test_sequence;
  COUNT(*)
     12
1 row selected.
SQL> select * from user_sequences;
SEQUENCE_NAME               MIN_VALUE  MAX_VALUE INCREMENT_BY C O CACHE_SIZE LAST_NUMBER
TEST_SEQ                    1 1.0000E+27          1 N N            0        1
1 row selected.The ggserr.log log only has a warning about the non-uniqueness of the table.
2012-07-06 14:57:31  WARNING OGG-00869  Oracle GoldenGate Capture for Oracle, ext1.prm:  No unique key is defined for table 'TEST_SEQUENCE'. All viable columns will be used to represent the key, but may not guarantee uniqueness.  KEYCOLS may be used to define the key.
2012-07-06 14:57:33  WARNING OGG-00869  Oracle GoldenGate Delivery for Oracle, rep1.prm:  No unique key is defined for table 'TEST_SEQUENCE'. All viable columns will be used to represent the key, but may not guarantee uniqueness.  KEYCOLS may be used to define the key.Is there something more I need to do?

Similar Messages

  • Still confused over fup changes to Total BB option...

    There still seems to be confusion over the planned changes for Total BB Option 1 customers.
    Although KerryG has informed us that the monthly allowance will remain at 10Gb and the charge for additional use will be changing to £5 per 5Gb, BT customer services seem to think the extra usage charge remains the same as it is now.
    Please see posts from KerryG and bobm here -
    http://community.bt.com/t5/BB-in-Home/WHERE-IS-OUR​-USAGE-MONITOR-BT/m-p/41085#M24680
    Does anyone have any further info please ?

    Hi Del
    I can confirm that the info I provided on the earlier thread was correct.  I am sorry if people have received other information when calling in.  I have fed this back to the relevant teams to make sure all advisors are aware of these recent changes. 
    To clarify, the position for BT Total Broadband Option 1 is:
    Usage allowance – will remain at 10GB
    Additional usage charges – they will be charged at 5GB for £5 (rather than 1GB for £1) as from November 1st 2010.
    As mentioned before, there are a couple of links that may be useful for those who think they may be likely to incur additional usage charges and wish to review which broadband option is best for them:
    Details of usage allowances for each option
    Details of options for upgrading your broadband package
    Thx
    Kerry
    Retired BTCare Community Manager - StephanieG and SeanD are your new Community Managers
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Confusion over Native Query Result List

    I have this confusion over the field object of a resultList of a Native query. This is because it has contradicted the idea of the books for me.
    This is a pure example
    @SqlResultSetMapping(name="LoanCapitalization.reportMapping",
    columns={
        @ColumnResult(name="policy_number"),
        @ColumnResult(name="policy_holder"),
        @ColumnResult(name="amount"),
        @ColumnResult(name="outstanding_loan"),
        @ColumnResult(name="interest"),
        @ColumnResult(name="amount_to_date"),
        @ColumnResult(name="effective_date"),
        @ColumnResult(name="sub_system_code")
    @NamedNativeQuery(name="LoanCapitalization.aggregateStatement", query="SELECT   l.policy_number, l.last_name || ' ' || l.first_name as " +
            "policy_holder, l.amount, c.out_principal_bf as outstanding_loan, c.out_interest_bf as interest, " +
            "SUM (r.repayment_amount) as amount_to_date, c.effective_date, l.sub_system_code FROM loan l JOIN v_latest_capitalization c " +
            "ON l.loan_id = c.loan_id JOIN loan_repayment r ON l.loan_id = r.loan_id WHERE " +
            "c.effective_date BETWEEN ?1 AND ?2 GROUP BY l.policy_number, l.last_name, l.first_name, l.amount, " +
            "c.out_principal_bf, c.out_interest_bf, c.effective_date, l.sub_system_code order by l.sub_system_code, l.last_name",
            resultSetMapping="LoanCapitalization.reportMapping")and
    Query query = entityManager.createNamedQuery("LoanCapitalization.aggregateStatement");
            AggregateStatementLoanBalanceReportData data = null;
            List<AggregateStatementLoanBalanceReportData> returnList = new ArrayList<AggregateStatementLoanBalanceReportData>();
            query.setParameter(1, reportCriteria.getFromDate());
            query.setParameter(2, reportCriteria.getToDate());
            List<Object[]> resultList = query.getResultList();
            System.out.println("resultList.size() >>>>>>>>>> " + resultList.size());
            for (Object[] obj : resultList){
                data = new AggregateStatementLoanBalanceReportData();
                System.out.println("(String)obj[1] >>>>>>>>>> " + (String)obj[1]);
                System.out.println("(String)obj[2] >>>>>>>>>> " + (String)obj[2]);
                System.out.println("(String)obj[3] >>>>>>>>>> " + (String)obj[3]);
                System.out.println("(String)obj[4] >>>>>>>>>> " + (String)obj[4]);
                System.out.println("(String)obj[5] >>>>>>>>>> " + (String)obj[5]);
                System.out.println("(String)obj[6] >>>>>>>>>> " + (String)obj[6]);
                data.setPolicyNumber((String)obj[0]);
                data.setName((String)obj[1]);
    .......My first shocking surpise is that all the System.out.println() return nulls but
    System.out.println("resultList.size() >>>>>>>>>> " + resultList.size()); returned 1.
    so can anyone suggest what the problem may be.
    Regards,
    Michael

    I came across your post as I experienced the same problem. As I found no answers I tried different let's say stupid solutions.
    The one that solved my problem was to write the name for the @ColumnResult in capitals as I noticed that Oracle transforms the alias column names into capitals. I guess otherwise the mapping doesn't occur correctly.
    My example:
    @SqlResultSetMappings({
    @SqlResultSetMapping(
    name = "Customers.searchCustomers",
    entities =
    @EntityResult(entityClass = Customers.class)
    columns =
    @ColumnResult(name = "CONTACTDATE"),
    @ColumnResult(name = "CONTRACTDATE")
    String queryString =
    "SELECT c.CUSTOMER_ID, c.LAST_NAME, c.FIRST_NAME, c.OPU, c.CUSTOMER_CORE_ID, " +
    "to_char(con.CONTACT_DATE, 'yyyy-dd-mm') AS CONTACTDATE, to_char(contr.CONTRACT_DATE, 'yyyy-dd-mm') AS CONTRACTDATE " +
    "FROM CUSTOMERS c " +
    "LEFT JOIN CONTACTS con ON con.CUSTOMER_ID = c.CUSTOMER_ID AND con.ACTIVE = '1' " +
    "LEFT JOIN CONTRACTS contr ON contr.CUSTOMER_ID = c.CUSTOMER_ID AND contr.ACTIVE = '1' " +
    "WHERE c.CAMPAIGN_ID = ?1 AND upper(c.LAST_NAME) LIKE ?2 AND upper(c.FIRST_NAME) LIKE ?3";
    query = em.createNativeQuery(queryString,
    "Customers.searchCustomers");

  • Timing multiple shots to a voice over sequence

    Hello All,
    I have a voice over sequence that runs 00:00:12:11. I have 7 still shots that I would like to cycle through that time. Is there a quick way to spread those stills evenly? In other words, in an ideal world, I could highlight the stills, select duration, and enter the time. Unfortunately, when I attempt this, it gives each clip(still) 12:11.
    Thanks.
    DG

    12;11 (if using ntsc 29.97) is 12*30+11 or 371 frames. You have 7 stills. Divide 371 by 7 and you get 53 frames per still.
    Set the image duration for each of the 7 items to 1;23 and you should be close.
    If you are using any other frame rate, the process is the same, just substitute it for '30' in the equation.
    Don't they teach math in schools anymore?
    good luck,
    x

  • Confusion over user and schema

    hi all i am new to oracle
    as far as my understanding goes in oracle for every user by default an schema
    is created where tables and other objects are granted to the user please correct me if i am wrong
    now my problem is that i created user but its not getting reflected in the schema
    shouldnt the schema get created automatically
    i am confused what should i check for
    thanks in advance

    hello,
    First of all you should know the terminology.
    Schema -> Collection of objects (Tables, Views, Indexes, Sequences etc.,)
    Example: Scott/tiger (Is a sample oracle user) In database terminology it is named as Scott's Schema.
    When you create a new user in oracle the user would be empty with no objects. Unless you have previleges to create objects.
    SRI>create user junk identified by junk
    2 default tablespace users
    3 temporary tablespace temp;
    User created.
    Elapsed: 00:00:00.15
    SRI>conn junk/junk@sri
    ERROR:
    ORA-01045: user JUNK lacks CREATE SESSION privilege; logon denied
    Warning: You are no longer connected to ORACLE.
    SRI>conn sri/sri@sri
    Connected.
    SRI>grant connect to junk;
    Grant succeeded.
    Elapsed: 00:00:00.03
    SRI>conn junk/junk@sri
    Connected.
    SRI>select * from tab;
    no rows selected
    SRI>create table x(id number(10));
    create table x(id number(10))
    ERROR at line 1:
    ORA-01031: insufficient privileges
    Elapsed: 00:00:00.00
    SRI>conn sri/sri@sri
    Connected.
    SRI>grant resource to junk;
    Grant succeeded.
    Elapsed: 00:00:00.01
    SRI>conn junk/junk@sri
    Connected.
    SRI>create table x(id number(10));
    Table created.
    SRI>select * from tab;
    TNAME TABTYPE CLUSTERID
    X TABLE
    Hope this info helps you to start with :)
    cheers
    -Sri

  • Confusion over ASM

    Hi All,
    i was going through ASM docs and so far my understanding " its is purely an instance which has got only the metadata of all the RDBMS instances using that ASM"
    In ASM instance we dont have redo log file, datafiles etc then what is the functionality of DBWr and LGWr background processes in ASM instnace?
    Regards,
    ASM

    Hans Forbrich wrote:
    Aman,
    Even I started with the misinterpretation that ASM handles I/O for the database. Not quite correct.
    In the simplest explanation of ASM I've come up with is: Actual database I/O is 'raw', with the benefit that ASM manages the table of contents of the disk. The database server process asks ASM where to start reading; the DBWR asks ASM where to start writing - both server process and DBWR still operate.
    "The Oracle ASM instance manages the metadata and provides space allocation for the Oracle ASM files. When a database instance creates or opens an Oracle ASM file, it communicates those requests to the Oracle ASM instance. In response, the Oracle ASM instance provides file extent map information to the database instance."
    This is taken from the 11gR2 ASM manual in Chapter 1 http://download.oracle.com/docs/cd/E11882_01/server.112/e10500/toc.htm at Fig 1-1
    Hans,
    Thanks so much for the correction and for the link. I stand corrected, ASM does teh metadata writes only, the actual data IO operations are handled by the db's background processes only.
    Just now, I opened [ASM Under the Hood book|http://www.amazon.com/Oracle-Automatic-Storage-Management-Under/dp/0071496076] and was reading it to find the answer and page no 44 clearly mentioned the same what you have just said. Here is a note from the same page about DBWR ,
    >
    This processes manages the SGA buffer cache in the ASM instance. DBWR writes out dirty buffers ( changed metadata buffers ) from ASM buffer cache to disk. >
    Which I believe is a very clear explanation that ASM processes just maintain metadata stuff. Thanks so much once again!
    @Gurfan, Eduardo,
    Apologies for any confusion that I unknowingly have created. Please read Hans's reply and mine over here.
    regards
    Aman....
    Edited by: Aman.... on Oct 10, 2009 7:24 AM corrected page no, it was 44 :-( .

  • Confused over photostream and I cloud, how to move my pictures

    Hi, 
    I have an iPhone 4S and an iPad 2.  Apple store sold me cloud storage over a year ago as my phone needed to be replaced under warranty and I had to back up.  I paid to continue after the year was up. 
    I am horribly confused however as I apparently have 15GB storage I have paid for with 10.6GB available and yet I cannot change to iOS 7 as there isn't enough memory in my phone. 
    I have synced to iTunes and can't get to my photos which are in photo-stream.  Ideally I would like to take all of my photos in photostream and save them onto my PC but I don't know where they are in order to do this.
    Any help much appreciated as I'm about to throw the lot out of the window having read what feels like the entire apple support community and getting more and more confused.
    Many thanks
    Lisa

    As I think you have realised, you need space on your phone for the update.
    Welcome to the Apple Community.
    My webpage here might help you understand the various ways photos can be saved on your device and some of the advantages and disadvantages associated with each method.

  • Premier Elements 7 - confusion over mixing video formats

    Hi
    I have been using a DV camcorder (SD quality) for some time, originally recording in 4:3 format, and more recently in 16:9 format (as we bought a wide screen telly).
    I have just treated myself to a new AVCHD Panasonic video recorder recording High Definition footage in 1080 16:9 PAL format onto an SD memory card.
    I wanted to take all this footage and put it on my computer to edit it together and start making some films to keep for the future - on DVD for now, and at some point on Blue Ray. To this end I have just purchased Adobe Premier Element 7.0, with Photoshop Elements 7.0 bundled together.
    My confusion is that it appears I can only use one format in a "project" as I need to define the parameters for the "project" in terms of SD vs HD and 4:3 vs 16:9. I was hoping to be able to store all of my footage of various quality definitions and screen ratils into a "library" (which I see is called "Organiser" in Adobe terms) on the hard disk, and then pick and choose from the "library" what to put into each "film project" as I make them, mixing formats as I wish. I realise that in this way, the output would itself switch from 3:4 to 16:9 etc on accasions as I switch scene to use a different format, and so may not appear to be the smoothest edit.... but I thought that would be my decision to do if I wanted it. Instead it appears I cannot mix a few minutes if 4:3 SD footage of my son as a baby, with more recent 16:9 1080 HD footage of him as a boy - which is a real shame as it is what I wanted to do....
    Have I misunderstood, or am I right in thinking I am limited in this way?
    Why can I mix still photos of any format with video , but not mix different formats of PAL video?
    Many thanks

    Thanks Paul
    I have been having go, as you suggest, and as you said, I cannot edit my AVCHD footage in Scene mode as it has 5.1 audio (which I cannot change on the videocam) This is very disappointing as I really wanted the simplicity of the scene editing rather than timeline.... This is compounded by the fact that timeline editing seems even more complicated than normal as each new AVCHD clip I add is placed onto a different video track (not all on track 4 as you thought)- so it is real mess to work out on my screen.... Is this a bug, the way PRE treats 5.1 tracks - or is it just oversight and poor design? Do you think it might be addressed by Adobe?
    Anyhow, thanks for explaining what is going on, as without your warning, I would have assumed that the PRE 7 sceneline feature was broken - you would have thought there would be some warning / documentation from Adobe about this, as effectively, a big feature is now unavailable to me as an AVCHD user - and the product claims to be compatible with AVCHD!
    Would you be able to advise on a couple more of my "newbie" file format questions?
    How do the settings work between setting the initial PROJECT format, and then choosing the various OUTPUT (sharing) settings. For example, if I want to edit a project using AVCHD clips only, and output it to DVD quality to watch on a PC or burn to DVD disk, do I get the same thing if I set the project setting to PAL AVCHD High Def 1080 5.1 and then the share setting to DVD quality output, as I would if I set the project settings to DV 48hz and the share setting to DVD quality output?
    My ideal would be to retain the High Definition of the footage through the editing process and then be able to output to DVD quality now, but to be able to come back to the finished edited project in the future and choose to output it to Blueray when I have upgraded my TV and bought a blueray player. i.e. I am trying to make my filming and edited projects a bit futureproof....
    Finally, I am just not up enough on all the different format lingos (Mpeg1, MPeg2, H.116 etc) to know what I should be choosing from the list for:
    1) outputting edited footage to burn onto a DVD to be used on a DVD player
    2) outputting edited footage to save onto a PC to view in the best possible quality on a PC
    Do you know?
    Many thanks

  • Confusion over nested tables and system generated nested tables

    Hi,
    I have been reading other threads about nested tables, naming and updating them etc, but I have what seems
    to me some odd behaviour.
    I modified my schema to set the attribute xdb:maintainDom to be false for a collection and then registered
    the schema with the generate tables option defaulted to true. The result was that I had to add xdb:tableProps
    attributes specifying nested table storage at each element above the collection element, this was because Oracle
    was creating tables at each level. So I have this kind of thing:
    <xsd:element name="BibPt" xdb:SQLType="BIBPT_T"
      xdb:defaultTable="BIBPT"
      xdb:tableProps="NESTED TABLE XMLDATA.PTEES.PTEE_SEC.PTEE STORE AS NESTED_PTEE_SEC
    NESTED TABLE XMLDATA.INVS.INV STORE AS NESTED_INV_BIBPT TABLESPACE BIBLIO">
    <xsd:element name="Ptees" xdb:SQLType="PTEES_T" xdb:tableProps="NESTED TABLE
    XMLDATA.PTEE_SEC.PTEE STORE AS NESTED_PTEE_SEC2">When I did this the nested tables were created, but when I loaded data never had anything in them. Instead
    I found that nestes tables with systems generated names like "SYSNTxxxxxxxxx" has been created that contained
    the data.
    When I registered the schema without the tables being generated, I created a table with this syntax:
    create table poc_wip2 of xmltype
    xmlschema "http://www.derwent.co.uk/wpi.xsd" element "WPI"
    NESTED TABLE XMLDATA."BibPt".PTEES.PTEE_SEC.PTEE STORE AS NESTED_PTEE_SEC
    NESTED TABLE XMLDATA."BibPt".INVS.INV STORE AS NESTED_INV_BIBPT(Thanks to a posting by Sam Monsarrat which showed me this was possible).
    Now I had my named nested tables, which contained the data after it was loaded and no system named
    nested tables.
    So why the difference?
    In the first instance why do my named nested tables stay empty and why does the data go into system
    generated tables I have no control over as regards tablespace placement?
    Is it possible to have a XML schema registered that only generates tables that I have named with the defaultTable
    attribute, rather than all or nothing?
    And last but not least, what's the best approach for this, since I want to be able to access the data via indexes
    on the nested tables.
    Thanks
    Pete

    Hi Pete
    Would you please publish the schema you are using?
    Thanks,
    Tobias

  • Very Confused over Reinstall Discs, Recovery Discs and how do I CREATE THEM!

    I am the owner of a Lenova IdeaCenter K300 Computer with Windows 7 64Bit OS
    The system has been running for just about a year now...no issues, very stable...however after a recent issue with another computer MFG system...I have questions:
    First the Other MFG system - The computer was purchased in April of 2008 with Windows Vista, the computer was unplugged on November 1, 2008 and stored in a cool Dry place....In October of 2011 My Godson wanted a new computer and I told him I have a computer that was lightly used and would do what he wanted it to do.
    I plugged in a monitor, keyboard, mouse, and turned on the unit when MUCH to my surprise the HD had failed...BADLY...so I went to a local store, purchased a new HD and installed it on the machine. 
    First let me explain that this computer MFG after several calls to them looking for help.. explained to me the following
    1: Reinstall Discs were NOT avail
    2: The System did not support creating Recovery discs since all the information that the system needed was stored on
        the Hard Drive that was supplied with the system...and that the OEM Windows VISTA version was available to use for
        3 years
    I said Okay, but I have a computer that had a HD failure so how do I go about reinstalling Windows Vista to get the computer up and running again?  They told me that I had to PURCHASE from a store a copy of Windows Vista.   I said that I had from two other computers from another MFG Windows Vista Reinstall Discs, can I use those, and use the Product Key code supplied by YOUR company to reintsall the OS?  They said NO...you need the orginal Hard Drive....I was like WHAT!
    Needless to say you can imagine my EXTREME frustration over not being able to get the computer up and running again.  After several calls to the Presidents Office I was finally....after 6 weeks of battle able for a cost mind you of $19.99 to get physical DVD's to reintall Windows Vista onto the system - (they should arrive this week)
    So now I am sitting in front of this LENOVA computer wondering ...Worse CaseScenerio...HD FAILURE...and lets face it it DOES HAPPEN.
    so here are my questions
    1: What is the difference between Recovery Disc and Reinstall Dics?
    2: If this Lenova System can only Create Recovery Discs ...and the HD needs to be replaced will the Recovery discs reintsall Windows 7 on this system?
    3: How do I create these discs...I found an option on Lenova Rescue System to create Recovery Discs but it was 24  4.5 GB DVD's to do this?  Windows Vista only needed 2
    Am I missing something here can some one Please help me
    thank you!

    They should sell you recovery disc without any problems. If you call customer service and you feel that the conversation is going no ware you probably talking to wrong person. Disconnect and tray another time, you will never speak to the same person twice
    OEM reinstall disc doesn’t need activation, retail windows disc needs but you have serial number on the sticker so just call Microsoft and activate it.
    Recovery disc is a copy of your computer hard drive with windows, drivers, software included
    Reinstall disc is the same for all computers with windows only, you have to install drivers and software separately
    Reinstall OEM disc is only for Lenovo system but it is the same like retail windows disc with added pre-activation

  • Confusion over user IDs

    I just tried the form-building lesson in Chapter 4 of the 2-day tutorial. Previously I had had difficulty running the applications I'd generated because the manual tells me to enter a userid/ password of demo/<workspacename>, a combination which refused to work for me and which I established as the result of a TAR was invalid. In fact it was confirmed that this is incorrect in the pdf manual - I was supposed to enter my developer userid and system-generated password.
    So when I went to run the form I was surprised to see the following text on the login screen:
    "By default, two accounts are created in the Sample Application: demo and admin. The default password for both accounts is the all lowercase name of the workspace in which this application is located"
    So I tried using demo / <workspacename> and this time it worked. I then went back to run the drill-down reports application and I don't get the above text on the login page, and demo / <workspacename> still doesn't work here. What gives?
    Andy

    hello,
    First of all you should know the terminology.
    Schema -> Collection of objects (Tables, Views, Indexes, Sequences etc.,)
    Example: Scott/tiger (Is a sample oracle user) In database terminology it is named as Scott's Schema.
    When you create a new user in oracle the user would be empty with no objects. Unless you have previleges to create objects.
    SRI>create user junk identified by junk
    2 default tablespace users
    3 temporary tablespace temp;
    User created.
    Elapsed: 00:00:00.15
    SRI>conn junk/junk@sri
    ERROR:
    ORA-01045: user JUNK lacks CREATE SESSION privilege; logon denied
    Warning: You are no longer connected to ORACLE.
    SRI>conn sri/sri@sri
    Connected.
    SRI>grant connect to junk;
    Grant succeeded.
    Elapsed: 00:00:00.03
    SRI>conn junk/junk@sri
    Connected.
    SRI>select * from tab;
    no rows selected
    SRI>create table x(id number(10));
    create table x(id number(10))
    ERROR at line 1:
    ORA-01031: insufficient privileges
    Elapsed: 00:00:00.00
    SRI>conn sri/sri@sri
    Connected.
    SRI>grant resource to junk;
    Grant succeeded.
    Elapsed: 00:00:00.01
    SRI>conn junk/junk@sri
    Connected.
    SRI>create table x(id number(10));
    Table created.
    SRI>select * from tab;
    TNAME TABTYPE CLUSTERID
    X TABLE
    Hope this info helps you to start with :)
    cheers
    -Sri

  • Confusing execution sequence in Custom tag

    I have a custom tag file with the name make_red.cfm that
    makes a text passed to it to the color red.
    The calling code looks like this:
    Main page<br>
    <cf_make_red result="myVar">
    Dont mess with the Zohan!!!
    </cf_make_red>
    back to the main page<br>
    The code in make_red.cfm looks something like this:
    <cfoutput>
    <hr>
    ThisTag.ExecutionMode is #ThisTag.ExecutionMode#<br>
    ThisTag.GeneratedContent is
    #ThisTag.GeneratedContent#<br>
    <hr>
    <cfif ThisTag.ExecutionMode IS "Start">
    Tag start<br>
    <cfif structkeyexists(attributes,"result")>
    <cfset evaluate("caller.#attributes.result# =
    ""CUSTOM_TAG_COMPLETED""")>
    </cfif>
    Tag processing<br>
    <cfelseif ThisTag.ExecutionMode IS "End">
    Tag processed<br>
    <cfset ThisTag.GeneratedContent = "<font
    color=""red"">"&ThisTag.GeneratedContent&"</font><br>">
    The tag ends here<br>
    </cfif>
    </cfoutput>
    The output looks like this:
    Main page
    ThisTag.ExecutionMode is start
    ThisTag.GeneratedContent is
    Tag start
    Tag processing
    Dont mess with the Zohan!!!
    ThisTag.ExecutionMode is end
    ThisTag.GeneratedContent is Dont mess with the Zohan!!!
    Tag processed
    The tag ends here
    back to main page
    My question is this:
    As per the sequence of the statements in the custom tag code,
    the text that appears in the beginning of tag file will be printed
    after which the processing for the end tag happens in the
    <cfif>. The text passed between the <cf_make_red> and
    </cf_make_red> i.e. "Dont mess with the Zohan!!!" appears to
    be printing before the end tag executes.
    Shouldnt the text passed between the <cf_make_red> and
    </cf_make_red> come after the end tag is processed? Because
    thats where i am making the text red.
    Could someone please explain this?

    Doing a little more experimentation, I discovered that pageContext is null in the constructor, but not null in the otherDoStartTagOperations() method (called by the doStartTag() method of the tag's class... it's something Forte forces you to do).
    Is this normal? I was under the impression that pageContext is supposed to be defined EVERYWHERE in any class that extends BodyTagSupport... including the class' own constructor.
    On a related topic, is there documentation somewhere as to what, exactly, Forte is doing behind the scenes when it's managing a taglib (how it keeps track of them, where it puts config files, how the entries it makes in them are different or extended from the normal layout, etc.)? At the moment, I suspect that half of the grief I'm having with writing taglibs is caused by Forte itself forcing me to do things in a roundabout way that bears little resemblance to the ways shown in different books on the topic (and in fact all but ensures that nearly every published example will fail and require major rewriting because of the way it forces tag classes to be structured), but I don't see any easy way to let Forte handle compiling the classes and testing them with its embedded Tomcat, but do the config file housekeeping myself I can be in control of it.

  • Confused over saving files in Bridge or Camera Raw CS4

    I'm a little confused the way Bridge and Camera Raw saves files that have been adjusted. For example, when I took a photo and just applied a crop to it, I clicked on "save image" in camera raw, set up a new folder and new file name. I clicked on ok expecting to see the uncropped photo in the original source folder. What I saw was the cropped photo under the original file name.
    Ultimately I found the original file by looking through explorer. I guess my question is, Is there a tutorial that explains the way Bridge/Camera Raw saves files?
    Appreciate the help

    The changes applied by Camera Raw are saved as metadata, a few lines of code added to the file or to a separate XML file. If you want to save the changes done by Camera Raw then simply click on Done, the Save button will save a copy, not the current changes back onto the original file.
    Check out the section on Camera Raw from the Help files:
    http://help.adobe.com/en_US/Photoshop/11.0/WSB5C0E258-66DE-4089-9CB0-42F396E2B814.html

  • HELP, so confused over Printing!!!!

    I am so confused!!!     ICC Profiles, sRGB vs RGB, color management.   I work in Photoshop Elements 7 and use Canon Pixma MP610 printer.   I would like a start to finish in setting up in PSE 7.   

    Well.... One thing is if you want a higher secure method, you will have to use certificates. PEAP is probobly the most deployed method and the simplest EAP method. This would require you to build an IAS server (comes with windows server) and a Certificate Authority Server which also comes with Windows Server. Just do a search on Google.. configure 802.1x windows server 2003 and you will find some good articles on setting this up. WDS for fast roaming requires the use of Cisco wireless cards or cards that are CCK2 compliant. If you are using internal cards, fast roaming will not work. They will however work if you are using Cisco 7920 ip phones. Hope this kind of helps.

  • Newbie confusion over launching VBox Guest Services.

    Hi all,
    This is my first time of installing Arch Linux  as a guest using Virtual Box on a Mac. I have followed the instructions set out in the Wiki section for VBox.
    The following excerpt below had me a confused for a while.
    All these features can be enabled indepently and manually with their dedicated flags.
    # VBoxClient --clipboard --draganddrop --seamless --display --checkhostversion
    But VirtualBox provides a currently undocumented feature, a Bash script VBoxClient-all which enables all these features automatically and checks if a X11 server is really running before enabling some of them.
    # VBoxClient-all
    To start that script automatically when system starts run the following command as root (or sudo):
    # systemctl enable vboxservice
    Am I correct in thinking that in order to get clipboard, full screen etc... I still have to use the VBoxClient -all command rather than the systemctl enable vboxservice?
    I order to get the guest features to work I use the VBoxClient-all script in my autostart file.
    If I run ps -ef | grep -i vbox without the autostart script i see the following below
    root 184 1 0 14:44 ? 00:00:01 /usr/bin/VBoxService -f
    and the clipboard features etc do not work.
    Have I misunderstood something?
    Thanks

    HTTP request processing failed. HTTP error [403] will be returned. The error is [You are not authorized to view the requested resource.No details available].#
    This first line says it all.  If you are just lauching it then what ever user that you are logging in as does not have rights to see what you are attempting to show.  If it is the first screen after login, then it is the default role that he does not have access too.

Maybe you are looking for

  • Problems installing updates

    i just recieved a refurbished apple ibook g4. And there are eight updates that i cannot install. 1. apple intermediate codec 2. keynote update 3. desktop video out 4. garageband update 5. java 1.3.1 and 1.4.2 release 2 6. Quicktime 7.0.3 (needed for

  • Safari will not display pages

    I recently updated to Mountain Lion on my late 2010 MacBook Air.  Today, I attempted to use Safari and I can get no page to display.  Safari itself loads, but no pages will load.  I use Chrome as my default browser and only pull up Safari occasionall

  • How to encode an exclamation mark in an url?

    I have been trying to encode an ! in an url, but somehow it just doesn't work. I tried RFC1738 codes -- one website mentioned the code was %21, a couple others said it was %22. However, both don't do any good. Any pointers?

  • EMIGALL Distributed Schedule Job - Getting Error

    Currently I Placed migration formatted file and try to execute the "distributed import" i am getting error,"Object in import-file header does not correspond to the migration object". Same file i am able to execute thru REMIG_SPLIT_SUBMIT report succe

  • Connect Non-SAP Oracle db (32bit) in sql 2005 (64 bit) using linked server

    Hi, I am connecting Oracle 10g database from SQL 2005 using linked server, in which i get the error "Cannot initialize the data source object of OLE DB provider "MSDAORA" for linked server "L2ORACLE". OLE DB provider "MSDAORA" for linked server "L2OR