HR schema problems

After I installed Oracle 11g XE, I created blank workspace named BASIC, not using existing HR. How can I upload HR script and use it for practice? Thank you.

Hi,
You mean you want hr objects to be created in your basic?
Script to create hr schema and objects are located $ORACLE_HOME/demo/schema/human_resources
You can try creating objects in your own schema with the scripts
Regards
Yoonas

Similar Messages

  • Color Scheme Problems in Ultiboard

    Hi,  I've been having trouble with the color scheme problems in Ultiboard ever since I upgraded form 10.0 to 10.1.  The color schemes will not save in Ultiboard 10.1, even with the new patch 10.1.0.1, this problem is persistant.
    Here's the problem in detail: 
    In global Preferences, I click on "Colors", and then New Scheme, give it a name, and I define my colors.  However, when I open a new file, the colors are reverted to the default.  When I check the preferences again, the name that I have given to my color scheme is labeled as "User settings", and they are the same as the default colors.
    This is really annoying as every time I open a file, I have to change the color schemes.  It seems like these settings are not being saved in the user-configuration file for some reason or another.
    I have tried deleting my user-config file in the user directories, and started new user-config files, but to no avail, the problem is persistent.  The color just will not stay.
    How do I get around this problem?
    -J 

    Hello,
    Thanks for reporting this. I was able to reproduce the issue and created a defect report, ID: 112869.
    Fernando D.
    National Instruments

  • File Sender Filename scheme problem

    Hello,
    we need to pick two types of files from the same folder on FTP server:
    Examples of filenames are:
    FILEINVRPT12_28102010.xml  and  FILESLSRPT12_28102010.xml
    We tried to use Advanced selection of files for these two file types and the filename scheme used was
    FILEINVRPT.xml in filename and FILESLSRPT.xml in Filename mask for Advanced selection
    All files of type FILEINVRPT.xml  have been picked up but FILESLSRPT.xml were not.
    We tried to remove advanced selection and even used *.xml and . as filename scheme ,still these files aren't picked up.
    Then we tried giving exact filename (hardcoded) for some of these files and they were picked up ,so there should be no problem with these files.
    Can anyone please suggest what could be the reason for this strange behaviour?
    Thanks a lot.
    Best Regards,
    Shweta

    Hi Shwetha,
    As per my understanding, you need to pick two different files(not having same naming convension) from the same folder. I see that you are using Advanced selection for Source files.
    This can be easily achieved, I have done it and providing you the steps to configure the adapter.
    1. In the File Access parameters, provide the source directory and filename as FILE*.xml.
    2. Now, check the option, advanced selection for source files.
    provide the directory = 10.20.30.40
    and the File Name Mask FILEINVRPT.xml, FILESLSRPT.xml
    Ensure that the file placed in the FTP should have the same naming convension of the filename.
    Thanks,

  • Using xml schema problem (SAP MDM 7.1 Syndicator)

    Good day !
    I try to syndicate directory which correspond to some xml-schema and I have a problem.
    I want to syndicate data from hierarchy table  which have one field which have a type like lookup <Flat> (multivalued).
    In XML-schema element "DEF_PRODUCT" and "DEF_PRODUCT_CODE" - attribute presents hierarchy table.
    "CREDIT_PRODUCT" and childs presents  linked flat table.
    According idea and business rules I must get the result like this: each  "DEF_PRODUCT" have N-"CREDIT_PRODUCT". One - to- many.
    But when I set up all map completely and look to xml result file I start to be disappointed.
    XML result file approximately must be like this: 
    <DEF_PRODUCT>
        <CREDIT_PRODUCT/>
        <CREDIT_PRODUCT/>
        <CREDIT_PRODUCT/>
    </DEF_PRODUCT>
    but in result I have all <CREDIT_PRODUCT>  in one node and child attributes.
    I attach 3 pics which explain my situation.
    xml-schema :[http://xmages.net/storage/10/1/0/6/3/upload/42ca6ca8.jpg]
    field mapping: [http://xmages.net/storage/10/1/0/6/a/upload/bbbc09f2.jpg]
    example: [http://xmages.net/storage/10/1/0/c/c/upload/817b0e23.jpg]
    Anybody can help me?
    About software : SAP MDM 7.1 (7.1.04.139)
    P.S: My problem can be resolved succesfully if I will use 1 <main> table and 1 <qualified flat> table.
           But in my case I must use hierarchy - structure because it  most usable for business - users

    >
    Christian Heuer wrote:
    > Hi,
    >
    > now I understood and you really have got a point here. But the question is whether you need key mapping then on the remote key level with a tuple anymore. If yes, you won
    >
    > Best regards
    > Christian
    If SAP MDM will present many opportunities to me I will be very glad.
    I repeat I must get output xml which have the pair like "RemoteKey"="RemoteSystem" in tuple subnode.
    In tuple, after your advices.
    Ideally, Syndicator must present to each user ability to choose pair "RemoteKey" = "RemoteSystem" in each subnode like <LookUp> table in root (look at my example pic).
    Imagine  you have one root table and N-linked <lookup> tables.
    Tree like this :
    <main tbl>
      <subtbl1/>
      <subtbl2/>
      <subtbl3>
         <childtbl1/>
         <childtbl2/>
      </subtbl3>
    </main tbl>
    It's dangerous to deprive SAP MDM user to select  pair "RemoteKey" = "RemoteSystem" from ROOT to ALL and LAST LEAF in abstract hierarchy. How do you think ?
    Now, I haven't abilities to solve my problem using standard resources. Really ?

  • Autotype from XML schema problems

    Hello,
    I am trying to autotype the following Xml schema:
    http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-3
    My build.xml contains:
    <target name="autotype" >
         <autotype
              schemaFile="REL-5-MM7-1-3.xsd"
              targetNamespace="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-3"
              packageName="com.foo"
              keepGenerated = "True"
              destDir="output" />
    </target>
    1.
    I run using ant but it fails..
    SubmitRspTypeCodec.java:15: cannot resolve symbol
    [autotype] symbol : class GenericResponseTypeCodec
    [autotype] location: package soap
    [autotype] extends javax.xml.soap.GenericResponseTypeCodec
    weblogic.webservice.tools.build.WSBuildException: Failed to do type mapping -
    with nested exception:
    [weblogic.xml.schema.binding.BindingException: ERROR: during code compilation
    - with nested exception:
    [java.io.IOException: Compiler failed executable.exec]]
    The interesting point is when i deleted following 3 lines from schema (line 413
    to 415 in REL-5-MM7-1-3.xsd),
    <xs:sequence>
         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    no compile error is thrown.
    2.
    But the weird thing is that some of classes are not generated, for example SubmitReqType,
    ReplaceReqType. This is because they reference RelativeOrAbsoluteDateType (line
    367). And RelativeOrAbsoluteDateType contains the following union definition:
    <xs:union memberTypes="xs:dateTime xs:duration"/>
    i think that this union definition might cause problem but neither an error nor
    a warning message is submitted from ant. It says successful but missing classes.
    I am struggling with these 2 problems for days, any help would be appreciated.
    Thanks,
    aLi

    Hi Ali,
    I suspect that the reason you are having this problem is covered in the following
    link:
    http://e-docs.bea.com/wls/docs81/webserv/overview.html#1074641
    I guess my question is, what else do you have in the build.xml that uses (or attempts
    to use) the autotype Ant task? Are you trying to build a client (i.e. a JAX-RPC
    static stub) for a web service? Is this for a WebLogic Web Service you want to
    build? Or are you just trying to see if autotype can process the .xsd file, in
    question? If so, the above link states why it currently won't work.
    One alternative option, is to use a Workshop Schema project (or XMLBeans) to process
    the .xsd file. I just did that, and it worked fine :-)
    Regards,
    Mike Wooten
    "Ali Pakkan" <[email protected]> wrote:
    >
    Hello,
    I am trying to autotype the following Xml schema:
    http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-3
    My build.xml contains:
    <target name="autotype" >
         <autotype
              schemaFile="REL-5-MM7-1-3.xsd"
              targetNamespace="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-3"
              packageName="com.foo"
              keepGenerated = "True"
              destDir="output" />
    </target>
    1.
    I run using ant but it fails..
    SubmitRspTypeCodec.java:15: cannot resolve symbol
    [autotype] symbol : class GenericResponseTypeCodec
    [autotype] location: package soap
    [autotype] extends javax.xml.soap.GenericResponseTypeCodec
    weblogic.webservice.tools.build.WSBuildException: Failed to do type mapping
    with nested exception:
    [weblogic.xml.schema.binding.BindingException: ERROR: during code compilation
    - with nested exception:
    [java.io.IOException: Compiler failed executable.exec]]
    The interesting point is when i deleted following 3 lines from schema
    (line 413
    to 415 in REL-5-MM7-1-3.xsd),
    <xs:sequence>
         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    no compile error is thrown.
    2.
    But the weird thing is that some of classes are not generated, for example
    SubmitReqType,
    ReplaceReqType. This is because they reference RelativeOrAbsoluteDateType
    (line
    367). And RelativeOrAbsoluteDateType contains the following union definition:
    <xs:union memberTypes="xs:dateTime xs:duration"/>
    i think that this union definition might cause problem but neither an
    error nor
    a warning message is submitted from ant. It says successful but missing
    classes.
    I am struggling with these 2 problems for days, any help would be appreciated.
    Thanks,
    aLi

  • Validate w/ schema ---Problem setting up JAXP1.2 jar

    Sorry, I may just be being a retard
    I am trying to validate an xml document with a schema. I know that I need to use a JAXP 1.2 parser.
    I am using Eclipse 2.1 right now, but I tried this through the command prompt to see if it was something I was doing specifically in eclipse.
    First, I want to make sure that I have the proper jar.
    Where do I get the JAXP 1.2 jar? The only place that I found it was with the Java Web Services Developer Pack 1.4 release. Is that the correct place to get it?
    Second, if so, what do I need to do to get java to use that jar instead of existing one? From what I read, I just need to put the new jar in the classpath first. Maybe I am doing this worng, please explain what I should be doing.
    Here is the code that I am running. I keep getting the SAXNotRecognizedException that they say you get when you don't have a JAXP 1.2 parser.
    import java.io.*;
    import java.sql.*;
    import javax.xml.parsers.*;
    import org.apache.commons.digester.Digester;
    public class dhq {
       static final String JAXP_SCHEMA_LANGUAGE =
          "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
       static final String W3C_XML_SCHEMA =
          "http://www.w3.org/2001/XMLSchema";
       static final String JAXP_SCHEMA_SOURCE =
          "http://java.sun.com/xml/jaxp/properties/schemaSource";
       static final String DHQWEB_SCHEMA = "dhqweb.xsd";
       static final String DHQWEB_XML = "DHQ.xml";
       public static void main(String[] args) {
          try {
          SAXParserFactory factory =
             SAXParserFactory.newInstance();
          factory.setValidating(true);
          SAXParser parser = factory.newSAXParser();
          parser.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA); //Throws SAXNotRecognizedException here
          parser.setProperty(JAXP_SCHEMA_SOURCE, new File(DHQWEB_SCHEMA));
          Digester d = new Digester(); //Haven't gotten to implementing this yet.
          parser.parse(new FileInputStream(new File(DHQWEB_XML)), d);Thanks in advance for any help, especially for helping with such a newb problem.

    Here is some content from the following install link:
    http://java.sun.com/xml/docs/summer02/jaxp/ReleaseNotes.html#deploy
    Using JAXP 1.2 with the Java Web Services Developer Pack (Java WSDP)
    Again, if you are using the Java WSDP installation process to do the update, then you don't have to worry about the updates. But if you are updating individual jar files, copy them to
    <JWSDP_HOME>/common/endorsed/
    Using JAXP 1.2 with Tomcat version 4.0.3 or 3.3
    First, be sure to remove xerces.jar from
    <TOMCAT_HOME>/common/lib/
    The reason for that step is that xerces.jar contains earlier Xerces implementations which will interfere with the operation of JAXP 1.2.
    The next step depends on which version of the Java 2 SDK you are using:
    For version 1.4 of the Java 2 SDK:
    You need to know that JAXP 1.1 is built into that version of the platform. JAXP 1.1 has a smaller footprint, but JAXP 1.2 implements XML Schema, and it also includes transform compiler, XSLTC.
    To use the JAXP 1.2 implementation instead of the JAXP 1.1 implementation, copy all of the JAR files except jaxp-api.jar to
    <TOMCAT_HOME>/common/lib/
    Then, when running Tomcat, set the java.endorsed.dirs system property to
    <TOMCAT_HOME>/common/lib/
    Note:
    The jaxp-api.jar file should not be copied, because it contains high-level factory APIs that are not subject to change.
    For version 1.3 of the Java 2 SDK:
    Copy all 6 JAR files to
    <TOMCAT_HOME>/common/lib/
    and add that directory to your classpath.
    Using JAXP 1.2 with version 1.4.0 of the Java 2 platform
    Version 1.4 of the Java 2 platform has JAXP 1.1 implementations built in. JAXP 1.1 has a smaller footprint, but JAXP 1.2 implements XML Schema and the transform compiler, XSLTC.
    To use the JAXP 1.2 implementation, copy all of the jar files except jaxp-api.jar into
    <JAVA_HOME>/jre/lib/endorsed/
    Note:
    The jaxp-api.jar file should not be copied, because it contains high-level factory APIs that are not subject to change.

  • JAXB - xml schema problems

    Hi, I'm having problems constructing a correct schema for my XML input. I already have this XML:
    <resultSet>
    <row id="1">
      <col name="ID">1</col>
      <col name="parentID">0</col>
      <col name="categoryName">Brands</col>
    </row>
    <row id="2">
      <col name="ID">2</col>
      <col name="parentID">0</col>
      <col name="categoryName">Laerdal</col>
    </row>
    (...) etc. for 244 rows
    </resultSet>I've looked at the examples to try to figgure out how the schema (XSD) should look like, but I keep getting rumtime exceptions. Here's my XSD so far:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="resultSet" type="CategoryType"/>
    <xsd:complexType name="CategoryType">
         <xsd:sequence>
         <xsd:element name="row" type="CategoryRow"/>
         </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="CategoryRow">
         <xsd:sequence>
              <xsd:element name="col" type="CategoryCol"/>
         </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="CategoryCol">
         <xsd:sequence>
              <xsd:element name="ID" type="xsd:int"/>
              <xsd:element name="parentID" type="xsd:int"/>
              <xsd:element name="categoryName" type="xsd:string"/>
         </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>I can't find any examples on converting XML to a schema that would define it.
    Help anyone??
    by the way, this is the runtime exception I get:
    DefaultValidationEventHandler: [ERROR]: Unexpected end of element {}:col
    javax.xml.bind.UnmarshalException: Unexpected end of element {}:col
         at com.sun.xml.bind.unmarshaller.UnreportedException.createUnmarshalException(UnreportedException.java:59)
         at com.sun.xml.bind.unmarshaller.SAXUnmarshallerHandlerImpl.reportAndThrow(SAXUnmarshallerHandlerImpl.java:406)
         at com.sun.xml.bind.unmarshaller.SAXUnmarshallerHandlerImpl.endElement(SAXUnmarshallerHandlerImpl.java:108)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
         at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:139)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:129)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:134)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:138)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:151)
         at no.xait.dod.communication.dataAccess.sendXML(dataAccess.java:121)
         at no.xait.dod.designondemand.<init>(designondemand.java:87)
         at no.xait.dod.designondemand.main(designondemand.java:602)
    Process terminated with exit code 0

    Modified schema:
    <xsd:element name="resultSet">
    <xsd:complexType>
    <xsd:sequence>     
    <xsd:element ref="row" minOccurs="0" maxOccurs="unbounded"//>     
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="row">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="col" minOccurs="0" maxOccurs="unbounded"//>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="col">
    <xsd:complexType>
    <xsd:sequence>          
    <xsd:element name="ID" type="xsd:int"/>     
    <xsd:element name="parentID" type="xsd:int"/>          
    <xsd:element name="categoryName" type="xsd:string"/>     
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>

  • XMP Schema problem Photoshop CS3 and Bridge

    Hi All,
    I am in the process of creating a XMP schema to contain custom metadata.
    I have created a schema that works 80%. The problem I have is that although the schema shows up and displays all the fields, the data I input is not savced to the image file. This is the same in both Photoshop CS3 and Bridge.
    Has anyone come across this problem before?
    I would be happy to send the schema to anyone who is happy to check it over for coding problems.
    Many thanks
    Andrew

    Hi Thomas,
    I am not sure how to do this. Do I do this through Console?
    I tried and received a nul return.
    Also is the file you are referring to the image file or the Schema text file?
    Sorry, I am a beginner when it comes to XML....
    Thanks
    Andrew

  • Schema problem. Urgent

    Hi Guys,
    I stumble across a problem and would like to seek your opinion and advise:
    I have a schema A.
    I created a DBMS job 'DB_job_A' in schema A. (The schema A should be the owner of the DBMS job)
    I then, migrated the schema A to schema B.
    But the problem is, when I deleted the 'DB_job_A' in schema B, it will delete the 'DB_job_A' in schema A. What is going on!?
    Thanks.
    warmest regards,
    Ivan Baros

    Hi Nonipa,
    Did I say something offended you?

  • Authorization scheme problem

    Hi all,
    I have implemented ACL authorization (Restricted only), and have just created a new ACL scheme in my app is the name of "Registration" same copy of EDIT scheme, I have set following users with these roles:
    USERS with roles
    =============
    1. Admin with Administrator.
    2. Guest with Registration.
    3. Frank with Edit.
    I have create a Navigation List entries (for redirection) on my home page with following entries with restricted roles:
    Navigation List :
    ============
    Administration (for Administrator only ) assigned 'ADMIN' role
    New Registration (for 1 time user registration) assigned 'REGISTRATION' role
    Student Schedule (for existing users) assigned 'EDIT' role
    Student Semester Result (for existing users) assigned 'EDIT' role
    Student Attendance (for existing users) assigned 'EDIT' role
    Problem:
    ========
    When I set REGIS role to guest user , all entries of navigation list ( i mentioned above) except Administration Entry are shown on this page.
    I want to restrict guest user, who can only see Registration Link only. How can I do this ??
    help me out
    waiting for your prompt reply
    regards n thanks
    qamar

    Thanks for your reply scott, at least someone is there to understand it :).
    Well ok just forget everything and focus on it, I am using apex version Apex 3.0.1 with Oracle 9.2.0.1.0, my question is simple as i had stated above long time ago, I have added a new scheme/role 'REGIS' as same as EDIT role and changed EDIT to REGIS on that scheme/role, through this I just want to access only guest user to log in temporarily and create its account in our application and log out, and when he registered in our application, a role EDIT will assigned him automatically and he will be able connect our portal with EDIT role now.
    I had created a simple HTML page and created a Navigation List on it.
    there are 5 list entries on this page .
    1. Administration
    2. New User Registration.
    3. Student schedule.
    4. Student results
    5. Student attendance.
    -Administration
    (assigned ADMIN , so only administrator can see this link and all the entries)
    -New User Registration
    (only guest user with REGIS role can see this link)
    -3,4,5
    (only registered users with EDIT role can see these links)
    I have set these authorization in every list entry with authorization schemes mentioned above.
    Q. But the problem in this situation is that when I assign REGIS scheme to my 2 list entry, all other entries (3,4,5) including 2nd entry are also visible to guest user who has REGIS scheme assigned.
    I hope now you can understand clearly what I am trying to say and understand it.
    Hoping for your prompt reply.
    regards
    qamarsyed

  • Schema problem with ibatis

    Hi,
    I am using Ibatis and spring framework and connection pooling is done at the websphere end which refreshes the connection for every database connection that is being fetched. After the connection is being fetched. A set connection is called and the schema is set using the execute command for every connection being fetched. Now, there are various connection schemas being used which cannot be hard-coded into the code. Apart from this there are hundreds of xml files and using ${schema} for every sql statement is a big code change.
    The problem is that on every connection that is being fetched, the execute command is called to set the schema which leads to a considerable performance issue. Is there any way in which the schema can be set just once in the beginning for all the connections being fetched?
    Any help is highly commendable.
    Thanks

    I am using Ibatis and spring framework and connection pooling is done at the websphere end which refreshes the connection for every database connection that is being fetched. What do you mean refreshed? This sounds bad and if you mean reconnecting than this defeats the purpose of using a pool.
    After the connection is being fetched. A set connection is called and the schema is set using the execute command for every connection being fetched. What do you mean a "set connection" and "schema is set"? Are you saying you have a pool for each db schema? If so that's not so horrible I suppose. It certainly won't affect performance (given the number of connections/schemas is reasonable).
    Now, there are various connection schemas being used which cannot be hard-coded into the code. Apart from this there are hundreds of xml files and using ${schema} for every sql statement is a big code change.The code change might be worth it, but not sure what's wrong yet.
    The problem is that on every connection that is being fetched, the execute command is called to set the schema which leads to a considerable performance issue. Is there any way in which the schema can be set just once in the beginning for all the connections being fetched? How many schemas do you have? Even if you had a pool for every schema you should only be initializing connections once. I apologize if this wasn't much help. Please provide more info. How are the DataSources configured in WebSphere?

  • SAP Sub-schema problem

    Dear All,
    I still baby in SAP. I try to play around with schema and PCR. I have copy schema id00 to Zd00. Then I add customize PCR at sub-schema XBD0. What I try to do is to add $100 to the basic pay. Surprisingly it works. The problem is when I run standard schema, it also add $100.The question :
    1. I tought when I customize this schema, all the subschema and PCR is belong to this customize only. It will not effect to   
       standard oneAm i misunderstood?
    2. Do I have to customize subschema XBD00
    3. What is purpose of customize schema if I also have to customize subschema? I means what is the impact if I use standard schema but only customize sub-schema.
    4. How to copy subschema. I have been learned (through internet) use Pe01 for schema and pe02 for PCR
    5. Can I say that the decent ways in SAP schema is to copy all the schema, subschema and PCR to the customizing.
    I need your help. I'm confuse now

    +1. I tought when I customize this schema, all the subschema and PCR is belong to this customize only. It will not effect to
    standard oneAm i misunderstood+
    If you copy and customise a schema, it will not affect the standard schema. However, from your customised schema, you can copy (call) standard schemas.
    2. Do I have to customize subschema XBD00
    It depends on your usage. If you want to use the functionalities of this sub-schema with the same elements as used in the sub-schema, there is no need to customise it. If, however, the standard sub-schema does not meet your requirements, go ahead, copy it and customise the copy.
    3. What is purpose of customize schema if I also have to customize subschema? I means what is the impact if I use standard schema but only customize sub-schema.
    You will not be able to call customised sub-schemas from the standard schema. You would have to customise the standard schema even if all you want to do is change which sub-schema to call.
    4. How to copy subschema. I have been learned (through internet) use Pe01 for schema and pe02 for PCR
    PA01 > select scehma to copy > click on copy button.
    Edited by: joker_of_the_deck on Oct 12, 2010 12:28 PM

  • CMP and capture-schema problems

    I am trying to deploy a CMP on Sun App Server 8, and I'm having a few problems. I am quite new to both CMP and Sun App Server 8.
    I've created a simple table Room in mySQL DB, containing only id (varchar) and description (varchar). I'm running this command to capture the table schema
    capture-schema -username username -password pwd -dburl jdbc:mysql://localhost/test -driver com.mysql.jdbc.Driver -out test.dbschema
    Do I need to enter the -schemaname and -table parameters as well? I'm assuming that since the url is pointing directly to the test schema in mySQL and it only contains the room table, I don't need these 2 parameters.
    test.dbschema gets generated, but when I use the deployment tool and create the database mappings to the entity bean using this schema file, no mappings are created.
    Any help?

    Hello,
    I have similar problem and I'm really confused about it.
    Working with:
    Java System Application Server Platform Edition 8.1 2005Q1 UR1
    mysql DataSource and Container Managed Persistence
    mysql-connector-java-3.0.8-stable-bin.jar
    I have problem with deploy:
    Fatal Error from EJB Compiler -- JDO74025: JDOCodeGenerator: Caught an Exception validating CMP bean 'Sets' in application 'isvl' module 'isvl-EJBModule': JDO72335: If the table sets for the bean corresponding to the generated class isvl.model.set.SetBean470758938_JDOState is mapped as the primary table, it must have a primary key.Choose a different primary table or verify that the contents of the schema file are correct.
    Choose a different primary table or verify that the contents of the schema file are correct. at com.sun.ejb.codegen.CmpCompiler.compile(CmpCompiler.java:274) at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:615) at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563) at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java :340) at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:209) at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:284) at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:176) at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.j ava:107) at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPh ase.java:71) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeplo ymentService.java:633) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentSe rvice.java:188) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentSe rvice.java:520) at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143) at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:172)
    Have you seen this problem?
    Thanks.

  • Validation against schema problem

    Having a problem validating a sample instance of my schema using the schemaValidate() API, in fact the sample app xsdtest fails as well.
    xsdtest reports:
    In line 8 of sample.xml:
    LSX-00204: extra data at end of complex element
    Validation failed, error 204
    --- sample.xml ---
    <?xml version="1.0" encoding="UTF-8"?>
    <XMLConfig
              xmlns="http://www.foo.com/Config"
              xmlns:cfg="http://www.foo.com/Config"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:noNamespaceSchemaLocation="xmlconfig.xsd">
         <!--<xsd:include schemaLocation=""/>-->
         <hostname>localhost</hostname>
         <server>
              <IPv4>127.0.0.1</IPv4>
         </server>               
    </XMLConfig>
    Line 8: contains a comment, why a failure ? In fact having any element from the schema placed there causes this error, the only time the sample instance was valid is having nothing between <XMLConfig></XMLConfig>.
    XMLSpy validates the document fine so either them or XDK have a parser problem. Any help appreciated, thanks.
    ---xmlconfig.xsd---
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Namespace definitions -->
    <xs:schema
                        targetNamespace="http://www.foo.com/Config"
                        xmlns:cfg="http://www.foo.com/Config"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"
                        elementFormDefault="qualified"
                        attributeFormDefault="unqualified"
                        version="1.0">
         <xs:element name="XMLConfig">
              <xs:annotation>
                   <xs:documentation xml:lang="en">XML Based Configuration</xs:documentation>
              </xs:annotation>
              <xs:complexType mixed="true">          
                   <xs:choice minOccurs="0" maxOccurs="unbounded">
                        <!-- cfg elements -->
                        <xs:element name="filePath"           type="cfg:filePath"/>
                        <xs:element name="hostname"           type="cfg:hostname"/>
                        <xs:element name="IPv4"           type="cfg:IPv4"/>                    
                        <xs:element name="server"          type="cfg:server"/>
                   </xs:choice>
              </xs:complexType>
         </xs:element>
         <!-- File Path (Windows/Unix) -->
         <xs:simpleType name="filePath">
              <xs:annotation>
                   <xs:documentation xml:lang="en">
                        System file path
                   </xs:documentation>
              </xs:annotation>
              <xs:restriction base="xs:anyURI">
                   <xs:minLength value="1"/>
                   <xs:maxLength value="16384"/>
              </xs:restriction>
         </xs:simpleType>
         <!-- IPv4 address (RFC791) -->
         <xs:simpleType name="IPv4">
              <xs:annotation>
                   <xs:documentation xml:lang="en">
                   Internet Protocol V4 (IPv4) address
                   </xs:documentation>
              </xs:annotation>
              <xs:restriction base="xs:string">
                   <xs:minLength value="1"/>
                   <xs:maxLength value="15"/>
                   <xs:pattern value="((([01]?\d\d?|2[0-4]\d|25[0-5])\.){3,5}([01]?\d\d?|2[0-4]
                                                           \d|25[0-5]))"/>
              </xs:restriction>
         </xs:simpleType>
         <!-- Hostname (RFC952) -->
         <xs:simpleType name="hostname">
              <xs:annotation>
                   <xs:documentation xml:lang="en">
                   Machine hostname constructed using RFC952 rules.
                   </xs:documentation>
              </xs:annotation>
              <xs:restriction base="xs:string">
                   <xs:minLength value="1"/>
                   <xs:maxLength value="255"/>
                   <xs:pattern value="([a-zA-Z][a-zA-Z0-9\-\.]*[a-zA-Z0-9])"/>
              </xs:restriction>
         </xs:simpleType>
         <!-- Server type (Hostname or IP Address) -->
         <xs:complexType name="server">
              <xs:annotation>
                   <xs:documentation xml:lang="en">
                   Hostname or IPAddress
                   </xs:documentation>
              </xs:annotation>               
              <xs:choice>
                   <xs:element name="hostname"      type="cfg:hostname"/>
                   <xs:element name="IPv4"      type="cfg:IPv4"/>
              </xs:choice>                    
         </xs:complexType>
    </xs:schema>

    Where does one lookup bugs/issues, mind that I am not an Oracle employee or customer ?
    Maybe if it's not getting adressed/fixed in the near future, people can avoid triggering this bug by knowing what causes it. I'd appreciate at least getting to the description of the problem so that I can re-format documents/schema accordingly and still be able to use XDK with schema validation capability.
    Regards,
    Amir

  • Authorization Scheme problem using query

    Greetings:
    I have an application with 4 different roles in my application. Depending on the user role, the access to different pages within the application are filtered. We have 4 group types: admin, general, transactional and read_only; each, with descending levels of authorization.
    The application utilizes a two-level tab navigation system in which I hide the tabs that the users are not supposed to see, depending on the level of authorization that they have. I have implemented three authorization schemes for three different types of access depending on the pages within my application. The only page without any auhorization is the login page.
    The three created authorization schemes are as follows.
    My first scheme (set as scheme type: exists SQL Query):
    Select APP_USER_NAME, APP_GROUP_TYPE from APP_USERS
    where
    APP_USER_NAME = :APP_USER
    AND
    APP_GROUP_TYPE != 'READ_ONLY'
    This one is supposed to negate access to the READ_ONLY group, but allow access to all other groups.
    My Second scheme (set as scheme type: exists SQL Query):
    Select APP_USER_NAME, APP_GROUP_TYPE from APP_USERS
    where
    APP_USER_NAME = :APP_USER
    AND
    (APP_GROUP_TYPE != 'READ_ONLY'
    and
    APP_GROUP_TYPE != 'transactional')
    The second one, I have added the transactional group as to be explicitly negated access.
    My Third scheme
    Select APP_USER_NAME, APP_GROUP_TYPE from APP_USERS
    where
    APP_USER_NAME = :APP_USER
    AND
    (APP_GROUP_TYPE != 'READ_ONLY'
    AND
    APP_GROUP_TYPE != 'transactional'
    AND
    APP_GROUP_TYPE != 'general')
    the last one, I have added the general group as to be explicitly negated access.
    I am thinking that, logically, this would work, but the pages do not display properly. I am always getting the failed authorization page, even with my admin user. Is there something wrong with my methodology? Should I be white-listing instead of black-listing in my queries? Thanks for your support.

    I appreciate your help Jeff, you helped me a great deal, but not in the way you may think. In your link, there was a post that offered a solution with a simple query. There was one person that posted a query using (upper) to bring the username to uppercase so it can be properly compared to :APP_USER. Yes, the users were entered as lowercase, the logic was ok. I changed the query logic to a white list as to avoid possible users that may be able to authenticate into the application without a proper group configured.
    Thanks for your support. Maybe this can help someone on the forums out.

  • Schema Problem after system copy

    Hi Gurus,
    I did datafile copy after bringing down the source system & then recreated the DB in another system with another SID but target DB still shows schema name which refers to old domain & also all the tablespaces names are SAP<oldSID>.
    Is there any quick fix to this? how do I rename all the schema?
    Even if I run script 'ORADBUSR.SQL', it will not create all the objects in the newly created schemas. What should I do to make it up & running
    Thanks & REgards,
    Murtaza

    If some 'Z' object or user exits is active in old system, & object not active in new system may make the fifference.
    Regards,
    Rajesh Banka

