Capture-schema and Oracle

I am trying to run capture-schema on command line with Oracle and am getting the following error:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java 532)
I have set the CLASSPATH to /u01/app/oracle/8.1.7/jdbc/lib/classes12.zip
Running utility as:
./capture-schema -dburl jdbc:oracle:thin:@boxname:1521:sid -username myname -password mypassword -driver oracle.jdbc.driver.OracleDriver -schemaname SchemaName -table MyTable -out /usr/tmp/File.dbschema
I know it is picking up the Oracle in classpath since if I remove the classes12.zip It complains that it can't find the oracle.jdbc.driver.OracleDriver.
Anyone know what I'm missing here?

Hi, I have captured the schema file and stored it at mytest.dbschema in the src directory for my classes. I can see that the file is a part of the ejb.jar file and the sun-cmp-mappings.xml file the schema is defined as "mytest".
When I try to deploy the jar file, I get an error stating the following:[05/Oct/2004:15:45:52] SEVERE ( 412): JDOCodeGenerator: Caught a RuntimeException :
java.lang.RuntimeException: Could not find schema file mytest on classpath EJB CL:
[com.iplanet.ias.loader.EJBClassLoader$URLEntry@1d626a4, com.iplanet.ias.loader.EJBClassLoader$URLEntry@82f392]
Does anyone have any idea where I am supposed to put that file and also to which classpath is the compiler is refering? I assumed that since it is a part of the ejb.jar file, I would not have to specify a path to the file.
Thanks,
WPM

