URGENT: Show the Database Schema in a JSP

Hi,
I want to make a JSP to show the Database Schema.
I'm using JDev 10.1.2 + ADF/Struts + Oracle Database.
I need show the tablenames in this page.
How to do this ?

more details;
1. I developed a web-application, and now, I want to include a new module:
- Import and Export database objects.
2. I have a Stored Procedure that receives two parameters:
- The table name and the operation(import or export).
This Stored Procedure import/export the table to/from a DBF file.
Well, I found two solutions and two problems:
---- Solution 01 ------
-> To make one Store Procedure to get the table object names and show this result in a JSP.
---- The Problem ----
I do not know how to "to pass/to transfer" the connection object from the Application Module to a JDBC connection object or from an Application Module execute a Stored Procedure.
---- Solution 02 -----
-> From the ADF objects, browsing the database objects(schema) to a JSP.
---- The Problem ----
I do not know how to do this. I do not know which objects to use.
Please, give-me an idea, how to do this, and in the your opinion which is the best solution.
thanks for any reply, for any help.

Similar Messages

  • I moved from an old macbook to a new one.  I copied all my files onto a hard drive.  On trying to setup my mail, i went into documents, microsoft user identities, office 2011 and it shows the database but wont let me select it.  Urgent help pls

    I moved from an old macbook to a new one.  I have installed Office for Mac 2011. I copied all my files from my old notebook onto a hard drive.  On trying to setup my mail, i went into my hard drive and accessed microsoft user identities, office 2011 and it shows the database but wont let me select it.  Its almost as if the file is there but not accessable.  I desperately need to access my old mail.  How do I do this?  I am fairly confident that I copied all files off my old notebook.  Is there a way for me to search for the Database file?  Maybe I copied it to a different location?  Urgent help please.

    Hello mafrerichs and welcome to Apple Support Communities,
    Simplest way is to use Target Disk mode:
    How to use and troubleshoot FireWire target disk mode - Apple Support
    and hook to another Mac and use CCC or SuperDuper and clone your HD to another drive.
    You could also pull the drive out of your MBP and use an external USB case or SATA - USB dongle to hook it to another Mac.
    "MacBook Pro (15-inch Late 2011),... have a 15" 2012 Macbook pro with 2gb of ram, i7 processor"
    That's a little confusing?

  • Help me to fix the error while running DBMaintain Against the Database Schema in ASE.

    Hi All,
    I am trying to install sybase mobiliser platform 5.1 SP 03.I am  referring the following guide
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01871.0513/pdf/Mobiliser_Platform_Installation_Guide_5.1…
    Now I have configured the ASE database server with default settings and now it is running fine.
    Now my concerns are as follows:
    1) I have executed the database schema (mobr5): 001_MONEY_drop_and_create_user.DDL with the help of linux command
    isql -Usa -SASE1 -Phello@123 -i/opt/sybase/db/sql/001_MONEY_drop_and_create_user.DDL -o/opt/sybase/ASE-15_0/install/ASE1.log
    How do I check the created database schema and user with default name 'mobr5'?
    2) While running DBMaintain Against the Database Schema, I have followed the steps mentioned in the guide and made the following changes in the file dbmaintain.properties.ase
    database.driverClassName=com.sybase.jdbc4.jdbc.SybDriver
    database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
    database.userName=mobr5
    database.schemaNames=mobr5
    database.password=paybox
    #Must be set if the driver is not packaged inside the scriptarchive or is present on the classpath
    #e.g. /path/to/driver.jar
    #database.driverLocation=/path/to/jconnect.jar
    database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase.jar
    database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla.jar
    When I execute the script archives ,
    java –jar /opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-driverless.jar -c /opt/sybase/db/sql/dbmaintain.properties.ase
    java –jar com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla-driverless.jar -c dbmaintain.properties.ase
    I get the following error:
    So please help me to resolve the issues.

    Hi All,
    Issue is resolved and database has been updated successfully..
    Error was in database .url field of dbmaintain.properties.ase file.
    I have changed the database.url field  from database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
    to  database.url=jdbc:sybase:Tds:<Private IP of Linux instance>:5000/mobr5
    Note:- I am installing mobiliser platform on AWS cloud.So I have made use of Private IP address of AWS Linux instance.

  • Export the database schema / structure to a file server

    I would really appreciate if any of you can share your experience on the following:
    Database-1: Oracle 8i/9i and
    Database-2: SQL Server v65/7/2000
    I am looking for a solution to extract all the database schema/structure to a pre-defined location onto a file server. I wanted to configure this thru CRON job (for unix) and Microsoft Task Scheduler (for Windows). Also this solution should work for all databases (must work with Oracle, SQL Server). The exported file should not be just a dump file (.dmp), assuming only oracle can read .dmp file.
    What are the possible ways to accomplish this.
    I am sure, several tools would be available to accomplish this (like Embarcadero Change Manager), but solution may not be cost effective. Can we write any program to accomplish the same?
    I would really appreciate your inputs.
    Thanks, Madhavi

    I am doing this job using bcp command on sql serverwhich create dat file and then transport the file to oracle server in location where I have created an external table.
    I belive that there is server level compatability which need no external programe or software. My one fellow told me once and when I got him I shall reply

  • Using Express when the database schema does not match theclass model

    We are working on a large pay/personnel management system and are
    evaluating Fort&eacute; Express and Sage Scaffolds. We need to answer some big
    questions in the near future, and I was hoping that there may be someone
    out there with the answers.
    1. How different can the database schema and the class model be, before
    Express becomes a bad choice of framework? What solutions exist for cases
    where Express is still a viable option?
    2. Assuming that we can get around the problem in question 1, will the
    Application Model features still work afterwards? (i.e. how sensitive are
    the client-side services to changes in the database services?)
    3. Express seems to use domain classes everywhere, whereas we are always
    being advised to use scalar attributes wherever possible. How badly does
    this affect the performance of Express applications?
    4. Has anybody out there used Sage Scaffolds on a large project recently?
    How did it go? What problems should we watch out for? Doesn't its 'Chain
    of Responsibility' pattern tend to produce a lot of unnecessary objects at
    run-time?
    5. Has anybody used the Born collection classes? How do they compare with
    Brahma's Fortify?
    Thanks to those who have already helped - all input gratefully received!
    Tim Kimber
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    I did all that before posting the orignial post..
    declare
      v_schema_exists varchar2(1) := 'N';
      res             boolean;
      schemaURL       varchar2(100) := 'T0090.xsd';
      schemaPath      varchar2(100) :=  '/prmt/xsd/T0090.xsd'; --'/public/T0090.xsd';
      xmlSchema xmlType := XMLTYPE(bfilename('DIR_PRMT_OUT_CVIEW','T0090.xsd'),NLS_CHARSET_ID('AL32UTF8'));
    begin
      begin
        select 'Y'
          into v_schema_exists
          from sys.all_xml_schemas  -- changed from user_xml_schemas
         where schema_url = schemaURL;
        dbms_xmlSchema.deleteSchema(schemaURL,4);
        exception
          when NO_DATA_FOUND then
            null;
      end;
      if (dbms_xdb.existsResource(schemaPath)) then
        dbms_xdb.deleteResource(schemaPath);
      end if;
      res := dbms_xdb.createResource(schemaPath,xmlSchema);   
      dbms_xmlschema.registerSchema ( schemaURL, xdbURIType(schemaPath).getClob(), TRUE, TRUE, FALSE, TRUE );
    end;
    / I guess my understanding was that I could grant another oracle user access to my registered schema just like I can grant a single user access to a table. Evidently I only have two options. Only the schema owner can use the schema or everyone can use the schema and I cannot grant access to a single user other than myself.
    Edited by: Mark Reichman on Jul 2, 2010 9:08 AM
    Edited by: Mark Reichman on Jul 2, 2010 9:09 AM

  • How to create the database schema from an existing TimesTen database ?

    Hello everybody,
    I'm a newbie to TimesTen database. Before doing complicated sql queries, I would like to obtain the database schema of TimesTen DB. I'm looking for a way to extract the schema of database (tables, keys, links between tables ...). When I was working on other db like postgreSQL, I was able to obtain the sql script of the database (for exemple, in order to re-create the database in an other server). Some software like PowerAMC was able to built the database model from these scripts.
    Do you know a way to obtain the same with TimesTen database ? Or with an other way ?
    Regards

    Hi,
    Take a look in the docs at ttSchema, this might do the trick.
    http://download.oracle.com/docs/cd/E13085_01/doc/timesten.1121/e13069/util.htm#autoId27
    Tim

  • What is the Database schema?

    Hello Gurus,
    What is the Database Schema?
    How do we incorporate in Database and why?
    Thanks in advance.
    ~ SubbaReddy .M

    The schema is a database structure. It typically has a many to one relationship with the database. It is used to store and segregate database objects such as tables, views, synonyms, etc. Check your database concepts manual for a proper discourse on this subject.
    RP.

  • How can I change the database & schema used by an Application?

    Hi community,
    I am very new on Essbase and I need help to find out how can I change the database connection (and schema) used by the database of an Application. The figure is that I need to point this database to a QA environment (currently it points to DEV).
    If I do a right click over the properties of the database, I can see the following tabs: [ General ][ Dimensions ][ Statistics ][ Modifications ][ Compression ]. However, there is no option to change the database connection.
    Is there a way to do this?
    Thanks in advance for any help! Cheers!

    Are you trying to change a database connection of Planning application?
    Essbase application do not have a relational connection.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Can't find my database schema, where do i place the database schema?

    hi folks,
    I was able to generate a database schema for my entity bean, but everytime i try to deploy the entity bean i get this error:
    SEVERE (23542): JDOCodeGenerator: Caught a RuntimeException :
    java.lang.RuntimeException: Could not find schema file SKX_LIVE_BLAZE on classpath EJB CL:
    i place it inside the SKXENTITYBEAN.jar file ..but it can't seem to find it.. where is it supposed to be placed?

    ok, i found out why it didnt' work ..i had the schema in this folder:
    skx\dbschema\SKX_LIVE_BLAZE
    so i had to use this for the schema name:
    <schema>skx/dbschema/SKX_LIVE_BLAZE</schema>
    previous i just did this:
    <schema>SKECHERS_LIVE_BLAZE</schema>
    I wish the documentation had given me some indication that if i had to include the folder path for the schema..

  • Database schema SCM does not contain the associated database objects

    I am getting the following error when i am trying to migrate the form to apex using application migration.
    "*Database schema SCM does not contain the associated database objects for the project, aafs.*
    *Ensure the database schema associated with the project contains the database objects associated with the uploaded Forms Module .XML file(s).* ".
    Actully i am having one schema which i named as SCM, and i have defined one table TT.
    I created one form test.fmb in which i used TT table.its compiled successfully.
    Then i generated the xml file using frmf2xml from fmb file. After that, I created the project in appication migration wizard in SCM schema.
    Project creattion is working fine.but when i m trying to create application,it is showing me above error.
    can any one help in solving this problem.

    Hi Hilary,
    Thanks for your response/feedback.
    1. The schema associated with the project does not contain the necessary objects Can you please verify that the schema associated with your Forms conversion project does in fact contain the objects associated with the uploaded files. Could you also verify that the object names referenced in the error message do not exist within the schema associated with your workspace. Ensure that the schema associated with the project contains the necessary database objects before proceeding to the generation phase of the conversion process.
    Ans:
    Yes it does contain the objects (See results from SQL query Commands below):
    SELECT MWRA_CONTRACT_NO, OLD_CONTRACT_NO FROM PROJECTS@CONTRACT_LX19.MWRA.NET
    ORDER BY MWRA_CONTRACT_NO
    000000569 551TA
    000000570 553TA
    000000575 560TA
    000000576 561TA
    000107888 502TA
    000108498 500TA
    000108502 503TA
    2. The block being converted contains buttons, which may have been incorrectly identified as database columns, and included in the original or enhanced query associated with your block This is a known issue ,bug 9827853, and a fix will be available in our upcoming 4.0.1 patch release. Some possible solutions to this issue are:
    -> delete the buttons before generating the XML
    -> delete the button tags from the XML
    -> add "DatabaseItem=No" for the button in the XML file before importing it in Apex.The button is excluded when creating the Application.
    Ans
    yes it does contain push buttons to transfer to another forms and these are defined as Non data base items. Parial XML code provided below:
    - <Item Name="REPORTS" FontSize="900" DirtyInfo="true" Height="188" XPosition="4409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="REPORTS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    <Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('REPORT_1');" />
    </Item>
    - <Item Name="TRACKHDR" FontSize="900" DirtyInfo="true" Height="188" XPosition="3409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="TRACK" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    <Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('TRACKHDRS');" />
    </Item>
    - <Item Name="SUBAWRD" FontSize="900" DirtyInfo="true" Height="188" XPosition="2429" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3719" FontSpacing="Normal" Label="SUBAWARDS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    3. If you are still experiencing issues, then please create a testcase on apex.oracle.com and update this thread with the workspace details so I can take a look.
    Test case details are given below. It was created per ORACLE for open Service Request Number 3-1938902931 on ORACLE Metalink.
    Workspace: contract4
    username: [email protected] (my email)
    Password: contract4
    Comments:
    For my migration/testing purpose a dabatase link and synonyms have been setup by our ORACLE DBA. Could this be causing this problem?
    Do we know when the fix 4.0.1 patch release will be available?
    Thanks for your help.
    Indra

  • Problem with database schema objects in the entity object wizard

    Hi All,
    When creating a new entity object, I am facing a problem with database schema objects in the entity object wizard, database schema objects (check boxes for tables,synonyms...) are disabled. Actually I am using a synonym but I am not able to select the synonym check box.
    Can any of you folks tell me how to enable the database schema objects (check boxes for tables,synonyms...).
    Thanks in Advance.
    Raja.M

    Make sure your using rite version of jdeveloper..
    Make sure your using apps schema and check whether your able perform DML operations in the schema vis sql developer.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                           

  • Database write using the Database Adapter

    i'm using Jdeveloper version 11.1.1.3.37.55.99 - and I'm not sure that I'm doing this right but:
    I've created a database table that has 3 attributes (id, name, description).
    I've then in the soa composite created a Database Adapter to have an insert operation for the newly created database table.
    In the BPM editor - I drag a service task into the process and configure it to use the recently created Database Adapter.
    While configuring the service task - I need to map my process variables into the service task but when I go to the
    implementation->use associations->simple, in the drag and drop plan is an object called a collection. I expand the collection and I get an object named recall. If I look at my datatypes my recall object shows the three attributes from the database schema for the table. (The datatype was created by the creation of the database adapter). However, I cannot expand the object in order to map in the individual process variables for the inputs for the insert parameters.
    Am I doing something incorrectly in attempting to map the process variables to the service call?
    Thanks,
    Christopher

    Christopher,
    Use the Transform in the Implementation tab instead of the Data Association to map your input process object to the service parameter. The Transform option creates an xslt file which you can use to map the input values to the database service values.
    Heidi.

  • How to export database schema?

    I'm running a developer SQL Server 2012 Express version on my PC. I've restored a sample .bak database to this server. How or is there a way to export out the database schema or how all of the tables are interconnected/linked together out?

    hi,
    you can generate the DDL of the objects in your database using SQL Server Management Studio... select your database node, rx click, "Tasks->Generate Script"... the "Generate and Publish script" wizard will prompt you... in the "Set Scripting Options"
    task, you can access the "Advanced" dialog, where you can interact a little on "how" the output will be generated..
    as regards the "way" to understand how the objects are "interconnected", you can access the "Database Diagram" dialog... create a new one for your database, add all desired/required objects, and they will be "rendered" as objects on a window showing all
    relationships (in the meaning of SQL relationships) among them... this feature is not as powerfull as in full comercial tools like erWin or the like, but it's a nice one..
    regards
    http://www.asql.biz - DbaMgr2k - DbaMgr and further SQL Tools http://www.hotelsole.com/

  • Creation of a Database Schema is not working (Into a Sync Group)

    Hello,
    We have in: Sql Databases > Sync > Sync Group, a group called "SyncGroupViviendasProyectosVentasPruebas"
    If we go to "Sync Rules" and click "DEFINE SYNC RULES", no matter the databse we choose (there are 2), when we click in "REFRESH
    THE DATABASE SCHEMA" it dont works!
    It seems to be working but minutes later there is no Schema created.
    Why? Why the Create Database Schema is not working?
    Thanks,

    The detail error log from our service backend is:
    'Type=Microsoft.SqlServer.Management.Sdk.Sfc.InvalidVersionEnumeratorException,Message=Operation not supported on version 11.0 SqlAzureDatabase.,Source=Microsoft.SqlServer.SqlEnum,StackTrace=   at Microsoft.SqlServer.Management.Smo.XmlReadDoc.LoadFile(Assembly
    a&#44; String strFile)
       at Microsoft.SqlServer.Management.Smo.SqlObject.LoadInitDataFromAssemblyInternal(Assembly assemblyObject&#44; String file&#44; ServerVersion ver&#44; String alias&#44; StringCollection requestedFields&#44; Boolean store&#44;
    StringCollection roAfterCreation&#44; DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Smo.SqlObject.LoadInitData(String file&#44; ServerVersion ver&#44; DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.LoadElement(ObjectLoadInfo oli&#44; ServerVersion ver&#44; DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.GetElement(ObjectLoadInfo oli&#44; ServerVersion ver&#44; DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.GetAllElements(Urn urn&#44; ServerVersion ver&#44; DatabaseEngineType databaseEngineType&#44; Object ci)
       at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetObjectsFromCache(Urn urn&#44; Object ci)
       at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo&#44; Request request)
       at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo&#44; Request request),'
    It might be a collation/SMO issue after I do some research, so may I know that have you change the collation of you SQL Azure database? If yes, please try to use default collation and try again.
    Regards,
    Bowen

  • Application server cannot log onto the database with user PS.

    Hello,
    First of all, my setup is:
    Microsoft Windows Server 2003
    Oracle database 10g Rel. 2
    Peopletools 8.49
    HRMS 9.0
    I am trying to boot the application server, but the operation fails with the error message:
    PSAPPSRV.5796 (0) [08/27/09 10:29:41](1) GenMessageBox(0, 0, M): Database Signon: Invalid user ID or password for database signon. (id=PS)
    I am able to sign on to the database with sqlplus and user PS.
    Here is my config settings as shown on the psadmin screen:
    Features Settings
    ========== ==========
    1) Pub/Sub Servers : No 15) DBNAME :[hrdmo]
    2) Quick Server : No 16) DBTYPE :[ORACLE]
    3) Query Servers : No 17) UserId :[PS]
    4) Jolt : Yes 18) UserPswd :[PS]
    5) Jolt Relay : No 19) DomainID :[TESTSERV]
    6) WSL : Yes 20) AddToPATH :[C:\oracle\product\10.2.0\database\bin]
    7) PC Debugger : No 21) ConnectID :[people]
    8) Event Notification: Yes 22) ConnectPswd:[peop1e]
    9) MCF Servers : No 23) ServerName :[appserver]
    10) Perf Collator : No 24) WSL Port :[7000]
    11) Analytic Servers : Yes 25) JSL Port :[9000]
    12) Domains Gateway : No 26) JRAD Port :[9100]
    Here is the appsrv.log:
    PSADMIN.2336 (0) [08/27/09 10:29:29](0) Begin boot attempt on domain hrdmo
    PSWATCHSRV.5480 (0) [08/27/09 10:29:38] Checking process status every 120 seconds
    PSWATCHSRV.5480 (0) [08/27/09 10:29:38] Server started
    PSAPPSRV.5796 (0) [08/27/09 10:29:40](0) PeopleTools Release 8.49 (WinX86) starting
    PSAPPSRV.5796 (0) [08/27/09 10:29:40](0) Cache Directory being used: C:\oracle\product\PT8.49\appserv\hrdmo\CACHE\PSAPPS
    RV_2\
    PSAPPSRV.5796 (0) [08/27/09 10:29:41](1) GenMessageBox(0, 0, M): Database Signon: Invalid user ID or password for databa
    se signon. (id=PS)
    PSAPPSRV.5796 (0) [08/27/09 10:29:41](0) Server failed to start
    PSWATCHSRV.5480 (0) [08/27/09 10:29:42] Shutting down
    PSADMIN.2336 (0) [08/27/09 10:29:48](0) End boot attempt on domain hrdmo
    As I said, despite the error message, I am able to log on to the database with sqlplus with user PS password PS.
    Could someone please help me with this problem? Thanks.

    I installed the database with the setup program and come to think of it, I don't think you can specify whether to create a system or demo database. So I probably didn't install a demo, which is what I wanted. I also ran the SQRs and everything showed the database was correct, so I thought I did it right.
    If I could install a demo with the setup program, I would do that because I think I could run through it pretty quickly having done it once. I've read in this forum and other places that it's much better to install the db manually, so maybe I'll just do that.
    In any case, thanks for all you help Nicolas.

Maybe you are looking for