Maybe you are looking for

  • Best way to clear MacBook Air?

    Hey, Having backed up my Macbook Air using an external hard drive and Time Machine - I just needed some guidance in what best to do now to clear up my laptop please. I've started to get a message that my 'start up disc is full' - now I have backed up

  • Child window invisible during playback

    Forgive if this is discussed in the forum. I could not find it, so just point me in the right direction if I missed it. We are evaluating Captivate to be a part of an ERP implementation training infrastructure. In general, we like it a lot. One probl

  • What Help Viewer Component Enables Index tab?

    A customer of ours has a problem with any .chm help file not displaying their index contents properly (showing up as blank). In our app, we have a Help | Help Index menu item that opens up our .chm's index tab. This ends up crashing the entire applic

  • ZBAPI Creation

    Hi, I am creating ZBAPI with the import parameters as PERNR & SUBTY and export parameters are RETURN1 & RETURN2 and table parameter is IT_ZITEMS The BAPI is fine till creation in SE37 but when i am trying to add the method as API Method in BOR, it is

  • Where are Connected Servers on the HD

    Hello, i have an ubuntu machine acting as an Active Directory (LDAPv3) with a Samba Domain.  I can see the server's name in the Finder under the Shared pane, but I have no clue where this machine is on the local HD tree.  I think it used to be /Netwo