Problem of boilerplate detail

Dear all,

I use Jdev 12 c with Oracle Database 12 c.

I have created a form master detail, but I want to generate the primary key of a database trigger.

I create the database trigger and set the type in the jdev to dbsequence, but still when I try to create a new record in the details it gives an error because the primary key in the master is not generated.

Best regards

Hello Dario,

I had the problem, I created the master with CreateInsert and retail also with CreateInsert.

I changed the master to Create works.

Thank you very much

Tags: Java

Similar Questions

  • Problem of master / detail

    Hello

    I have 3 blocks in my form

    control unit 1 for the search criteria.

    2. master / detail blocks (2), where ownership of the main block clause is "' item_id =: search.item_id", the block of research concerns the search criteria (control block), "

    -: search.item_id is what I am looking for with its value.

    I open the form, I write 2 the: search.item_id, the data is retrieved in the main blocks and details, but what happens is that when I change the "2" "3"

    the data contained in the block of retail have disappeared, and the data in the master is still such what without change, I don't know why.

    I am sure that he has given belong to the number '3 '.

    -the search button has this code:

    go_block ('stock');      -stock is the main block.

    execute_query;

    Thanks for the reply,

    1. I found the problem,

    There is a function in the form

    function qty return number is
    begin
    select something , something2 , something3
    into :item1 , :item2 , :item3
    from dual ;
    return 6 ;
    end ;
    

    and there was an article that I created to entrust this function as a formula, but I think that the function that create must return a variable not a number.

    and this variable should be in the clause 'in', he has solved when I changed it.

    2-i, created a control block, because the user can change the item_id and save the form, does not search form, then it will update the data. right?

  • Problem in display detail with aggregated data.

    Hello

    I'm new on the BEEP and I am facing problem to see the detail, but also the aggregated both values.

    My details are as below

    Value of a security
    S1 10
    S2 20
    S3 30
    S3 40
    S4 50
    S5 60
    S5 70

    I want to display data in the report
    Value of a security
    S1 10
    S2 20
    S3 30
    S3 40
    S3 70 total
    S4 50
    S5 10
    S5 70
    Total 80 S5


    I tried to use to <? for-each-group: G_2; / Security? > but I get after release:
    Value of a security
    S1 10
    S2 20
    S3 30
    S3 70 total
    S4 50
    S5 10
    Total 80 S5

    Model:
    <? for-each-group: G_2; / Security? > <? Security? >: <? Value? >
    <? If: count (current - group (/SECNAME)) > 1? > Total <? Security? >: <? sum (current - group (/Value))? > <? end if? > <? end for each group -? >

    The problem is that I need to view the details as well as aggregated data. Please suggest.

    Instead of G1, use G_1.

    Since you are using 11g, you can also try this code:

    :
    1? > total :

  • Problems on master detail CRUD

    Dear all,

    I'm trying to understand how ADFBC manages the relationship master detail like this
    is the first time where I need to manage the table relation.
    Practice, I only used a table but this time I need to manage the relationship, too.

    I have two tables that follow. They have a to-many.
    PART_ID in the PARTS_CODE table is filled by a sequence of DB.
    PARTS_CODE                                   PART_DESC
         - PART_ID (PK)                              - PART_ID (PK)
         - RANGE                                   - REGION  (PK)
         - CATEGORY                              - DESC
    Use case is like this:
    Table PARTS_CODE contains data on the parties while PARTS_DESC contains information on the description of the specific region of the parts.

    Now, I created a View object that links the two tables. Then I drag this display object from
    my data as a control table update-able.

    I just have a few questions on the implementations:
    1 when I drag and drop the CreateInsert button and click on it, I noticed that it adds a new line to the
    table, but I noticed that it creates the Text Input component only on the associated columns
    the PARTS_CODE Table, the other columns for the PART_DESC does not have the user interface components.
    How to solve this problem?

    2. how to manage the relationship such that when it inserts the data on the PARTS_CODE, I need
    to get the DB generated sequence number and put it in the PART_DESC table

    3. any demonstration/links which shows the CRUD operations involving arrays of master detail?

    I searched the forum for Crud master / detail, but I can only see the display of the relationship and not
    CRUD operations.

    Found this blog too http://andrejusb.blogspot.com/2009/03/create-operation-for-master-detail.html, but
    I can't even fully understand.

    JDEV 11G PS3

    Thank you

    You will need to create a black and white view link in your main table and details. The blog provides the code example if you step through the code, you will get to know exactly how it's done.

  • problem in Master Details view

    Hi all
    using jdev11.2
    When insert new row in detail its ok I if commit but if cancelling the current masters lost record and become the first* record in the view with its details?

    can any one help

    It is a side effect of the restoration. Read:'t-fit-all.blogspot.com/2007/02/jdeveloper-and-art-of-rollback.html http://one-size-doesn

    CM.

  • Problem of master / detail ADF

    Hi all

    I use JDeveloper 11 g. I have a master relationship charts / single detail (such as order-orderItem). On the first page, I have a table that is generated by "ADF Panel with Query Table" to display all commands. There are two buttons on the page, to change and to display the items in order. Once one of the commands in the table is selected, the Edit command will go to the change order page that works fine and the command display items will be donated to the controls page that simply displays the items associated with the selected command. However, when I go to the page of items in order, it always displays all of the items associated with all orders, rather than just the selected command. Did anyone have any ideas what I'm missing?

    Thanks in advance,

    John Wang

    If you juts simply open a page of the default query is executed (in your case, it's a select * to oderItem) and you see all the elements of all kinds.

    You should open the data control, seek the views of the order, expand the appearance of the view for the orderItem inside the orderView view and drag it to the button. Link the button in the action to perform, and you should see the items on the agenda.

    Timo

  • problem with Safari and the opening of sites

    problem with Safari and the opening of sites

    Please describe the problem in more detail?

    Try to reset the settings of Safari:

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select the Preferences/Privacy tab

    4. click on remove all data from the Web site

    5. close Safari.

    Remove cache Safari files:

    1. click on finder

    2. look for the menu GO to top

    3. click on GO and hold down the option key. This will show a user library folder.

    4. click library and find the Caches folder

    5. in the folder caches com.apple.Safari Ouvrezledossier

    6. move the Cache.db file Trash.

    This should solve the problem. If it does not help, try to disable the Safari extensions

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select Preferences

    4. find the Extensions tab

    5 disable all extensions of

    6. relaunch Safari

  • Problems with the Wi - Fi (Airport Extreme and At &amp; t Uverse questions)

    Hello

    We used an Airport Extreme with AT & T Uverse to our network wireless successfully since 2010. Recently Uverse sent me a new modem, and our wireless service has taken a turn for the worse. The network has two different wireless Internet for our House. Please let know us how we can solve this problem. We use a Mac, mac laptop 2, iPad 2 & all Iphones 2 are up-to-date with the latest version of the software.

    Mike

    The AT & T device is a modem/router that provides a signal of wireless network with a name something like ATTa1b3c3d, for example. Your AirPort Extreme also provides a wireless signal by using a wireless network name that you have assigned to the device.

    Thus, it would be normal for you to be able to 'see' the two wireless networks.

    If you don't want to not use the ATT Wireless, just ignore it... or... If you think that it is at the origin of the conflict with the wireless AirPort Extreme, it is possible to turn off wireless on ATT modem/router, so that you only 'sees' the AirPort Extreme network.

    AT & T support can help you in the task of turning off the wireless... or... If you have the number of brand and practical model of modem/router, AT & T, we can try to find an online configuration guide which could provide instructions for this task.

    If you encounter a different kind of problem, please provide details on the problem.

  • In the visualization of my photos display problem: I have red spots in different parts of the pictures. Someone knows how to fix this?  I rebooted my MacBook Pro, but it does not solve the problem.

    In the visualization of my photos display problem: I have red spots in different parts of the pictures. Someone knows how to fix this?  I rebooted my MacBook Pro, but it does not solve the problem.

    Details please

    What version of Aperture? Is OS X 10.7.5 as you say correct for your OS? You shoot JPEG or RAW? If RAW device? Wharton has changed since this worked?

    LN

  • Resolution of problem - unable to change to a lower resolution

    original title: resolution of problem, please help!

    The resolution on my monitor, I cannot go smaller. I can't move the resolution bar upwards or downwards

    and I am unable to change the screen type in the "display properties" under my control panel. Nothing I

    seems to fix the problem!

    Can anyone help?

    Thank you

    Hello

    • Create a restore http://support.microsoft.com/kb/948247 point
    • Start the PC in safe mode - F8 struck twice a second immediately after the ignition until you get a menu b & w, select Safe Mode from this menu. Don't worry strange messages or the appearance of the screen when he finally gets to the opening scene of session.
    • Log on as an administrative user - use admin if that is presented as a possibility
    • Click Start, click Run, type devmgmt.msc and press enter
    • Expand the display of the maps section by clicking on the +.
    • Right-click on any graphics contained therein and uninstall them
    • Restart the computer and wait that all devices to be detected again, select OK to all the prompts that appear, select automatic search if this option appears
    • Don't worry about the appearance of your screen immediately, once that all the material was again detected and installed, restart the PC again
    • Try to make the resolution changes after the second reboot

    If this messes up your PC use the restore point created in the first step to get things back the way they were http://support.microsoft.com/kb/306084

    After return if problems persist with details for further assitance.

    Tricky

  • Vista startup problems - corrupt registry?

    Hoping someone can help here. My wife has a laptop Toshiba Satellite with Vista Home Premium installed. The other day, the laptop has a beep and shut down. Now it won't start - it gets the Toshiba screen then goes to a white cursor blinking at the top left. Pressing F8 does not open to the top of the Recovery Console, I downloaded a program of Recovery Console and burned on a disc. I can choose to boot from the DVD drive and the recovery console opens upward.
    I tried the Start Up repair, but still encounter an error that reads "the breakpoint of the exception: a breakpoint has been reached (0 x 80000003)" occurred in the application at location 0x739c746a: click ok to finish. ""
    It will then open a box indicating that Windows cannot fix the problem. In detail, he lists the following:

    Problem Signature 01 external media
    Signature of the problem 02 6.0.6000.16386.6.0.6001.18000
    Signature 03 6 problem
    Signature of the 04 262148 problem
    Problem Signature 05 corrupt registry
    Problem Signature 06 corrupt registry
    Signature of the 07 32 problem
    Signature 08 3 problem
    Problem Signature 09 registry Rollback
    Signature of the 10 32 problem

    I also ran chkdsk from the command prompt, but which found no errors.
    There is no other backup disk and I don't have a copy of Vista with the laptop.

    Any advice will be welcome. Thanks in advance.

    Hello StuartBrodie,

    If we receive beep codes on commissioning and startup repair is to reach breakpoints, then we would like to hire Toshiba on this issue to run their hardware diagnostics.

    Let us know.

    Best regards

    Matthew_Ha

  • Re: Win7 x 230 2306CTO audio problems

    Hello, I give you your comments about this audio one speaks in this discussion forum.  I have a 230 x that keeps audio problems.  The audio buttons stop working, or if the buttons work, no sound of the laptop without going into Device Manager and remove the RealTek audio driver and then let Win XP find him.  It seems that the questions is not operating system specific and I saw also that mobile phones sent to Lenovo have the system board and speakers replaced, however it is not the problem.  I also see that by reimage the laptop, it does not solve the problem either.  Details of the machine are below:

    Hi all

    After discussing this with our lawyers customer teams seems that this issues has been solved by a unistaaltion of the current drivers and reinstall the drivers from our support site. Additional updates to the audio application and communication had found to remedy the problems. For the moment I will be this post as solved and the resolution. We will continue to follow this thread and should further problems arise us will gladly be this stand out like the resolution and sought to fina of new resolution that best fits.

    I hope this helps.

    Concerning

  • The following text has been a constant problem with WINDOWS UPDATE

    Problems found Details of detection
    5
    The search for updates failed Detected
    Windows Update has encountered an error, search for updates online.
    Details of connectivity
    Events about the problems of connectivity to the Windows Update servers.
    Level:
    Warning
    Journal: Microsoft-Windows-WindowsUpdateClient/Operational
    Date: 21/12/2015-15:38:01
    Message: Lost connectivity Windows Update.
    Scan details
    Windows Update has encountered an error when searching for updates.
    Error code: -2147012721

    Details of detection
    Network Diagnostics log
    Other newspapers and Network Configuration
    Name of the file: NetworkConfiguration.cab
    Collection information
    Computer name: PAULETTE-LT
    Version of Windows:
    6.1
    Architecture:
    AMD64
    Time:

    Tuesday, January 5, 2016 20:26:20

    In this case, it is recommended first to check if your Internet connection is working properly. To do this, open a browser (such as Internet Explorer, Google Chrome, Mozilla Firefox, etc.) and type in any website (such as www.google.com, www.yahoo.com, etc.) in the address bar. Press the Enter key on your keyboard to start the Web page. If the Web page does not load, then it may be a problem with your Internet connection. We recommend that you follow the troubleshooting options mentioned on the links below to solve this:
    http://Windows.Microsoft.com/en-us/Windows/cant-connect-Internet#1TC=Windows-8
    http://Windows.Microsoft.com/en-us/Windows/network-connection-problem-help#network-problems=Windows-81&V1H=win81tab1&V2H=win7tab1&V3H=winvistatab1

    If the Web page loads successfully, then your Internet connection works well. In this case, run the tool in troubleshooting Windows Update from the link below and see if it works:
    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Update-Troubleshooter

    Hope this will help you.

  • Problems playing videos on Windows Media Player

    I o/s windows 7. It is, after seconds Congressman it starts to load the icon image type things and becomes very slow, that has a cloudy color where can not really see the photos, then crashes. Does not happen when I play music from the albums that I downloaded.

    Hard to tell from the description, but have tried:

    1. run convenience stores of media player to see if they find something wrong? in "search programs and files" type "Troubleshoot" (without the quotation marks), results click "troubleshooting." Click on "programs" and look at convenience stores of WMP.

    2 if this does not help, try to remove WMP, restart the PC and the replacement of WMP. See http://www.howtogeek.com/howto/26107/how-to-reinstall-windows-media-player-in-windows-7-to-solve-problems/ for more details. This can sometimes help with some problems WMP.

  • Redirection in blackberry problem

    Hi all

    We are developing an application that involves a communication server. Download us the data from the server and storage in the database and display to the user. the problem is, the server redirects the request to another server and am getting error 302. If there is no redirection that everything works correctly. But the concept of redirection works properly in other devices like the iphone, android. Is there a problem with the blackberry connection? Please help me solve this problem. Additional details are

    OS: 5.0 and higher

    Test device: curve 9360 (OS 7.0)

    development tool: eclipse

    use the connectionFactory interactions http class

    Thanks in advance

    Adkins

    Problem solved!

    I ws wrong shipping method...

    Thanks for help

Maybe you are looking for