Similar Messages

  • Star Schema and Oracle 11gR2 ?

    Star Schema and Oracle 11gR2 ?
    I know the star schema (ROLAP) and implemented couple of them. Apart from general design principle of dimension, FACT, surrogate key etc, what are the specific items needed in Oracle 11gR2?
    Some one talked about over 10 conditions/pre-requisits for Star Schema (ROLAP) implementations in Oracle 11gR2. I did some search, but I did not get any hits.
    Do we design Star schema (ROLAP) differently in Oracle 11gR2?
    Any pointer welcome.
    Thanks in helping.

    Hi,
    from my experience there are no specific requirements for the star schema design when using owb 11.2.
    When using the OWB ETL Option (extra license required), one may use the owb dimensions and cubes.
    These make mapping development easier, since support for SCD2 is built into the dimension operators. Loading the cube is simplified because the lookup of the surrogate key from the dimension is built into the cube operator.
    These owb objects will deploy specific dimension and fact tables. If you already have existing ones, you must modify them manually.
    I implemented several projects without these advanced features. Baiscally I did the same in OWB what I would have done using hand-coded SQL and PL/SQL. And it worked just fine.
    If you find those 10 conditions, please post them here. I'm curious to learn about them!
    Regards,
    Carsten.

  • Difference between capture schema and import/register schema

    As far as versioning control, what are the differences, if any, between 1.) capturing a schema's objects thru design editor and 2.) importing and registering a schema?

    Capturing a schema will create instances of the TABLE type in the Designer model.
    Registration creates a new model with new types in the Repository.
    DAvid

  • CMP with Oracle 9i, Sun Java Sys App Serv 8.2 and J2EE1.4 (capture-schema)

    while building Entity bean with Container managed persistence
    we will create a database schema file, which will allow us to map fields
    from the enterprise beans to columns in the database tables created.
    For creating database schema file using Sun java System Application Server 8.2 and oracle9i database for j2ee1.4, i issued the following command at the command prompt.
    F:\j2eetutorial14\examples\ejb\cmproster>capture-schema -dburl jdbc:oracle:thin:@127.0.0.1:1521:oraglo -username scott -password tiger -table LEAGUE -table PLAYER -table TEAM -table TEAM_PLAYER -schemaname scott -driver oracle.jdbc.driver.OracleDriver -out build/cmproster.dbschema
    The above command gives the following error message. How do i debug this error. Thanks in advance
    using dburl:jdbc:oracle:thin:@127.0.0.1:1521:oraglo
    using username:scott
    using password:tiger
    using driver:oracle.jdbc.driver.OracleDriver
    using schemaname:scott
    using output file:build/cmproster.dbschema
    Capturing schema:scott
    JDO71101: Cannot access table LEAGUE.
    JDO71101: Cannot access table PLAYER.
    JDO71101: Cannot access table TEAM.
    JDO71101: Cannot access table TEAM_PLAYER.
    JDO71102: No valid tables requested. No schema file created

    how to provide the JNDI name in Sun Java Application Server
    Please do the favour
    Please reply to [email protected]

  • How you we design and create a star schema in Oracle BI?

    We can use Informatica to generate ETL. But how do we design the star-schema?? Is there a design tool like Oracle Designer??
    What is the purpose of the DAC??

    Hi,
    You can handle the star schema design in the BMM layer. No separate tool for that.
    Refer-
    http://gerardnico.com/wiki/data_modeling/star_schema
    DAC-
    Data Warehouse Application Console (DAC) works together with Informatica to acomplish the ETL for pre-packaged BI application.
    - DAC publish the changes from OLTP
    - Informatica extracts the changes from the change log published by DAC as well as from the base table
    - Informatica load the data to the stage tables and the target tables in the data warehouse
    - DAC manage the performance by dropping indexes, truncating stage tables, rebuilding the indexes, and analyzing the tables during the process
    If you do not use DAC, you have to write your own custom change capture process and need to redesign from scratch an ETL method that allow the restart of the ETL process from point of failure at record level. The biggest saving is that DAC can survive during the upgrade , while your custom processes cannot.
    Refer-
    http://obieetraining11.blogspot.in/2012/06/how-to-use-dac-source-system-parameter.html
    Hope this helped/ answered.
    Regards
    MuRam
    Edited by: MuRam on Jun 25, 2012 2:37 AM

  • Oracle APPS schema copy with all privileges to new schema and table space

    Hi all,
    Here is scenario:
    I have installed e-business suite in windows 2003 server for training environment using production (prod), single node and without vision (demo).
    i have to create a new table space in e:\oracle\prodmanz with similar content as in proddata and create a new schema called manz with same privileges as APPS.
    Kindly advice.
    Manish Kumar Chudasama
    email: [email protected] cc to [email protected]
    Thanks in advance guys.

    Hi Khalid,
    Ideally when you execute sql 'create schema <schema_name>' then the logged in user is going to default owner of the schema and you should see that under 'object privileges' of that user.
    The user will have 'create any' privileges which means the user has all the privileges on that schema.
    if you want to check who is owner of the schema in the system, please check 'SCHEMAS' under views in SYS.
    Regards,
    Venkat N.

  • Schema and XML Type table in Oracle 9.2.0.2.0

    Somebody please helps me!
    I am studying about Oracle XML DB, and I have some problems:
    declare
    result boolean;
    begin
    result := dbms_xdb.createFolder('/doan/' );
    end;
    DELETE FROM resource_view WHERE any_path = '/doan/KHACH_HANG.xsd';
    BEGIN
    result := dbms_xdb.createresource('/doan/KHACH_HANG.xsd','<?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by NGHI (KHTN) -->
    <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="KHACH_HANG">
              <xs:annotation>
                   <xs:documentation>Comment describing your root element</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="MA_KH" type="xs:string"/>
                        <xs:element name="TEN_KH" type="xs:string"/>
                        <xs:element name="DIA_CHI" type="xs:string"/>
                        <xs:element name="DIEN_THOAI" type="xs:string"/>
                        <xs:element name="EMAIL" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>');
    dbms_xmlschema.registerSchema
    'http://localhost:8080/Khach_Hang.xsd',
    xdbURIType('/doan/KHACH_HANG.xsd').getClob(),
    LOCAL => TRUE,
    GENTYPES => TRUE,
    GENTABLES => FALSE,
    OWNER => 'SCOTT');
    DROP TABLE scott.khach_hang;
    CREATE TABLE scott.Khach_Hang OF XMLType
    XMLSchema "http://localhost:8080/Khach_Hang.xsd"
    ELEMENT "KHACH_HANG";
    insert into scott.Khach_Hang values(
    XMLType('<KHACH_HANG>
    <MA_KH>12</MA_KH>
    <TEN_KH>AAAA</TEN_KH>
    <DIA_CHI>135 B Tran Hung Dao</DIA_CHI>
    <DIEN_THOAI>454646</DIEN_THOAI>
    <EMAIL>[email protected]</EMAIL>
    </KHACH_HANG>'));
    END;
    COMMIT;
    When I insert data into table, an error appearance:
    "schema and element does not match"
    Please help me!
    Thanks

    Yes, you can and should be [migrating LONG to LOB in Oracle 9.2|http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96591/adl08lon.htm].
    Justin

  • How to find data dictionary and oracle schema tables for UTF8 char conversi

    I am doing UTF8 char conversition, i got lot of convertable objects,as per document we don't need to worry about data dictionary objects and how to find data dictionary and oracle schema objects for UTF8 char conversition.
    USER.TABLE Convertible Truncation Lossy
    MDSYS.OPENLS_NODES 17 0 0
    MDSYS.SDO_COORD_OP_PARAM_VALS 200 0 0
    MDSYS.SDO_GEOR_XMLSCHEMA_TABLE 1 0 0
    MDSYS.SDO_STYLES_TABLE 78 0 0
    MDSYS.SDO_XML_SCHEMAS 3 0 0
    ORDDATA.ORDDCM_CT_PRED_OPRD 51 0 0
    ORDDATA.ORDDCM_DOCS 9 0 0
    ORDDATA.ORDDCM_MAPPING_DOCS 1 0 0
    SYS.METASTYLESHEET 178 0 0
    SYS.REGISTRY$ERROR 2 0 0
    SYS.RULE$ 21 0 0
    SYS.SCHEDULER$_EVENT_LOG 182 0 0
    SYS.WRH$_SQLTEXT 2,099 0 0
    SYS.WRH$_SQL_PLAN 1,736 0 0
    SYS.WRI$_ADV_ACTIONS 5,452 0 0
    SYS.WRI$_ADV_DIRECTIVE_META 5 0 0
    SYS.WRI$_ADV_OBJECTS 2,278 0 0
    SYS.WRI$_ADV_RATIONALE 9,594 0 0
    SYS.WRI$_ADV_SQLT_PLANS 455 0 0
    SYS.WRI$_ADV_SQLT_PLAN_STATS 288 0 0
    SYS.WRI$_DBU_FEATURE_METADATA 188 0 0
    SYS.WRI$_DBU_FEATURE_USAGE 16 0 0
    SYS.WRI$_DBU_HWM_METADATA 20 0 0
    SYS.WRI$_REPT_FILES 27 0 0
    XDB.XDB$DXPTAB 2 0 0
    XML CSX Dictionary Tables:
    USER.TABLE Convertible Truncation Lossy
    Application Data:
    USER.TABLE Convertible Truncation Lossy
    APPLSYS.BISM_OBJECTS 4 0 0
    APPLSYS.DR$FND_LOBS_CTX$I 0 103 1,260,883
    APPLSYS.FND_CONC_PROG_ANNOTATIONS 272 0 0
    APPLSYS.FND_OAM_CONTEXT_FILES 15 0 0
    APPLSYS.FND_OAM_DOC_LINK 1 0 0
    APPS.FND_OAM_CONTEXT_FILES_1 6 0 0
    AZ.AZ_APIS 11 0 0
    AZ.AZ_SELECTION_SET_ENTITIES_B 48 0 0
    ECX.ECX_DTDS 205 0 0
    ECX.ECX_FILES 91 0 0
    IBC.IBC_ATTRIBUTE_BUNDLES 41 0 0
    JTF.JTF_HEADER_DTD 1 0 0
    JTF.JTF_MESSAGE_OBJECTS 82 0 0
    JTF.JTY_TRANS_USG_PGM_SQL 29 0 0
    ODM.ODM_PMML_DTD 1 0 0
    OKC.OKC_REPORT_SQL_B 3 0 0
    OKC.OKC_REPORT_SQL_TL 2 0 0
    OKC.OKC_REPORT_XSL_TL 5 0 0
    XDP.XDP_PROC_BODY 10 0 0
    [Distribution of Convertible, Truncated and Lossy Data by Column]
    Data Dictionary Tables:
    USER.TABLE|COLUMN Convertible Truncation Lossy
    MDSYS.OPENLS_NODES|SYS_NC00004$ 17 0 0
    MDSYS.SDO_COORD_OP_PARAM_VALS|PARAM_VALUE_FILE 200 0 0
    MDSYS.SDO_GEOR_XMLSCHEMA_TABLE|XMLSCHEMA 1 0 0
    MDSYS.SDO_STYLES_TABLE|DEFINITION 78 0 0
    MDSYS.SDO_XML_SCHEMAS|XMLSCHEMA 3 0 0
    ORDDATA.ORDDCM_CT_PRED_OPRD|SYS_NC00004$ 51 0 0
    ORDDATA.ORDDCM_DOCS|SYS_NC00005$ 9 0 0
    ORDDATA.ORDDCM_MAPPING_DOCS|SYS_NC00007$ 1 0 0
    SYS.METASTYLESHEET|STYLESHEET 178 0 0
    SYS.REGISTRY$ERROR|MESSAGE 1 0 0
    SYS.REGISTRY$ERROR|STATEMENT 1 0 0
    SYS.RULE$|CONDITION 21 0 0
    SYS.SCHEDULER$_EVENT_LOG|ADDITIONAL_INFO 182 0 0
    SYS.WRH$_SQLTEXT|SQL_TEXT 2,099 0 0
    SYS.WRH$_SQL_PLAN|OTHER_XML 1,736 0 0
    SYS.WRI$_ADV_ACTIONS|ATTR5 2,726 0 0
    SYS.WRI$_ADV_ACTIONS|ATTR6 2,726 0 0
    SYS.WRI$_ADV_DIRECTIVE_META|DATA 5 0 0
    SYS.WRI$_ADV_OBJECTS|ATTR4 2,278 0 0
    SYS.WRI$_ADV_RATIONALE|ATTR5 9,594 0 0
    SYS.WRI$_ADV_SQLT_PLANS|OTHER_XML 455 0 0
    SYS.WRI$_ADV_SQLT_PLAN_STATS|OTHER 288 0 0
    SYS.WRI$_DBU_FEATURE_METADATA|INST_CHK_LOGIC 21 0 0
    SYS.WRI$_DBU_FEATURE_METADATA|USG_DET_LOGIC 167 0 0
    SYS.WRI$_DBU_FEATURE_USAGE|FEATURE_INFO 16 0 0
    SYS.WRI$_DBU_HWM_METADATA|LOGIC 20 0 0
    SYS.WRI$_REPT_FILES|SYS_NC00005$ 27 0 0
    XDB.XDB$DXPTAB|SYS_NC00006$ 2 0 0
    XML CSX Dictionary Tables:
    USER.TABLE|COLUMN Convertible Truncation Lossy
    Application Data:
    USER.TABLE|COLUMN Convertible Truncation Lossy
    APPLSYS.BISM_OBJECTS|SYS_NC00023$ 4 0 0
    APPLSYS.DR$FND_LOBS_CTX$I|TOKEN_TEXT 0 103 1,260,883
    APPLSYS.FND_CONC_PROG_ANNOTATIONS|PROGRAM_ANNOTAT 272 0 0
    APPLSYS.FND_OAM_CONTEXT_FILES|TEXT 15 0 0
    APPLSYS.FND_OAM_DOC_LINK|DOC_LINK_INFO 1 0 0
    APPS.FND_OAM_CONTEXT_FILES_1|TEXT 6 0 0
    AZ.AZ_APIS|FILTERING_PARAMETERS 11 0 0
    AZ.AZ_SELECTION_SET_ENTITIES_B|FILTERING_PARAMETE 48 0 0
    ECX.ECX_DTDS|PAYLOAD 205 0 0
    ECX.ECX_FILES|PAYLOAD 91 0 0
    IBC.IBC_ATTRIBUTE_BUNDLES|ATTRIBUTE_BUNDLE_DATA 41 0 0
    JTF.JTF_HEADER_DTD|HEADER_DTD 1 0 0
    JTF.JTF_MESSAGE_OBJECTS|BUS_OBJ_DTD 41 0 0
    JTF.JTF_MESSAGE_OBJECTS|BUS_OBJ_SQL 41 0 0
    JTF.JTY_TRANS_USG_PGM_SQL|BATCH_DEA_SQL 1 0 0
    JTF.JTY_TRANS_USG_PGM_SQL|BATCH_INCR_SQL 5 0 0
    JTF.JTY_TRANS_USG_PGM_SQL|BATCH_TOTAL_SQL 6 0 0
    JTF.JTY_TRANS_USG_PGM_SQL|INCR_REASSIGN_SQL 5 0 0
    JTF.JTY_TRANS_USG_PGM_SQL|REAL_TIME_INSERT 6 0 0
    JTF.JTY_TRANS_USG_PGM_SQL|REAL_TIME_SQL 6 0 0
    ODM.ODM_PMML_DTD|DTD 1 0 0
    OKC.OKC_REPORT_SQL_B|SQL_TEXT 3 0 0
    OKC.OKC_REPORT_SQL_TL|HELP_TEXT 2 0 0
    OKC.OKC_REPORT_XSL_TL|HELP_TEXT 2 0 0
    OKC.OKC_REPORT_XSL_TL|XSL_TEXT 3 0 0
    XDP.XDP_PROC_BODY|PROC_BODY 10 0 0
    -------------------------------------------------- ---------------- ---------------- ----------------

    Hi;
    Please run below query which could be helpful for your issue:
    select * from dictionary where TABLE_NAME LIKE '%NLS%'
    select * from dictionary where TABLE_NAME LIKE '%GLOBAL%'
    Regard
    Helios

  • Oracle DB schema and data comparison tools that compare BLOBs

    I'm looking for schema and data comparison tool like DBDiff or DbTools, but it has to be able to compare BLOB and CLOB fields. I went thru few products available on the market but could not find any that does that.
    Can you please recommend tool that will help me with it.
    Thanks,
    E

    Hi.
    I use Comparenicus for Oracle from Orbium Software. It compares data and schema, CLOBs, BLOBs..
    It can also handle large tables which is very useful for some of my environments.
    Last (but not least) it has a unique feature for copying selective data from one DB to another. You can read about it this post:
    Efficient way to copy business data from Production DB to Test DB
    Enjoy..

  • 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.

  • Restart install deleting schemas and not oracle

    If I restart my install, and I want to delete the content in oracle (i.e. I want to remove the PCD schema), what is the command string to delete schemas in oracle. I do not want to delete oracle instance just the schemas taht were created during the install. The SAP EP manual refrences the SAP oracle EP manual on how to delete schemas but when you go to the EP Oracle manual there is not section explaining how to delete schemas.
    Thanks
    John Ryan

    You can use drop user "username" cascade;
    From SQLPLUS connect as system or sys.
    username is schema name.
    HTH
    Venkat

  • Target Schema and Runtime Instance of Oracle Database

    I am new to OWB and starting to understand its architecture.
    Does the Runtime Access User, Runtime Repository Schema and Target Schema (discussed a the Runtime Instance) need to be installed on every database that will be a target? For example, if I have a data warehouse and two data marts, with I have three installations?

    Hi,
    You need to run the OWB Runtime Assistent for every target schema, that is correct (it will add the auditing stuff that enables you to monitor what's happening deployment and execution wise).
    Whether you need to create a Runtime Repository and its accompanying Runtime Access User(s) for each and every target I'm not sure.
    If your target schema's are on the same instance I'd say that you can use as few or many Runtime Repositories as you wish.
    When on different instances I think it's necessary to create them.
    Hopefully other forum-attendees can add some more if they have definite answers.
    Cheers, Patrick

  • Java.lang.NullPointerException when capture schema

    When I try to capture schema from MySQL (WIN) to Oracle 10G R2 (unix), I have a exeption error: java.lang.NullPointerException
    The tables are captured in the repository but columns and others objects don't.
    The last line in the java log is:
    unnable.run(AbstractMigrationProgressRunnable.java:159)
    at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.run(M
    igrationProgressBar.java:532)
    Message was edited by:
    user567049

    I have also encountered same issue. Please let me know the solution in case you find it.
    In fact after configuiring Oracle files as per the document provided at Oracle OTN site 'Collaboration handbook', I am unable to connect OID. As per log it says
    2003/04/01:20:37:58[Oidmon]: Unable to connect to database, will retry after 20 sec
    2003/04/01:21:20:21Starting Monitor Process, PID=2920
    2003/04/01:21:20:21ORACLE_SID not set, setting to iasdb
    2003/04/01:21:41:22Failed to fetch Process Table. ORA-12571: TNS:packet writer failure
    I checked Listener, which was found ok, then I checked TNSPING, which executed ok.
    I have dowloaded documents troubleshooting OID, but no success. The document itself says that architecture of OID is fairly complex and the log does not suggest much insight.
    Any solution?
    Regards,
    Vipul

  • Capture-schema.bat

    Hi,
    I am writing a entity bean and trying to get the database schema using to capture-schema.bat. I am passing all parameters including -schemaname to capture-schema.bat.
    In the output file, there is no information regarding any tables at all. Is that right? When I try to deploy the bean using the deploy tool, In the Primary Table for bean, there are no database tables displayed and I am unable to do the mappings.
    Can anyone tell me where I am going wrong. The capture-schema result is as follows -
    <?xml version="1.0" encoding="UTF-8" ?>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.SchemaElement" ID="com.sun.forte4j.modules.dbmodel.SchemaElement-751695075">
    <impl>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.SchemaElementImpl" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.SchemaElementImpl9532399">
    <tables>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection32794782">
    <owner>
    <OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.jdbcimpl.SchemaElementImpl9532399"/>
    </owner>
    <_elms>
    <OBJECT/>
    </_elms>
    <_template>
    <ARRAY SIZE="0" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.TableElement">
    </ARRAY>
    </_template>
    </OBJECT>
    </tables>
    <_name>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier22201561">
    <name>ajax</name>
    </OBJECT>
    </_name>
    <_driverVersion>9.2.0.1.0</_driverVersion>
    <_catalog>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier16359413">
    <name></name>
    </OBJECT>
    </_catalog>
    <element>
    <OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.SchemaElement-751695075"/>
    </element>
    <_databaseProductVersion>Oracle9i Release 9.2.0.1.0 - Production
    JServer Release 9.2.0.1.0 - Production</_databaseProductVersion>
    <_driver>oracle.jdbc.OracleDriver</_driver>
    <_databaseProductName>Oracle</_databaseProductName>
    <_schema>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier7652266">
    <name>ajax</name>
    </OBJECT>
    </_schema>
    <_url>jdbc:oracle:thin:@90.90.90.200:1521:mmp</_url>
    <_driverName>Oracle JDBC driver</_driverName>
    <_username>AJAX</_username>
    </OBJECT>
    </impl>
    <versionNo>2</versionNo>
    </OBJECT>
    Thanks in advance.
    Regards.

    Hi,
    I have all necessary tables in the database already.
    The exact command i give is below -
    capture-schema -username ajax -password ajax -url jdbc:oracle:thin:@90.90.90.200:1521@mmp -driver oracle.jdbc.OracleDriver -schemaname ajax -tablecustomers -out c:\dbshcema\customers
    If i give a space b/w -table and customers like "-table customer" the command will not recognize the table name and gives an error. So i have to give it as -tablecustomers. 90.90.90.200 is where my oracle database is residing and the user ajax has all privileges, dba rights, etc. capture-schema also requires me to give the schemaname for oracle databases.
    I tried again few times, but no luck. The output still does not contain any table information/schema at all.
    Thanks a lot,
    Regards.

  • Capture-schema does not work properly

    The command line tool "capture-schema" produces invalid schema files (with Oracle), as obscure exceptions are thrown at runtime. The wizard integrated in Forte does a better job. Can any changes be made to the setup, so that capture-schema uses the classes underlying Forte?
    Platform: Sun ONE AppServer 7 beta 2, Win 2000, Oracle 9.0.1.

    I have what seems to be exactly the same problem, using an Informix database with their JDBC driver. When I examinded the schema file produced, I found that column references in at least one table was pointing into columns defined in other, completely unrelated tables. By changing the order of the tables listed with the -table option, the problem moved to another table.
    I am currently evaluating Sun ONE as an alternative to Borland Enterprise Server, and can't get any further without some fix. Our database consist of about 800 tables. I only capture the schema for the entity beans that are used in one EAR module, which is usually around 20, but the format of the schema file does not make it easy to examine it and fix it by hand.
    BTW, capturing from Forte is not an option. We have a very complex build system based on Ant, which requires the capturing to be done by some command line utility.
    Please help! Where can I get a working capture-schema?!

Maybe you are looking for