How add new table in derby  travel database

sir i use Sun Java Studio Creator with derby
sir i want create new table in derby travel database but when i right click
on table not that disable and not give and table create button
please give me idea how i add new table in derby travel database
thank's aamir

Within JDeveloper the generation of entities (Persistent POJOs) from tables will overwrite exiting classes. If you have additional tables you wish to map without losing existing work you will need to create the new classes and map them manually. If you are using the native TopLink mappings there is auto-map support on individual descriptors in the structure pane to automate much of this. If you are using JPA mappings it is a bit more manual at present but the tooling is ntended to give you feedback on problems as you construct and configure your mappings.
Doug

Similar Messages

  • V/LB - Change Pricing Report, Add new table

    Hi Experts,
    I am trying to add a new pricing table value to a price report via transaction V/LB. When I select the report to change and hit Table SAP button, there is not new entry or change button available only the delete functionality!! Can you please advise how I can add a new table value in the price report V/LB?
    I have searched the database and a similar question has been asked previously but there is no reply per below link, can you please assist how add new condition value in the table of the report.
    New Condition Table in V/LB
    Thankyou

    Hi
    It is disabled in change mode (V/LB), only you would be able to select the tables in V/LA.
    thank you

  • Is it possible to create a new table in the master database with SSMS ?

    Hello ,
    I have problems with this thread :
    http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/5153c43b-7844-41c4-a414-d14730abe435/
    If no user database has been created , in SSMS , we can see only the 5 system databases ( master, msdb , tempdb... ).
    Logically , the user should connect automatically on the Master database ( if the user is the same as this used to install a new SQL Server instance, this user should be sysadmin that's to say he/she has all possible permissions and especially dbcreator ).
    Is it true that it is impossible to create a new table on the master database ?
    I have done many researches about this possibility , all I have found is the advice : don't touch to the master database. This database is used to store critical information about the instance and its user databases. Even in the last book of Kalen Delaney
    about SQL Server 2012 Internals , I have found nothing clear about the creation of tables in this database ( and what about the other system databases ? I am excluding tempdb ).
    If someone has an idea about this thread and my questions , I would be thankful for a reply on this thread or on the related thread in the SQL Server Express Forum ( with my poor written English , I am not sure to have poster in a correct and understandable
    way ).
    If you think that this thread is not in the good forum , a moderator of this forum can move this related thread ( I have not done the move as I am not sure which is the good forum Database Engine or Transact-SQL ... )
    Thanks beforehand and have a nice day.
    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

    >>Logically , the user should connect automatically on the Master database ( if the user is the same as this used
    to >>install a new SQL Server instance, this user should be sysadmin that's to say he/she has all possible permissions and >>especially dbcreator ).
    If you add the current user during the installation you can have it as system admin , or you can add him/her later on
    in SQL Server. BTW regarding dbcreator I have wrote some blog , need to read... :-)
    http://sqlblog.com/blogs/uri_dimant/archive/2010/09/02/be-careful-to-grant-dbcreator-server-role-to-the-user.aspx
    You can (if you have needed permissions) to create objects in master database, usually I create objects for instance maintenance (like rebuild indexes...) 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Creating new tables in Logical Standby database

    Hi
    I have a requirement to create new tables in logical standby database. These tables will not be present on primary database. Is it possible to do this ?
    I have a new schema already created which has the privilege to CREATE new table.
    I have stopped the logical standby apply.
    When I am now trying to create a new table but it is failing with error : insufficient privileges.
    When I am trying to run below statement on new schema it is also failing with error of insufficient privileges.
    alter session disable dataguard;
    Please help.

    user8819121 wrote:
    Thanks Mahir,
    I was able to create the table after logging in as sysdba.
    But I need my user on that table to execute DML statements. My user has privileges to insert,delete and update any table.
    I tried the following statements to disable the guard but it is sill not working
    ALTER DATABASE GUARD STANDBY.
    Do I need to skip the tables created using dbms_logstdby package to not making it part of SQL Apply ? I guess not since the table is not in primary database.
    Amit
    You can skip only on primary, your created schema on Standby is not in primary.
    Then you must change Status of data guard to NONE. NONE is means is not any security on your data.
    In Guard status NONE can change all schema data.
    Please check link: http://docs.oracle.com/cd/E11882_01/server.112/e10700/manage_ls.htm#CHDGFGHG
    Following tests on user created before guard status is change from ALL to STANDBY.
    C:\Users\Administrator>sqlplus / as sysdba
    SQL> conn test/test
    Connected.
    SQL> select table_name from user_tables;
    TABLE_NAME
    T
    SQL> insert into t values(22);
    insert into t values(22)
    ERROR at line 1:
    ORA-16224: Database Guard is enabled
    SQL> conn / as sysdba
    Connected.
    SQL> select guard_Status from  v$database;
    GUARD_S
    ALL
    SQL> alter  database guard standby;
    Database altered.
    SQL> conn test/test
    Connected.
    SQL> insert into t values(1);
    insert into t values(1)
    ERROR at line 1:
    ORA-16224: Database Guard is enabled
    SQL> conn / as sysdba
    Connected.
    SQL> select guard_Status from  v$database;
    GUARD_S
    STANDBY
    SQL> alter  database guard none;
    Database altered.
    SQL> select guard_Status from  v$database;
    GUARD_S
    NONE
    SQL> conn test/test
    Connected.
    SQL> insert into t values(1);
    1 row created.
    SQL> commit;
    Commit complete.And Now I want share with you new tests :)
    Now user creating when after guard status change
    SQL> drop  user test cascade;
    User dropped.
    SQL> select guard_status from v$database;
    GUARD_S
    STANDBY
    SQL> create user test identified by test;
    User created.
    SQL> grant create session,  resource, create table to test;
    Grant succeeded.
    SQL> conn test/test
    Connected.
    SQL> create table t (n number);
    Table created.
    SQL> insert into t values(1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>It means when guard status is ALL then all of user created guarding.
    When you changed status to STANDBY then Logical Standby guard only primary schema and created schema before change.
    NONE is not guard any schema. it means you can delete standby schema data too.
    Regards
    Mahir M. Quluzade
    Edited by: Mahir M. Quluzade on Apr 19, 2013 4:07 PM

  • How add new field in layout in RDF using XML report definition

    Hi, ALL
    Do you know how add new field in layout of existing report in RDF using XML report definition. If I try change anything in RDF layout, layout which defined in XML override report layout.

    hello,
    in reports 6i we have this limitation, that you can not add a field to a report unless you re-default the whole report, as we do not support positioning-information in the customization file.
    regards,
    the oracle reports team

  • How can I create a new table in a MySQL database in MVC 5

    I have an MVC 5 app, which uses MySQL hosted in Azure as a data source. The point is that inside the database, I want to create a new table called "request". I have already activated migrations for my database in code. I also have the following
    code in my app.
    Request.cs: (inside Models folder)
    public class Request
    public int RequestID { get; set; }
    [Required]
    [Display(Name = "Request type")]
    public string RequestType { get; set; }
    Test.cshtml:
    @model Workfly.Models.Request
    ViewBag.Title = "Test";
    <h2>@ViewBag.Title.</h2>
    <h3>@ViewBag.Message</h3>
    @using (Html.BeginForm("SaveAndShare", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
    @Html.AntiForgeryToken()
    <h4>Create a new request.</h4>
    <hr />
    @Html.ValidationSummary("", new { @class = "text-danger" })
    <div class="form-group">
    @Html.LabelFor(m => m.RequestType, new { @class = "col-md-2 control-label" })
    <div class="col-md-10">
    @Html.TextBoxFor(m => m.RequestType, new { @class = "form-control", @id = "keywords-manual" })
    </div>
    </div>
    <div class="form-group">
    <div class="col-md-offset-2 col-md-10">
    <input type="submit" class="btn btn-default" value="Submit!" />
    </div>
    </div>
    @section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    HomeController.cs:
    [HttpPost]
    public ActionResult SaveAndShare(Request request)
    if (ModelState.IsValid)
    var req = new Request { RequestType = request.RequestType };
    return RedirectToAction("Share");
    The point is that, I want the user to fill the form inside the Test view and click submit, and when the submit is clicked, I want a new entry in the new table to be created. But first of course I need to create the table. Should I create it using SQL query
    through MySQL workbench? If yes, then how can I connect the new table with my code? I guess I need some DB context but don't know how to do it. If someone can post some code example, I would be glad.
    UPDATE:
    I created a new class inside the Models folder and named it RequestContext.cs, and its contents can be found below:
    public class RequestContext : DbContext
    public DbSet<Request> Requests { get; set; }
    Then, I did "Add-Migration Request", and "Update-Database" commands, but still nothing. Please also note that I have a MySqlInitializer class, which looks something like this:
    public class MySqlInitializer : IDatabaseInitializer<ApplicationDbContext>
    public void InitializeDatabase(ApplicationDbContext context)
    if (!context.Database.Exists())
    // if database did not exist before - create it
    context.Database.Create();
    else
    // query to check if MigrationHistory table is present in the database
    var migrationHistoryTableExists = ((IObjectContextAdapter)context).ObjectContext.ExecuteStoreQuery<int>(
    string.Format(
    "SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = '{0}' AND table_name = '__MigrationHistory'",
    // if MigrationHistory table is not there (which is the case first time we run) - create it
    if (migrationHistoryTableExists.FirstOrDefault() == 0)
    context.Database.Delete();
    context.Database.Create();

    Hello Toni,
    Thanks for posting here.
    Please refer the below mentioned links:
    http://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database/
    http://social.msdn.microsoft.com/Forums/en-US/3a3584c4-f45f-4b00-b676-8d2e0f476026/tutorial-problem-deploy-a-secure-aspnet-mvc-5-app-with-membership-oauth-and-sql-database-to-a?forum=windowsazurewebsitespreview
    I hope that helps.
    Best Regards,
    Sadiqh Ahmed

  • How to add new table into running extract pump and replicat files

    Hi all, i am very much confused how we should add a new table for replication into extract pump and replicat parameter files without stopping them manually? Is there any way where we can add them without disturbing functionality of OGG?
    Experts help required on this
    Thanks in advance

    Hi,
    You can stop and restart the extract process after modifying the extract prm files. the current and last reading point details available checkpoint tables ,or it can get it from info command itself , so you can start the extract process at the point of particular RBA or SEQ no, but you make sure the retention period of your archive log files, because all the transactions are moved in to archive log location, so extract process will fetch the data from archive log also,
    Documentation states:
    If Extract abends when a long-running transaction is open, it can seem to take a long time
    to recover when it is started again. To recover its processing state, Extract must search
    back through the online and archived logs (if necessary) to find the first log record for that
    long-running transaction. The farther back in time that the transaction started, the longer
    the recovery takes, in general, and Extract can appear to be stalled.
    Why archive logs?
    GG reads online redo logs in default but when they are all switched, and for some reason in the meantime GG stopped (abended) it doesn't have the last transaction as transaction was in online log that switched. That is why you need archive logs, so that GG can reach this old transaction in archive log.
    E.g you have two online logs, your transaction is at the begining of the first log. Extract abends. Transactions keep coming to database first online log switches to second, second switches to first and first again to second. You start GG but transaction you finished processing on is no longer in first online log. But it is in archive log.
    What to do?
    1) Start Oracle in archive log mode
    2) Make sure you have available space for archive logs
    GG will look into Oracle default location for archive logs when it abends and transaction is no longer in online log.

  • How to add new tables in Streams for Schema level replication ( 10.2.0.3 )

    Hi,
    I am in process of setting up Oracle Streams schema level replication on version 10.2.0.3. I am able to setup replication for one table properly. Now I want to add 10 more new tables for schema level replication. Few questions regarding this
    1. If I create new tables in source, shall I have to create tables in target database manually or I have to do export STREAMS_INSTANTIATION=Y
    2. Can you tell me metalink note id to read more on this topic ?
    thanks & regards
    parag

    The same capture and apply process can be used to replicate other tables. Following steps should suffice your need:
    Say table NEW is the new table to be added with owner SANTU
    downstr_cap is the capture process which is already running
    downstr_apply is the apply process which is already there
    1. Now stop the apply process
    2. Stop the capture process
    3. Add the new table in the capture process using +ve rule
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_RULES
    table_name      => 'SANTU.NEW',
    streams_type    => 'capture',
    streams_name    => 'downstr_cap',
    queue_name      => 'strmadmin.DOWNSTREAM_Q',
    include_dml     => true,
    include_ddl     => true,
    source_database =>  ' Name of the source database ',
    inclusion_rule  => true
    END;
    4. Take export of the new table with "OBJECT_CONSISTENT=Y" option
    5. Import the table at destination with "STREAMS_INSTANTIATION=Y' option
    6. Start the apply process
    7. Start the capture process

  • Cloning 10g Database in archive mode - How add new created archive files

    Deat all
    I want to clone oracle 10g database using hot backup. database in archive mode.
    Database is running user data entry contifue, during hot backup there are aproximatly 3 to 5 new archive log created. Please guide me how add these new created archive log in cloning process.
    Thanks
    Alter system switch logfile;
    SQL> select max(first_change#) scn from v$archived_log;
    SCN
    8592924
    alter tablespace tablespace1 begin backup;
    alter tablespace tablespace2 begin backup;
    alter tablespace tablespace3 begin backup;
    alter tablespace tablespace1 end backup;
    alter tablespace tablespace2 end backup;
    alter tablespace tablespace3 end backup;
    select name from v$archived_log where first_change# >= 8592924 order by name
    NAME
    F:\ARCHIVELOGS\ARC00390_0664080689.001
    F:\ARCHIVELOGS\ARC00391_0664080689.001
    F:\ARCHIVELOGS\ARC00392_0664080689.001
    create pfile='init<new database sid>.ora' from spfile;
    alter database backup controlfile to trace as '/home/oracle/cr_<new sid>.sql'
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "ORCL" RESETLOGS FORCE LOGGING NOARCHIVELOG
    MAXLOGFILES 50
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 453
    LOGFILE
    GROUP 1 'E:\oracle/oradata/dg9a/redo01.log' SIZE 100M,
    DATAFILE
    Edited by: Naeem Sheeraz on Nov 15, 2008 12:54 PM

    When you attempt to startup the cloned database on the new server you will find that it needs recovery -- because it was taken in hot backup mode.
    That is why you need to copy the archivelogs that are generated from the first archivelog after the first "alter tablespace begin backup" to the first archivelog after the last "alter tablespace end backup".
    I see that you are also including a CREATE CONTROLFILE script.
    You would run that at the cloned environment.
    Then you would issue the RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL command to make the clone consistent.
    You can, of course, use the same method to copy these archivelogs as you use to copy database files -- tar, cpio, tape, etc.

  • Add new table in pricing report

    Hello,
    how is it possible to add a new pricing condition table to the pricing report? In transaction V/LB, the option ''Add table'' is not available.
    Thanks.

    you cannot add tables to the pricing report V/LB. you will have to delete the existing report and create a new one , and then you can add this new table.
    Regards
    Sai

  • Add new tables to metadata

    Hello, I have added a new table in the mapping just to store some new data generated from a count function. Can you tell me how can I add this table to metadata?
    I added my source tables, which are under ODBC module, to metadata using the metadata wizard. But I don't know how to add this new table. If someone can help me. Thanks.

    Try right clicking on the table in your mapping and then choose 'Synchronize'. In the resulting interface make sure to choose "Outbound....." as your Direction of synchronization. This will create a table in your metadata.
    Kind Regards,
    Eric.
    Edited by: Eric Buddelmeijer on Apr 4, 2013 5:14 PM

  • How add new currency symbol in pages 5.1?

    i couldnt find a way to custom add new currency symbol to pages or numbers. If anyone knows how to do, let me know. Thanks.

    Are you talking about in Tables?
    The list seems to be the list.
    In Pages '09 there is more flexibility you can have a Custom format and add your own prefix.
    Peter

  • How add new Oracle Report server

    Dear All
    I need to add new Oracle Report Server on my oracle application server beside server exists
    it is applicable and how?
    also i need to change database using by this report server
    i'm using oracle application server 10.1.2.0.2
    on windows server 2008
    Edited by: Hshihadah on Jan 19, 2011 12:49 AM

    hi,
    Go to ORACLE_HOME/bin
    Open AddNewServerterget.sh ---------for unix
    and AddNewServerterget.bat ---------for windows
    $./AddNewServertarget.sh <reportserver name>
    $dcmctl updateconfig
    $dcmctl resyncInstance
    $opmnctl status
    Thanks,
    Santosh
    Edited by: user12045405 on Jan 19, 2011 1:50 AM

  • Incomplete Control Deliveries add new table-field for Incompleteness Proced

    Incompletion Control for Deliveries add a new table-field for Incompleteness Procedure G (Delivery header)
    Hello,
    I'm trying to add a new field for Incompleteness Procedure G (Delivery header), but  when I try to customize the procedure G with new fields, I donu2019t find the field that I need  ModeOfTrnsprt-Border (EIKP-EXPVZ).
    Foreign Trade/Customs tables are not included like an option for new entries in the customizing of Incompleteness Procedure G, and Iu2019ve to prevent that users save the outbound delivery without entry a valid value for  EIKP-EXPVZ (EIKP-EXPVZ= ModeOfTrnsprt-Border).
    Otherwise, when users are creating the SD Invoice there is an error for create the Accounting document because Foreign Trade/Customs information is incomplete.
    So Iu2019d like to know If is possible to add a new tables ( and fields)  to use in the customizing for Incompleteness Procedure for Outbound Deliveries (procedure G).
    Thanks!!
    Edited by: Ariana Serrano Aguila on Sep 2, 2010 5:19 PM

    Hello,
    I'm trying to add a new field for Incompleteness Procedure G (Delivery header)
    , but when I try to customize the procedure G with new fields, I donu2019t find the
    field that I need ModeOfTrnsprt-Border (EIKP-EXPVZ).
    See as far as the table is concerned, the basic reason why it is not getting populated as SAP stores the possible values at the domain level. So i think the right approach to add the table would be to get access key for the domain and then add the new table name at domain level. Please reach out for help from ABAPer in this matter.
    You can also use User exit to met this requirement and the appropriate user exit will be as below:
    1.MV50AFZL
    2. MV50AFZ1
    Regards,
    Sarthak

  • Add new Table Region Through Personalizations

    Dear all,
    I I want Add a new table region in seeded page Through Personalization . Not getting item style as table pls provide any documents for table personalization
    Thanks and Regards
    Aneesh
    Edited by: aneeshmathew on May 4, 2011 4:44 AM

    Hi ,
    Table can not be created through personalization ,but u can create a region where u can create the table and then add this region to the standard page through personalization,using below steps
    1.) create the stack layout bean through personalization .
    2.) in extend property of stack layout bean give the full pacth of your new custom region containing the custom table.
    3.) Of course u have to import the custom page to MDS.
    thanks
    Pratap

Maybe you are looking for