Modify SQL#4 and SQL#5 DDL Model Defaults

Hi,
on FSCM 9.1 , tools 52.0 on Win 2008 server;
to force statistics gathering in AE we should  do :
6. Modify SQL#4 and SQL#5 DDL Model Defaults for Oracle Platform to enable option force when updating
Recommended in :
RED_PAPER_-_PeopleSoft_Enterprise_Performance_on_Oracle_11g_Database.pdf
Can you be kind and  tell us how to find them (SQL#4) ?
Thank you.

The DDL models are under
PeopleTools > Utilities > Administration > DDL Model Defaults
Select the Oracle platform from the search, and you should get a scroll with 5 rows. Rows 4 and 5 should begin with  DBMS_STATS.GATHER_TABLE_STATS
You can also consider downloading the following tool from Oracle Support:
pscbo_stats - Improving Statistics in Oracle RDBMS for PeopleSoft Enterprise [ID 1322888.1]
See PeopleSoft Database Update Statistics for more information.
Regards,
Bob

Similar Messages

  • Oracle SQL Developer Data Modeler 3.0 Bugs, Resolution and workarounds

    The purpose of this thread is to list bugs discovered while using ORACLE SQL Developer Data Modeler 3.0
    Mainly with SQL SERVER 2005 and ORACLE 10g models.

    SQL Server Physical model doesn't save table identity column.
    here are the steps to get this bug:
    1. create a table in relational model with a column as an integer to be used as an identity.
    2. create or open a physical model for SQL-SERVER 2005
    3. open the table in the physical model
    4. edit the integer column property dialog
    5. tick the identity check box and close the property dialog
    6. save the model and close it
    7. open it again, you will find the identity check is removed! (probably not saved from the start)

  • SQL Dev 2.1:Ability to save and load visual query models?

    At SQL Dev 2.1, do we now have the ability to save and load visual query models as with TOAD? Or has that functionality been rolled into the for-pay Data Modeler extension? Seemed strange to hide the functionality deep within SQL Worksheet, then not allow query models to be saved or loaded. From what I recall, load/save was scheduled to be in 2.0.
    I've not yet downloaded and installed 2.1, but also as I recall, it was promised to be a significant (e.g. new-feature rich) release. Has it lived up to that promise? Hoping also that it's not so buggy as to not merit an upgrade. At my workplace, folks have different versions of SQL Dev 1.X installed, each for the purpose of retaining functionality that got broken in future releases, etc. Would love to be able to advise them to retire their 1.X installs in favor of 2.1.
    Edited by: Dana N on Jan 21, 2010 6:45 AM

    Dana, We are working on the query builder. We have not done anything with it in recent releases as we knew that it needed completely overhauled and a
    couple of bug fixes were not going to give us the query builder we needed. Sue will be able to tell you more as the we get closer to releasing it as a feature.Thanks Barry. I know it's probably impossible to give firm dates, but my colleagues would love to know, ballpark, when query builder might be ready. Any particular year/quarter that's targeted for?
    A lot of the bugs in the 2.1 are probably my fault as we decided to build a framework which allowed tasks to be scheduled like eclipse and push them to the
    background. Coupled with this, we tore apart the worksheet to allow us to fit tasks in, but to also give us the ability to do some of the enhancement requests
    that you guys, our users, have been asking for. While its not perfect, I believe its getting much better from both a functionality and performance standpoint. The
    worksheet will not change again and there are no enhancements logged or scheduled which will do that. The issues that have come as part of 2.1 are being
    addressed and we are fixing the highest priority ones as we speak. One of my priorities is to make these components as rock solid as possible.Thanks again. It really is a nice tool to work with, and I'm grateful to have it. I would choose stability for existing features over new ones, but I suppose there always has to be a balance in development. What was really scary in the past was getting bizarre / wrong answers in query results--that's a complete show stopper; e.g. clicking on a row/col intersection in a result set row would show strange and false values. New features can wait, but core functionality must be solid. If one can't presume integrity of query results, it's game over--using a version of SQL Developer that returns inconsistent result sets between runs could be Considered Harmful, or so it is to me.
    Anyway, thanks for responding and I hope Oracle Corp gets you whatever assistance you need to improve the quality of existing functionality while adding new features; with one not being at the expense of the other. :-) Glad also to see Sue has authored a book on the tool. Hopefully that will drive customer demand and force increased allocation of development resources toward the product. I'd like to think having out-of-the-box tools that are a joy to use might even increase market share.
    Data Modeler I would love to use, but am completely priced out of it. Enterprise Architect from Sparx Systems is the best value there so far as I can tell.
    Dana

  • Different LOV behavior between SQL query data model and data template

    I have noticed different behavior when using parameters linked to list of values (LOV) of type menu with the multiple selection option enabled and a SQL query data model vs a data template. Here's the example because that first sentence was probably really confusing.
    SQL Query:
    select
    plmc.MonthCode, plmc.ModalityDim, plmc.ModalityName,plmc.RegionDim
    from
    DataOut.dbo.PatientLabMonthlyCross plmc
    where
    plmc.MonthCode = 200202
    and plmc.RegionDim = 1209
    and 1 =
    case
    when coalesce(:modalityDim,null) is null
    then 1
    else
    case
    when plmc.ModalityDim in (:modalityDim)
    then 1
    else 0
    end
    end
    Putting BI Publisher into debug mode, defining a data model of type SQL Query, defining a parameter called :modalityDim linked to a LOV that allows multiple selections, and selecting a couple of values from the LOV the output of the prepared statement is:
    [081607_122647956][][STATEMENT] Sql Query : select
    plmc.MonthCode,
    plmc.ModalityDim,
    plmc.ModalityName,
    plmc.RegionDim
    from
    DataOut.dbo.PatientLabMonthlyCross plmc
    where
    plmc.MonthCode = 200202
    and plmc.RegionDim = 1209
    and 1 =
    case
    when coalesce(?,?,null) is null
    then 1
    else
    case
    when plmc.ModalityDim in (?,?)
    then 1
    else 0
    end
    end
    [081607_122647956][][STATEMENT] 1:6
    [081607_122647956][][STATEMENT] 2:7
    [081607_122647956][][STATEMENT] 3:6
    [081607_122647956][][STATEMENT] 4:7
    [081607_122654713][][EVENT] Data Generation Completed...
    [081607_122654713][][EVENT] Total Data Generation Time 7.0 seconds
    Note how the bind variable :modalityDim was changed into two parameters in the prepared statement.
    When I use this same SQL Query in a data template the output is:
    [081607_012113018][][STATEMENT] Sql Query : select
    plmc.MonthCode,
    plmc.ModalityDim,
    plmc.ModalityName,
    plmc.RegionDim
    from
    DataOut.dbo.PatientLabMonthlyCross plmc
    where
    plmc.MonthCode = 200202
    and plmc.RegionDim = 1209
    and 1 =
    case
    when coalesce(?,null) is null
    then 1
    else
    case
    when plmc.ModalityDim in (?)
    then 1
    else 0
    end
    end
    [081607_012113018][][STATEMENT] 1:'6','7'
    [081607_012113018][][STATEMENT] 2:'6','7'
    [081607_012113574][][EXCEPTION] java.sql.SQLException: Syntax error converting the nvarchar value ''6','7'' to a column of data type int.
    Note the exception because it is trying to convert the multiple parameter values.
    Am I doing something completely wrong here? I really need to use a data template because I will need to link a couple of queries together from different database vendors.
    -mark

    This is for 10.1.3.4 - because in 11g every SQL query is automatially part of a data model.
    In 10g SQL query is for simple unrelated SQL queries.
    If you need to use advance features such as:
    a) multiple SQL queries that are joined in master-detail relation ships
    b) before/after report triggers
    Then you will need to use the data template, which is an XML description
    of the queries, links, and PL/SQL calls.
    hope that helps,
    Klaus

  • Foreign key Mapping based on Data - in SQL Developer Data modeler

    Team
    Do SQL Developer Data modeler supports Foreign Key mapping based on the Data in the Schema rather defined at the DDL ? For e.g if we implement a Objects Relation ship mapping in Data base, we don't define Foreign keys at table creation.
    Toad does this feature through "AUTOMATIC FOREIGN KEYS MAPPING IN TOAD DATA MODELER" more info at (http://toadworld.com/Blogs/tabid/67/EntryId/905/Automatic-Foreign-Keys-Mapping-in-Toad-Data-Modeler.aspx)
    any one know how to implement through some scripts also helps me
    Regards
    Raj

    If you have table PKs defined and the candidate columns match those PK columns, then you can use the Discover Foreign Keys utility. Right mouse over the relational model name (node) in the left browser. It is about half way down the menu. I did a blog post about it last week on kentgraziano.com.

  • SQL Developer Data Modeler scripting

    Hi,
    I'm looking for a new modeling software for my company. SQL Developer Data Modeler (SDDM) has many features that fit my requirements. But there are some things that I'm not sure can be done. I work mostly with Oracle databases but still need to support some legacy and non-sql databases. Please look at problems below and tell me if and how those things can be achieved. Any suggestions for alternative solutions are welcome too.
    1) I need to be able process Database Model from command line without human intervention and starting any GUI applications, for example generate DDL script form the model. Does SDDM have any interface for that?
    2) I want to be able to export Database Model into a file in a custom (legacy) format.
    3) SDDM stores database description in xml files. Is xml format defined anywhere? Are xsd schema files availabe?
    4) Is there a SDK available that would allow reading SDDM Database Model into a custom application for further processing?
    5) Is there any Java library available that parses Oracle-11-compatible SQL and PL/SQL?
    Thank you in advance
    Tomasz Grygo

    Hi Kevin,
    thanks for sharing your thoughts. There will be much more advanced find/search facilities in next version of Data Modeler and scripts also will be covered.
    Philip

  • Domains usage in SQL Developer data MODELER

    Hi,
    I'm trying to understand how to use Domains in Oracle SQL Developer Data Modeler. We use version 3.1.3 .  before I used Toad Modeler  where domains are just part of your main design.
    Oracle data modeler has some different concept.
    let's assume I'm working on 2 designs:  DesignA and DesignB that include relational models.
    DesignA and Design B should use domains but list of domains in design A is very different than in design B.
    Default domain file is located on c: drive where SqlModeler is installed. It is obviously unacceptable , so I need to change Default System Type directory in preferences.
    And of course I want to have different domain directories for DESIGN A and DESIGN B.
    So when I open design A then I changed   Default System Type directory  let's say to x:\AAA.   Then i close design A and open Design B and change Default System Type directory to x:\BBB
    I checked folders AAA and BBB and they  have necessary XML files there:  defaultdomains.xml, defaultRFDBSSites and so on....
    Now questions:
    can I rename defaultdomains.xls to something else like AAAdomains.xls?  Domain administration can edit any domain file with any name , but how  can I associate certain domain file with my design?  My wish , when I open my design , then corresponding domain file will be open automatically.  Is it possible?
    If I open 2 designs in Sql Modeler and switch between designs  then corresponding domain files should be changed automatically as well.  Currently   I shouldn't forget to change default System Type directory every time when I switch models.  Is it the only way to handle it?
    Thanks
    vitaliy

    Hi Vitaliy,
    We use version 3.1.3
    I recommend always to use the latest version. If you don't want to use beta (DM 4.0 EA is out) you can use DM 3.3.
    Otherwise Oracle SQL Developer Data Modeler supports two types of domains:
    1) DM installation domains - those in file defaultdomains.xml
    2) Design level domains - they are stored in design directories and are visible to particular design only. They can be created in following ways:
    2.1 Manually - there is a property "Domains file" and you id it's not set "defaultdomains" domain will become design level domain and will be stored in file with provided name (without .xml extension)
    You can change later the file for design level domains, however you cannot change file for domain already in defaultdomains.xml.
    2.2 Using types to domains wizard you can generate design level domains
    2.3 Design level domains are created during import of  DDL files (controlled in preferences)
    2.4 You can import domains from specific file with domains using "File>Import>Domains" - you need to rename the source file if it's named defaultdomains.xml otherwise you'll get domains as installation domains
    If the list with domains is too long you can define  a list with preferred domains (or/and logical types) in "Preferences>Data Modeler>Model" and you can use shorter list in Table/Entity dialog if check "Preferred" check box next to "Type:" combo box.
    If I open 2 designs in Sql Modeler and switch between designs  then corresponding domain files should be changed automatically as well
    If you open 2 designs in one instance of DM they will use the same file with default domains i.e. you'll lose domains in one of design depending of setting for "system data type directory". You need to go with design level domains.
    Philip

  • Import / Export MySQL database in SQL Developer Data Modeler

    Hello,
    I have version 3.1.2.704 of SQL Developer Data Modeler and version 3.2.09 of SQL Developer installed.
    When I´m adding a new connection in SQL Developer, I can choose the MySQL tab an create a connection to a MySQL database.
    The connection test was successful and I can see all tables.
    I use the same JDBC driver for SQL Developer and SQL Developer Data Modeler (mysql-connector-java-5.0.4-bin.jar).
    But there are two problems.
    1. First there is an problem when I want to import from a MySQL database (SQL Developer -> File -> DataModeler -> Import -> DataDictionary).
    After choosing the MySQL connection and pressing the next button an error occurs: CONNECTION_TYPE
    What is the reason?
    2. In SQL Developer Data Modeler I have not the CONNECTION_TYPE problem. But when I want to export DDL, there is no MySQL type selectable, although there is working connection to the MySQL Database. It´s the same in SQL Developer.
    What is the reason?

    Hi,
    Data Modeler does not explicitly support import from MySQL databases, although you can use a JDBC connection to do this.
    Philip described how to set this up in forum message How to connect mySQL for reverve engineering
    There is no MySQL tab in Data Modeler - you should use "JDBC-ODBC Bridge" - "other third party Driver".
    Set URL like : jdbc:mysql://localhost:3306/database_name
    driver Class: com.mysql.jdbc.DriverAlso Data Modeler does not support generation of DDL for MySQL.
    David

  • Bug report SQL DEVELOPER DATA MODELER

    Hello,
    I think i found a bug using Sql developer data modeler 2.0.0 build 584.
    When importing a DDL file to create a relational model, foreign key constraints might not be created if foreign key uses multiple-field and the fields are not referenced in the same order as the primary key was.
    ex:
    Table FOO ..... PRIMARY KEY (id_1, id_2)
    FOREIGN KEY (id_2, id_1) REFERENCES FOO (id_2, id_1)
    Benjamin
    P.S: Bellow is a portion of SQL code demonstrating the problem:
    -- "_decompte"
    CREATE TABLE "_decompte"(
    numero_rang VARCHAR2(2),
    numero_contrat VARCHAR2(13),
    id_decompte VARCHAR2(19)
    ALTER TABLE "_decompte"
    add CONSTRAINT pk_decompte PRIMARY KEY (numero_rang, numero_contrat, id_decompte);
    -- "_decompte_detail"
    CREATE TABLE "_decompte_detail"(
    numero_rang VARCHAR2(2),
    id_ligne NUMBER(4),
    numero_contrat VARCHAR2(13),
    id_decompte VARCHAR2(19)
    -- "_decompte_detail"
    -- NOT Recognized by SQL DEVELOPER DATA MODELER (fields are not in the same order as primary key definition)
    ALTER TABLE "_decompte_detail"
    add CONSTRAINT fk_decompte_detail_1 FOREIGN KEY (numero_contrat, numero_rang , id_decompte) REFERENCES "_decompte"(numero_contrat, numero_rang , id_decompte);
    -- Recognized by SQL DEVELOPER DATA MODELER
    ALTER TABLE "_decompte_detail"
    add CONSTRAINT fk_decompte_detail_2 FOREIGN KEY (numero_rang, numero_contrat, id_decompte) REFERENCES "_decompte"(numero_rang, numero_contrat, id_decompte);

    Hi,
    Well, I was recently given some database scripts and asked to correct and improve them. These scripts were not generated but rather hand made. Having no access to a DBMS I was just curious about the result of this option in Data modeler and tried it for a better DB overview. I don't need it at all, but I was surprised to discover that the result was a failure. So I tried various scripts until I found the mistake.
    regards.

  • Sql Developer Data Modeler 3.0 EA1: Custom transformation script

    What is the object model used by:
    Tools -> Design Rules -> Transformations
    From looking at the examples (and guessing) I have managed to create ID attributes on all my entities, but how do I set its sequence number or set it as the primary key?
    entities = model.getEntitySet().toArray();
    for (var e = 0; e<entities.length; e++)
    entity = entities[e];
    att = entity.createAttribute();
    att.setName('ID');
    - Marc de Oliveira

    content of XML files:
    1) class described, parent class if there is one
    2)<property .../>
    describes property - set and get method, data type of property, default value
    3) <collection ... />
    describes collection of objects belonging to class - 5 collections are defined in Table.xml - columns, indexes, table check constraints, column groups and spatial definitions
    - get method - to get collection
    - create item method - method of described class used to create item for that collection; so for columns collection table.createColumn() will create column in table
    - other methods - add, move, remove if are defined
    4)other meta data
    definitions in 1) .. 4) are used by Oracle SQL Developer Data Modeler, so it'll be wrong to modify those xml files
    5)<roproperty ../>
    Data Modeler doesn't parse/process these definitions, we decided to not filter them out however you should not rely that much on them
    6)some junk left
    For each object you can set your own properties and they will be persisted (also included in compare/merge in versioning) together with other information for object - look at "template table" example in transformation scripts. Here are methods you can use:
    void setProperty(String key, String value);
         String getProperty(String key);
         boolean hasProperty(String key);
         boolean hasProperty(String key, String value);
         void removeProperty(String key);
         void clearProperties();
         Iterator getPropertyNames();
    Philip

  • SQL Developer Data Modeler notation

    Hi,
    I want to create a diagram for a database. While Data Modeler is very useful for generating DDL, I don't like that the only notation type you can choose from are Crows Notations and BachMan. I would like to use the Min-Max ISO notation but I don't know, is there a plugin to allow this?
    Thanks!

    Wrong forum, please try to ask your question at the SQL Developer Data Modeler forum: SQL Developer Data Modeler

  • SQL Developer Data Modeler not drawing foreign key relationships

    I'm having trouble with SQL Developer Data Modeler when I importa a DDL that has foreign keys. I export DDL files from SQL developer and choose various subsets of files. Sometimes Data Modeler will not recognize a foreign key if I include say a dozen files in the DDL file, but it will if I include just a few. Worse, even if the foreign key is recognized, sometimes it is not drawn in the Data Modeler and I have no way to make it be drawn. To be specific, I import a file containing the DDL for just two tables -- I see the foreign key! I import a file containing the DDL for a dozen tables including the two, I don't! Is there something I am not understanding about when Data Modeler will draw foreign keys or is the tool simply quite buggy?
    Much thanks!
    -ttamon

    Hi Philip,
    I believe I have isolated the problem. Apparently if a field is named "FOREIGN..." it interferes with the tool recognizing foreign keys. Try to import a DDL file containing the following text:
    CREATE TABLE "SAMPLE"."SAMPLE_ONE"
    (     "ID" VARCHAR2(255 CHAR) NOT NULL ENABLE,
         "VALUE" VARCHAR2(255 CHAR),
         PRIMARY KEY ("ID")
    TABLESPACE "SAMPLE_DATA" ;
    CREATE TABLE "SAMPLE"."SAMPLE_TWO"
    (     "ID" VARCHAR2(255 CHAR) NOT NULL ENABLE,
         "FOREIGN_NAME" VARCHAR2(255 CHAR),
         PRIMARY KEY ("ID")
    TABLESPACE "SAMPLE_DATA" ;
    CREATE TABLE "SAMPLE"."SAMPLE_THREE"
    (     "ID" VARCHAR2(255 CHAR) NOT NULL ENABLE,
         "VALUE" VARCHAR2(255 CHAR) NOT NULL ENABLE,
         "ALT_ID" VARCHAR2(255 CHAR),
         PRIMARY KEY ("ID")
    TABLESPACE "SAMPLE_DATA" ENABLE,
         CONSTRAINT "FK6DF8294F2288190D" FOREIGN KEY ("ALT_ID")
         REFERENCES "SAMPLE"."SAMPLE_ONE" ("ID") ENABLE
    TABLESPACE "SAMPLE_DATA" ;
    You will discover the foreign key is not recognized or drawn! Now, if you swap the location of the third table (put it up first) everything works fine. This is how I discovered the problem, various subsets would work, others would not. To confirm the problem is with the field named "FOREIGN_NAME" use the DDL as specified above but change the first letter in the word "FOREIGN" to something else, and it will recognize the foreign key. Looks like a bug to me (took me about 4 hours to isolate this!). I am using Oracle SQL Developer Data Modeler version 2.0.0 Build 584.
    -ttamon

  • SQL Developer Data Modeler - MAC Version 2.0.0 Build 570 - Issues

    In no particular order
    - The Help, About box displays a different version information set then the SQL Developer Data Modeler, About SQl Developer Data Modeler.
    - Not able to move any portion of the connection between entities. Thus there is no current way to align the lines as wanted.
    - There is no way to scroll all the way to the right side if you have more then approximately 5 entities horizontally.
    - Open SQl Developer data Modeler, Click on File, Open, select an XML file and a dialog box is displayed.
    - The checkbox needs to be moved to the right as it is partially cut off.
    - the text next to the checkbox is cutoff and only displays "Don't show this dialog agai".
    - Printing Diagrams does not print correctly unless you have the entities displayed such that you can "read" them. If you have diminished the display so that you are not able to see the table or
    field names then the Print Diagrams does not display the entity or field names.
    - File, Recent Designs, does not retain the last or any design having been opened and/or saved.
    - VarChar2 is not a displayed data type for Oracle 10G.
    - There does not appear to be a way to create a set of fields which you would like to have added quickly and easily to selected tables.
    - DDL Editor displays the Macintosh HD. It should display my User Directory
    Thanks,
    Lester
    [email protected]

    Sorry to dredge up an old thread.
    I just downloaded data modeler and tried to start, but got an error regarding bad version:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    I have JRE 1.5, but that seems to be the latest per the Software Udpate utility, and when prompted, I set my java directory to /usr, since my java bin was under /usr/bin.
    Let me know if I should start a different thread.
    Thanks.
    Chi

  • Spatial support in SQL Dev Data Modeler

    Hi,
    I am designing some tables using the new SQL Developer Data Modeler, and have added some columns which will store point clouds and TINs (both using the specialized Oracle data types). I have noticed in Data Modeler that the SDO_GEOMETRY data type is available to use as a column type, but the SDO_PC and SDO_TIN data types are not available for use. Or perhaps the column types for these data types are actually something else - perhaps integers (given that several tables may be used to store this specialized data)?
    Thanks,
    Matt

    Hi Matt,
    there are additional meta data related to spatial tables (and indexes) - Data modeler helps these data to be defined and properly registered in USER_SDO_GEOM_METADATA view. Also specific meta data for spatial indexes can be defined - unfortunately support for spatial indexes in dialogs is broken. Still table related spatial meta data can be defined and generated - see example below. You also can import spatial meta data from database (support is at Oracle 10g level) - you need to check "Spatial Properties" in "Data dictionary Import wizard".
    About SDO_Geometry data type and other types in MDSYS schema - SDO_Geometry comes predefined because of its importance for spatial table definitions - but that definition is incomplete (and still enough to be used). If you need complete definition of SDO_Geometry type or other types in MDSYS schema, you simply can import them from database and can use them in your model.
    Philip
    here is DDL with spatial meta data:
    - Generated by Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 570
    -- at: 2009-07-22 00:12:29
    -- site: Oracle Database 10g
    -- type: Oracle Database 10g
    CREATE OR REPLACE TYPE MARKET_TYPE
    CREATE OR REPLACE TYPE MARKET_TYPE
    AS OBJECT
    SHAPE SDO_GEOMETRY ,
    NAME VARCHAR2 (32)
    ) NOT FINAL
    CREATE TABLE COLA_MARKETS
    MKT_ID NUMBER NOT NULL ,
    NAME VARCHAR2 (32 BYTE) ,
    SHAPE MDSYS.SDO_GEOMETRY
    ALTER TABLE COLA_MARKETS
    ADD CONSTRAINT PK_COLA_MARKETS PRIMARY KEY ( MKT_ID ) ;
    CREATE TABLE COLA_MARKETS_2
    MKT_ID NUMBER NOT NULL ,
    MARKET MARKET_TYPE NOT NULL
    ALTER TABLE COLA_MARKETS_2
    ADD CONSTRAINT PK_COLA_MARKETS_2 PRIMARY KEY ( MKT_ID ) ;
    CREATE TABLE LONG_LAT_TABLE
    LONGITUDE NUMBER ,
    LATITUDE NUMBER ,
    NAME VARCHAR2 (32 BYTE)
    INSERT INTO USER_SDO_GEOM_METADATA ( TABLE_NAME , COLUMN_NAME , DIMINFO , SRID )
    VALUES ( 'COLA_MARKETS', 'SHAPE' ,
    MDSYS.SDO_DIM_ARRAY (
    MDSYS.SDO_DIM_ELEMENT ('X',0,20,0.005),
    MDSYS.SDO_DIM_ELEMENT ('Y',0,20,0.005)
    NULL
    INSERT INTO USER_SDO_GEOM_METADATA
    VALUES
    'COLA_MARKETS_2',
    'MARKET.SHAPE',
    MDSYS.SDO_DIM_ARRAY (
    MDSYS.SDO_DIM_ELEMENT ('X',0,20,0.005),
    MDSYS.SDO_DIM_ELEMENT ('Y',0,20,0.005)
    NULL
    CREATE INDEX COLA_SPATIAL_IDX_2 ON COLA_MARKETS_2
    MARKET.SHAPE
    INDEXTYPE IS MDSYS.SPATIAL_INDEX
    INSERT INTO USER_SDO_GEOM_METADATA
    VALUES
    'LONG_LAT_TABLE',
    'GET_LONG_LAT_PT(LONGITUDE,LATITUDE)',
    MDSYS.SDO_DIM_ARRAY (
    MDSYS.SDO_DIM_ELEMENT ('Longitude',-180,180,0.005),
    MDSYS.SDO_DIM_ELEMENT ('Latitude',-90,90,0.005)
    8307
    ;

  • Connection to SQL Developer Data Modeler Fails

    All,
    I am using Oracle SQL Developer Data Modeler version 3.0.0.665 in an Oracle 10g database environment. When I try to import DDLs, I get the following error message:
    NoSuchMethodError:
    oracle.i18.ntext.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/CharacterConverter;I use the same connection profile in Oracle SQL Developer version 1.5.0.53, and my connection works fine there, but the same credentials in SQL Developer Data Modeler fails with the above error message. Any thoughts what causes this connection problem?
    Thank you,
    Seyed

    Hi Philip,
    Thank you so much for the information. Your suggested solution resolved my problem. For some reason when I first installed the Data Modeler, it worked fine and I was able to save the result into PDF files. Then my connection went bad and I posted this question on this forum.
    Again thank you very much,
    Seyed

Maybe you are looking for

  • Error in Customer Exit

    Hi Guys, I hope someone would be able to quickly point me in the right direction. I have the following error message: "Diagnosis This internal error is a deliberate termination, since a program status has arisen, that is not allowed to occur. The err

  • To sync WIRED, need to turn off WIRELESS feature on BB. HOW?

    The Desktop Mgr says to turn off the WIRELESS feature on my Curve 8310 in order to sync with my home laptop.  On the BB, where is this nonwireless/wireless feature?  I'm trying to sync thru the USB port with a cable.  Previously this Curve was synche

  • I've defragmented the iPod HD and optimized its directory. Anyone else?

    I have these two applications I use for my MBP and external FW drive: 1. iDefrag. For defragmenting HD 2. Disk Warrior 4 (for Intel). Respected directory repair program. Having successfully used these two apps with my normal computing devices, and se

  • Keyboard short cut to lock keyboard keys

    I know there is a short cut on the keyboard to lock the keys so you can dust or not have someone or an animal accidently activate them.  It has something to do with hitting to keys on the keyboard or hitting one of the keys 5 times in a row.  I just

  • New system, problems in process chain

    Hi, Recently we made a copy from Prod system to new one. The copy was successfully and the connection with the R/3 system too. But when I try to execute a process chain, I receive the following message: Job BI_PROCESS_CHAIN could not be scheduled. Te