Generate delete tables from dictionary

Hi,
I have a  CAF project that I´ve imported from a track, so far ok, I click to build and it works, but when I try generate it again it marks the tables from the dictionary project as deleted and remove them from my project, so i have two doubts:
1 - Has any one any idea what happened? Why they are deleted?
2 - Is it possible to undelete the table? The file still there but all the configuration is lost, the list of columns is lost.
Thanks and best regards,
Eduardo

In the package hierarchy (applications navigator), right-click the package containing your EO's, choose "Generate Database Objects"
Voila
John

Similar Messages

  • Update or delete table from XML

    Is it possible to update or delete table's row from XML file?
    Thanks
    Prasanta De

    Hi Steve,
    Thanks for your reply but I could not find any example from the documentation for update-request or delete-request. I need your help in this regards.
    1. I have emp table with many rows and the simple structure like this
    DEPTNO NUMBER(2)
    EMPNO NUMBER(2)
    EMPNAME VARCHAR2(20)
    EMPSAL NUMBER(8,2)
    Key is defined on deptno and empno
    2. I have a xml file like this
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1">
    <DEPTNO>1</DEPTNO>
    <EMPNO>11</EMPNO>
    <EMPSAL>1111.11</EMPSAL>
    </ROW>
    <ROW num="2">
    <DEPTNO>1</DEPTNO>
    <EMPNO>12</EMPNO>
    <EMPSAL>2222.22</EMPSAL>
    </ROW>
    <ROW num="3">
    <DEPTNO>1</DEPTNO>
    <EMPNO>13</EMPNO>
    <EMPSAL>3333.33</EMPSAL>
    </ROW>
    </ROWSET>
    3. I want that xsql servlet will read this xml file and update EMPSAL column depending upon the value of DEPTNO and EMPNO from xml file.
    Please let me know how I should use update-request in xsql page.
    Thanks
    Prasanta De
    null

  • Generating database tables from Java classes

    Hi,
    I've encountered a number of tools which will create Java classes from database tables (e.g. JDeveloper has this functionality, Abator provides this for iBATIS, etc...).
    However, I've not been able to locate any tools that perform the opposite job - i.e. given a Java class, it generates a database table (or, presumably, some SQL).
    It's been suggested to me that Hibernate might provide this sort of capability, but if anybody has any experience of doing this, in any tool, I'd be interested to hear about it.
    Thanks,
    Alistair.

    Many thanks for the pointers.
    duffymo: I've taken a look at Middlegen (http://boss.bekk.no/boss/middlegen/index.html) but it seems that the first step is to specify the database schema, whereas I'm looking to generate the schema from existing code. Or have I missed something?
    Alistair.

  • Generate database tables from Business Components

    Is it possible to generate the database tables from a set of existing business components?
    This would be a handy feature to have, similar with JPA tables generation based on Entity Beans.
    Thanks
    Florin Marcus

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dmitri:
    Dear Laura,
    I mean first variant where the database would be the same:
    scott/tiger@database1
    foo/bar@database1
    Of course I understand that we must register every user in database by "CREATE USER XXX" and it is unacceptable for Internet. But it may be very convenient for an Intranet because we can build access restriction based on set of views without any changes in applications.
    Best wishes,
    Dmitri.<HR></BLOCKQUOTE>
    null

  • Delete table from target system

    Hi Folks,
        I have transported a table to the target system which should not have been transrpoted. The table actually doesn't meet the right naming conventions and have some unecessary fields. I want to remove the table present in the target system and transport a new table which has the right fields and right naming conventions.
    Regards,
      Santosh

    Ask this question in ABAP forum.
    By the way when you delete the table in Dev system then it will create one transport request and you just need to transport the request into the system from where you want to delete the table.

  • Deleting tables from my database

    Hello,
    Due to the problem of failed installation, I have about 127 tables in my Sql database which I need to delete so as to re-install the same set of tables again. How do I do this effectively without causing other problems in the database.
    Thanks in anticipation.
    Regards.

    hi Praise_Him
    You got several great solutions above, for doing the operation (deleting) automatic for whole tables which their name start with "myprefix_". yet, it look you are looking for something else. I can get it, as you dont know what is done actually,
    then you afraid from executing those automatic queries.
    The time you spent writing your posts, you could actually delete the tables manually one by one. As this is a one time action, maybe you will feel better, and it will be more fit to your case, to do it using the SSMS GUI. Using 127 mouse cliks you can do
    check this link (especially the section "Using SQL Server Management Studio"):
    http://technet.microsoft.com/en-us/library/ms190616.aspx
    * What works for one person is not safe/suitable to another person. None of us as DBAs will probably chose this solution but I really have a feeling this is the best for you at this point. Just delete the tables one by one :-)
    * This will also be better in case there is other restriction as relations between the tables or other element in the database. working one by one if you get a specific problem you can come back and tell us what is the error message that did not let you
    delete a specific table.
    I Hope is helpful :-)
    ** In any case make sure that you backup the database before you start!
    [Personal Site] [Blog] [Facebook]

  • JDev generates incomplete Tables from JPA entities

    I've got some JPA entities and I'm trying to generate the DB schema from them in Jdeveloper.
    All tables are only generated with the Id (Primary Key) and not any additional fields/constraints I've defined in the Entity classes.
    Any ideas what I should be looking at?
    JDev 11.1.1.3 connecting to Oracle 10g XE
    Edited by: new_to_webcenter on 21-Jan-2011 03:20

    @Shay,
    In a new JPA app, I've created
    New Business Tier > EJB > Entity
    Choose Persistence Unit and OFfline DB , Choose No Inheritance
    Ticked on "Create Offline Table"
    Include @Id field without a Sequencer
    In the generated Entity class, I've added a new private field Name with setter/getter.
    I've added these via the Structure > EJB > Add new field > generate accessors.
    I've also specified @Column for the private field Name .
    Next in the offline DB source, I right-click the Table > Generate to Connection > and go through the steps , choosing CREATE table.
    In the created table as well as the generated SQL script, the Name column does not appear.
    It creates a table in the DB with only the ID column.
    Edit: I've checked again - if i click on the offline db source > table > columns - even there it only shows ID and no NAME column.
    Any ideas - i'm definitely missing a step?
    In persistence.xml I've specified
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.ddl-generation.output-mode"
                        value="database" />
    @dvohra16 : Nope I dont need the sequencer at present.
    Edited by: new_to_webcenter on 21-Jan-2011 22:37
    Edited by: new_to_webcenter on 21-Jan-2011 22:58

  • RANGE is deleting table from table

    Hello,
        I used a ranges object in a 4.7system. If the range was empty, nothing would be deleted from my table. In a ECC6.0 system, if the range is empty, everything is deleted from the table. Could this be a bug that was fixed in ECC6.0?
    Edited by: Julius Bussche on Feb 4, 2009 6:19 PM
    Post split from hijacked ancient thread

    I think you are right.(  I am in netweaver 7 PI version )
    report  zars no standard page heading
            line-size 170
            line-count 65(4).
    ranges : r_matnr for mara-matnr.
    data : begin of i_mara occurs 0.
    data : matnr like mara-matnr.
    data : end of i_mara.
    move '001' to i_mara-matnr.
    append i_mara.
    move '002' to i_mara-matnr.
    append i_mara.
    delete i_mara where matnr in r_matnr.
    break-point.
    Its deleting entire i_mara internal table if r_matnr is blank.
    I don't think this will be a bug.
    We need to check if range is not initial , like below mentioned
    if not r_matnr[] is initial.
    delete i_mara where matnr in r_matnr.
    endif.

  • Please help to generate the table from column to rows

    Hello -
    I have one table with more than 100 columns there are 70 column start with HC1.....HC70 (they are not in sequence) and has some value 0 or 1
    Table structure:
    HICN_ID HC1 HC2 HC4 HC5 HC6.................................HC70
    1234A 0 1 1 0 1 1
    3456D 1 0 0 1 0 0
    Now What i want is like this..
    HICN_ID HC
    1234A 2
    1234A 4
    1234A 6
    3456D 1
    3456D 5
    Can you please help me on this
    thanks
    nick

    Please look at the same scenario from the below link.
    You can accomplish this by a "pivot" query. Please look at the small testcase that I prepared below:
    SQL> desc t1
    Name Null? Type
    NAME VARCHAR2(10)
    YEAR NUMBER(4)
    VALUE NUMBER(4)
    SQL>
    SQL> select * from t1;
    NAME YEAR VALUE
    john 1991 1000
    john 1992 2000
    john 1993 3000
    jack 1991 1500
    jack 1992 1200
    jack 1993 1340
    mary 1991 1250
    mary 1992 2323
    mary 1993 8700
    9 rows selected.
    SQL> -- now, try out the pivot query
    SQL> select year,
    2 max( decode( name, 'john', value, null ) ) "JOHN",
    3 max( decode( name, 'jack', value, null ) ) "JACK",
    4 max( decode( name, 'mary', value, null ) ) "MARY"
    5 from
    6 (
    7 select name, year, value
    8 from t1
    9 )
    10 group by year ;
    YEAR JOHN JACK MARY
    1991 1000 1500 1250
    1992 2000 1200 2323
    1993 3000 1340 8700
    SQL>
    Hope that helps.
    Source : http://p2p.wrox.com/oracle/11931-sql-query-convert-columns-into-rows.html
    Thanks,
    Balaji K.

  • Delete table from spreadsheet in numbers

    If I have more than one table on a spreadsheet page in Numbers for iPad, can I delete one of the tables?If so,how do I do it?

    If you touch in the spreadsheet, you should see two bars show up on the left & top of the table, along with three buttons (in the top left, top right & bottom left of the table). If you touch the button in the upper left, you get some options. One of those is 'Delete'

  • Can not recover table from rman backup

    For testing I want to recover deleted table from rman backup.
    I have make vm of oracle 11g.  the following step i have applied but could not recover the table.
    rman> backup database ;
    On sqlplus create login as scott/tiger
    create table scott.emp1(col1 varchar2(10));
    insert into emp1(col1) value('Yasir ') ;
    commit ;
    select * from emp1 ;
    it shows me one row successfully.
    Now i have login the  sys as sysdba
    sqlplus> alter system switch logfile ;
    after this i have drop the table .
    Now to recover the table i have restored database on same vm.
    rman>restore database ;
    rman> recover database ;
    rman> alter database open ;
    on sqlplus i have issued
    sqlplus> select * from scott.emp1 ;
    table or view does not exist.
    any help how to recover the deleted table from rman backup

    Hi,
    Check this test case
    SQL> create table TEST2 as select * from emp;
    Table created.
    SQL> select count(*) from TEST2;
      COUNT(*)
            15
    SQL> select TO_CHAR(SYSDATE,'DD-MON-YYYY HH24:MI:SS') from dual;
    TO_CHAR(SYSDATE,'DD-
    10-SEP-2013 10:57:05
    SQL> alter system switch logfile;
    System altered.
    SQL> drop table TEST2 purge;
    Table dropped.
    SQL> shu immediate
    [oracle@vnode MYSHELL]$ rman target /
    Recovery Manager: Release 11.2.0.2.0 - Production on Tue Sep 10 10:58:39 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: DDTEST (DBID=1667776968, not open)
    RMAN> run{
    set until time "to_date('2013 Sep 10 10:57','yyyy mon dd hh24:mi')";
    restore database;
    recover database;
    alter database open resetlogs;
    }2> 3> 4> 5> 6>
    media recovery complete, elapsed time: 00:00:02
    Finished recover at 10-SEP-13
    database opened
    RMAN> exit
    SQL> set lin 200 pages 100
    SQL> select count(*) from test2;
      COUNT(*)
            15
    HTH

  • Create database tables from an xsd

    Is it possible to generate database table from a given xsd using toplink ?
    I want to use these tables to persist java objects obtained by unmarshalling the xml (corresponding to this xsd).
    Thanks in advance,
    Mahima

    Hello Mahima,
    Although you could use TopLink to generate a database schema from an XSD using a combination of wizards available in the TopLink Workbench, the resulting database schema would probably not be an optimal design. If you're interested we can talk about how to use this approach as a guide.
    Is your main use case the generation of a database schema or the actual movement of database data to/from XML?
    Using a combination of TopLink's object-relational and object-XML support to move data between XML and a relational database is a valid pattern. Refer to the discussion thread below for some approaches at setting up the metadata.
    TopLink-JAXB : Creating and Mapping tables from Toplink-JAXB POJOs.
    -Blaise

  • Trace on deletion from dictionary table

    Hi all experts,
    we can't figure out why some dictionary tables containing a thousands and thousands of documents are almost empty... :-@ Probably someone (who?) did run a report (what?) and cleared almost a table on a training SRM system.. We'd like to ask you if there's a way to check for modification on a table, e.g. a sort of trace, that could help us clarifying what happened on some dictionary tables's contents.
    Please can anyone provide a sort of howto? We passed from a BBP_PDHGP table containing a million of entries, while now it has less that one thousand....

    We found out that a scheduled job had stored the table contents just few ours before the deleting process had been started.
    We just restored the table from that backup.
    However, if the removed entries have been traced in system tables for modification, you could try to take a look at CDPOS/CDHDR tables in order to rebuild and historical trace of the modification that have been occourred (with timestamps).
    Good luck!

  • How to delete a table at dictionary level

    Hi All,
          i have deleted custom table zaccount from database, usin se14 transaction.
    now i want to create a new table using same name zaccount, but it is showing me error that table already exists in data dictionary. now i am trying to delete from data dictionary also, but it is giving me error that table is refrenced at multiple levels
    guys how can i forcefully delete it from datadictionary.
    thanks and regards
    Al-salfi

    Your table was active and had data right and also it was referred at various places in different contexts.
    okay now please type the table name in SE11; can you see if yes fine you caught the problem display the table do not delete directly; click on where used list to generate a list of different places where the table has been referred.
    at all those points remove the references as per the context and do not forget to activate. so once you have done that and the where used list returns no result means all references moved then again delete the table.
    You won't have any more issues with the table
    this problem happens because of the active name tab of the table that is yet present but inconsistent as the changes to the dictionary definition have been made inconsistent by your earlier efforts.

  • Deleting data from a table where there are no indexes on the table

    Hi
    We have one interface program for one time process.When I was testing the process it was taking too much time to load the data around 1000 records.
    it happens in 2 steps
    1 puts into stage table
    2 puts into base table
    in the process/package I have delete statement that deletes data from stage table before each process.
    Stage table did not have any indexes but the base table has(obvisiosly)
    any idea?
    please help me on this.
    Thanks,
    Y

    Hi,
    Please post the application/database details along with the OS.
    Is this interface program a seeded or custom one?
    Please enable trace on this concurrent program as per (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12) and generate the TKPROF to find out why it takes that long to load/delete the data.
    Thanks,
    Hussein

Maybe you are looking for

  • Questions on setting up PeopleSoft FIN AP Business Unit for India with TDS

    Hi, Does anyone here have some advice for me on how to handle AP transactions for a business unit set up for India with TDS (withholding) and statutory reporting. We are configuring AP BU for India in our existing database which has other BUs for oth

  • ORA-01722

    Hi all, I can't believe in this. I have created a table workers with following columns: "L01_WORKERS_ID" NUMBER NOT NULL, "TITEL" VARCHAR2(4000), "LAST_NAME" VARCHAR2(4000), "FIRST_NAME" VARCHAR2(4000), "DATABASE_ACCOUNT" VARCHAR2(4000), "JOB_POSITIO

  • OK button on parameter input screen not rendering correctly

    We just recently changed intranet servers.   Both old and new servers running IIS 6 on Windows 2003 server.  I had several Crystal Reports XI Release 2 reports running on the old web server.  They were called from an ASP.NET application On the new se

  • MS-5169 v. 2.1 and what update for CPU ?

    Hi there, I have a MS-5169 v. 2.1 with Bios AMI v. 3.1 (It used to be v. 2.2). The CPU now is AMD K-2 333 MHz but I have a K-2 400 MHz in my drawer I would like to use !   Is it possible to update the M.B. v. 2.1 to use a K-2 400 MHz  ?   The reason

  • Workflow not triggered..in client server

    Hi Friends.. i have developed one workflow for po release in local system it works fine.. But i developed the same workflow in client system it was not triggered.. i checked in swue the event was triggered perfectly.. But the workflow not triggered..