DBAdapter insert only operation issue

Hi Gurus,
I'm trying to create the BPEL SOA composite which is receive the input using File Adapter (file only containt 2 rows) and insert into database table using DBAdapter with Insert only operation using mediator.
The data will be inserted to seeded employees table in hr schema.
1st try, i got error constraint violated because i did not provide the last name (NOT NULL constraint).
I updated last name of the same data and try again, but i got error constraint violated for email (UNIQUE constraint).
Mar 27, 2015 2:13:15 AMMessageError during invoking 2-way operation "insert" on target service "FdyWriteEmpToDB"
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception. insert failed. Descriptor name: [FdyWriteEmpToDB.Employees]. Caused by java.sql.BatchUpdateException: ORA-00001: unique constraint (HR.EMP_EMAIL_UK) violated . Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-1" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
If i disable the EMP_EMAIL_UK constraint, it is working fine, but the 1st row is inserted twice and 2nd row is not inserted.
Following is the mediator transformation mapping.
Anything am doing wrong here? Appreciate any help.
Regards,
Fendy

Hi Fendy,
could you look inside the audit trail in the enterprise manager to see if the transformations is really working?  For what I see, I think there is an error in your xslt. It should be like this:
<top:EmployeesCollection>
    <xml:for-each select="/imp:Employees/imp:EmpDetail">
    <top:firstName>
      <xsl:value-of select ="/impl:FirstName" />
    </top:firstName>
    <top:LastName>
      <xsl:value-of select ="/impl:LastName" />
    </top:LastName>
<top:email>
      <xsl:value-of select ="/impl:Email" />
    </top:email>
    </xml:for-each>
</top:EmployeesCollection>
best regards, Nicolas

Similar Messages

  • Regarding Rework (by inserting Ref oper set)

    hello sap gurus,
    i am confused regarding rework ,If we do the rework by inserting the ref oper set in the last in the operation overview of the production order itself than whole component qty reqd for producing the order header material will pass through that ref oper set but the fact is that for only rework qtys we require that ref oper set(but it will charge activity cost to all component qtys).So there would be improper costing(improper target cost) and scheduling.
       And while doing confirmation through co11n,for ref oper set which we have inserted in operation sequence at last there we have to confirm only rework qty and for the last oper you have to goods receipt for whole qyt.Am i correct?

    Hi
    1. Create a production order confirmation of original order with rework qty+yield qty = confirmation qty,Do GR  for only yield qty
    2. For the rework qty create  Rework order using reference operation set.
    3. In the Settlement rule for rework order , assigned with settlement receiver as original order.
    4.Carry out goods issue for components of rework order..
    5   Confirm rework order using  co11n
    6.   Do GR for original order with rework qty ., teco both orders.
    7. Settle first the rework order
    8 settle original order
    As settlement is doing for orginal order,  there is no problem in costs,, costs of the rework qty will also capture.
    Please come back still if you have any doubts..
    Otherwise close the thread by rewarding the points,
    Regards,
    MSH.

  • Oracle 11g: Oracle insert/update operation is taking more time.

    Hello All,
    In Oracle 11g (Windows 2008 32 bit environment) we are facing following issue.
    1) We are inserting/updating data on some tables (4-5 tables and we are firing query with very high rate).
    2) After sometime (say 15 days with same load) we are feeling that the Oracle operation (insert/update) is taking more time.
    Query1: How to find actually oracle is taking more time in insert/updates operation.
    Query2: How to rectify the problem.
    We are having multithread environment.
    Thanks
    With Regards
    Hemant.

    Liron Amitzi wrote:
    Hi Nicolas,
    Just a short explanation:
    If you have a table with 1 column (let's say a number). The table is empty and you have an index on the column.
    When you insert a row, the value of the column will be inserted to the index. To insert 1 value to an index with 10 values in it will be fast. It will take longer to insert 1 value to an index with 1 million values in it.
    My second example was if I take the same table and let's say I insert 10 rows and delete the previous 10 from the table. I always have 10 rows in the table so the index should be small. But this is not correct. If I insert values 1-10 and then delete 1-10 and insert 11-20, then delete 11-20 and insert 21-30 and so on, because the index is sorted, where 1-10 were stored I'll now have empty spots. Oracle will not fill them up. So the index will become larger and larger as I insert more rows (even though I delete the old ones).
    The solution here is simply revuild the index once in a while.
    Hope it is clear.
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]Hmmm, index space not reused ? Index rebuild once a while ? That was what I understood from your previous post, but nothing is less sure.
    This is a misconception of how indexes are working.
    I would suggest the reading of the following interasting doc, they are a lot of nice examples (including index space reuse) to understand, and in conclusion :
    http://richardfoote.files.wordpress.com/2007/12/index-internals-rebuilding-the-truth.pdf
    "+Index Rebuild Summary+
    +•*The vast majority of indexes do not require rebuilding*+
    +•Oracle B-tree indexes can become “unbalanced” and need to be rebuilt is a myth+
    +•*Deleted space in an index is “deadwood” and over time requires the index to be rebuilt is a myth*+
    +•If an index reaches “x” number of levels, it becomes inefficient and requires the index to be rebuilt is a myth+
    +•If an index has a poor clustering factor, the index needs to be rebuilt is a myth+
    +•To improve performance, indexes need to be regularly rebuilt is a myth+"
    Good reading,
    Nicolas.

  • Master-detail page with form layout -- insert only -- not in create mode

    JDeveloper 10.1.3.1 with JHeadstart
    I have the following master-detail structure in JHeadstart:
    Group 1, Table a, Layout: table-form
    Group 2, Table b, Layout: table-form
    Group 3, Table c, Layout: form
    Group 4, Table d, Layout: form (on same page as master table c)
    Table a, b and c are updatable (insert, update and delete).
    I have problems with the last page, tables c and d, master-datail both in form layout.
    The master-table (c) is not an insert-only table, the detail table needs to be an insert-only form on the same page as the master table c.
    Settings Table d:
    Advanced search and quick search: none
    Autoquery: disabled
    Single row insert allowed (other options in Operations disabled)
    In my view object I have used the settings in the JDeveloper guide 8.1.2 ('no rows...' in tab Tuning).
    I run my application in JDeveloper (with the option run in my ViewController-project, which means that I am not running my detail page directly in JDeveloper??) and when I open this last page, the detail form is not in create mode (I see no rows found and a create rows button).
    I have read several threads in this forum, but I do not know how to solve this problem.

    This does not work.
    In my first post I made an mistake in describing my application, it is not a table-form, but a tree-form application:
    Group 1, Table a, Layout: tree-form
    Group 2, Table b, Layout: tree-form
    Group 3, Table c, Layout: tree-form
    Group 4, Table d, Layout: form (on same page as master table c)
    If I override the executeQueryForCollection method in the ViewObjectImpl of table d I get a message ('JBO-27122: SQL-fout tijdens voorbereiding van statement' and 'java.sql.SQLException: OALL8 is in an inconsistent state').
    while clicking on the tree (with table b and c). It seems that the QueryForCollection method is being executed to early.

  • DB Adapters Update Only and Insert Only Options

    Hi,
    Need details about "Update Only" and "Insert Only' options in Oracle SOA Suite 11g DbAdapter.
    What is differece between normal insert / Update and Insert Only / Update Only Options.
    Thanks,
    Arun Jadhav

    Hi,
    Need details about "Update Only" and "Insert Only' options in Oracle SOA Suite 11g DbAdapter.
    What is differece between normal insert / Update and Insert Only / Update Only Options.
    Thanks,
    Arun Jadhav

  • Dead PB Battery causing system operation issues ??

    Hi, I bought a 1Ghz DVI Titantum G4 on Craigslist over the weekend. The system has what appears to be a completely dead PB battery that is 5+ years old (there is writing on the back of the battery "May 2005").
    It came with a 3rd party 45W adapter/charger and the system will run from that just fine.
    Mac OSX 10.4.11 says the battery is charged at 96%, but when I try to run the PB from the battery, nothing happens. I press the little button on the bottom of the battery and it indicates a fully charged battery. However the System Profiler shows no amperage from the battery on the power portion of the profiler. I checked the PRAM battery with a multimeter and it still has a charge.
    Will leaving this apparently dead PB battery in the system cause other operational issues ? Any thoughts ?
    Thanks

    Keeping a dead battery in the computer won't cause any problems, but the fact that it's dead will, of course, mean it won't serve to prevent certain kinds of problems that wouldn't arise if it were a good battery.
    In particular, you probably won't be able to unplug the AC adapter and transport the Powerbook for more than a handful of minutes before the PRAM battery is completely drained, and then the drained PRAM battery may prevent the machine from starting up until it is recharged — which will go very slowly if a dead main battery is in place and the computer is trying in vain to recharge that too. The main battery gets charging priority, and the PRAM battery gets charged after the main battery is full. If the main battery never charges, the PRAM battery may not either, unless the main battery is removed.
    It's also true that in the event of an AC power outage while you're working, the dead battery won't fulfill its usual function as an uninterruptible power supply. The computer will instantly shut down, and whatever you're working on that hasn't been saved will be irrevocably lost. If the battery were good, you might not even notice the outage.
    If the computer is just going to sit on a desk and be permanently connected to AC power, you can leave the dead battery in it — except after a power outage, when you'll need to remove it for 5-6 hours to give the PRAM battery time to recharge in its absence. On the other hand, the only real reason to keep a dead battery in the machine is to prevent foreign matter or objects from getting inside the battery compartment. There's no other advantage to having it in there.

  • Problem to insert only month and year instead of full date

    select b.penjara_id, p.penj_lokasi, a.no_daftar, b.episod, b.nama1,to_char(a.trkh_mula_prl,'dd/mm/yyyy') as trkh_mula_prl, to_char(bulan_proses,'mm/yyyy') as bulan_proses,
            b.epd, b.lpd
    from prl_daftar_proses a, senarai_pesalah b, penjara p
    where a.no_daftar=b.no_daftar
    and a.episod=b.episod
    and b.penjara_id = p.penjara_id
    and a.setuju_jplp is null
    and a.bulan_proses between to_date(:FROM,'dd/mm/yyyy') and to_date(:TO,'dd/mm/yyyy')
    order by b.penjara_id, a.bulan_proses,a.no_daftarHi,anyone can help me how i can insert only month and year from the value that have full date in the database??
    for example,the date is 09/18/2012, but i just want to insert 09/2012 as parameter. If i want to insert only one parameter, i can do that..But i have problem when I want to insert two parameters..

    jeneesh wrote:
    Welcome to the forum..
    This..?
    Assuming bulan_proses is a date without time part
    select b.penjara_id, p.penj_lokasi, a.no_daftar, b.episod, b.nama1,to_char(a.trkh_mula_prl,'dd/mm/yyyy') as trkh_mula_prl, to_char(bulan_proses,'mm/yyyy') as bulan_proses,
            b.epd, b.lpd
    from prl_daftar_proses a, senarai_pesalah b, penjara p
    where a.no_daftar=b.no_daftar
    and a.episod=b.episod
    and b.penjara_id = p.penjara_id
    and a.setuju_jplp is null
    and a.bulan_proses between to_date(:FROM,'mm/yyyy') and last_day(to_date(:TO,'mm/yyyy'))
    order by b.penjara_id, a.bulan_proses,a.no_daftar
    i got another problem..
    before that.may i know what is the function of last_day?

  • Read only operation

    For a read only operations , will it be a good idea if we convert existing DAO objects to Entities ?

    gimbal2 wrote:
    user575089 wrote:
    For a read only operations , will it be a good idea if we convert existing DAO objects to Entities ?I don't know what a DAO object is (I would think that an entity IS a DAO object). But I don't need to know anyway. Ok . Here it means the following ..
    DAO = Data Access Objects. ( through JDBC )
    Entities = http://download.oracle.com/javaee/5/tutorial/doc/bnbqa.html
    Just answer this for yourself: what benefit would it give me? If the answer is "well this and that", ask yourself this: >>What penalty would I get? If the answer is "none", just do it!There is no benefit..no penalty.....I wanted to know , Does it have any real impact in processing For a read only operations if we convert existing DAO objects to Entities ?

  • Ldap Synch Error in attribute conversion operation Issue in OIM 11g R2 PS1

    Hi All,
    We have enabled LDAP Synch in OIM11g R2 PS1 environment. We have requirement of users getting created through Web Services. When we create a user through Webservices, and provide all the attributes required to create user then we are getting LDAP Error in attribute conversion operation:
    2014-01-03T02:31:52.249-05:00] [oim_server1] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 1353004b0df87234:-67081615:143517a89d1:-8000-0000000000002807,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] ADF: Adding the following JSF error message: IAM-2050243 : Orchestration process with id 9864, failed with error message IAM-3010201 : LDAP create event failed : 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operation, data 0, v1db1.[[
    oracle.iam.ui.platform.exception.OIMRuntimeException: IAM-2050243 : Orchestration process with id 9864, failed with error message IAM-3010201 : LDAP create event failed : 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operation, data 0, v1db1.
      at oracle.iam.ui.platform.exception.OIMErrorHandler.reportServiceException(OIMErrorHandler.java:170)
      at oracle.iam.ui.platform.exception.OIMErrorHandler.reportException(OIMErrorHandler.java:65)
      at oracle.adf.model.binding.DCDataControl.reportException(DCDataControl.java:411)
      at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:416)
      at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:471)
      at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.reportException(JUCtrlActionBinding.java:2016)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1660)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
      at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBinding(FacesUtils.java:165)
      at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBindingFromActionListener(FacesUtils.java:112)
      at oracle.iam.ui.catalog.view.backing.CartReqBean.submitActionListener(CartReqBean.java:848)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
      at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
      at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.iam.ui.platform.servletfilter.IdentityContextFilter.doFilter(IdentityContextFilter.java:50)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.iam.platform.servletfilter.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:164)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:248)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    In this case user is getting created in OIM but LDAP Synch is not happening we are getting the error as mentioned above.
    When we create user in OIM  not through Web Serives but through Identity Self Service and provide any date attribute for example Start Date,Provisoning Date, Deprovisoning Date or any other date attribute, then also we are geeting the same error of Error in attribute conversion operation Issue, in this case user is not getting created in OIM and LDAP Synch is not happening.
    And when we create a user in OIM not through Web Serives but through Identity Self Service  and did not give any of the date attribute then user is getting created and LDAP synch is also happening successfully.
    We need to create users through Web Services and we need to resolve this issue asap, request you all to provide any helpful pointer on this.
    Thanks
    Varsha

    This can happen due to OIM-LDAP wrong attribute mapping/value getting passed.
    Can you please first try with OOTB attributes and see how it behaves?
    J

  • Windows 7 as ONLY operating system

    I would like to install Windows 7 in an Intel Mac mini as the PRIMARY/ONLY operating system (without Mac OS or boot-camp). I love my Macintosh and Macintosh hardware in general, but I need to provide a small-sized Windows 7 system for a very non-technical person, and would like to use Macintosh hardware if possible. Has anyone tried this, and if so, what happened? Thanks...

    Hi all,
    Nicholas: the hatter already has posted some answers to the same question you asked in the Windows Compatibility Forum.
    Please don't cross-post in this Forum, it is considered to be not very polite.
    While it is possible to have/make a Windows-only Mac (with or without the help of BootCamp) I personally would suggest to have at laest some small OSX partition on it as well.
    Something around 15-20GB is sufficient with OSX Sbow Leopard when leaving out any additional software installations.
    Apple sometimes releases Firmware and SMC updates for Macs that only install if run from an internal OSX partition and won't run if the OSX is on an external harddisk.
    And they definitely won't run in Windows.
    Regards
    Stefan

  • Make Item of Data Entry Form Insert Only, Non Updateable

    Hi,
    Can someone please tell me how to make an item on a data entry form insert only and not updateable. The user can enter the text item in insert mode but cannot update the text item in update mode. This was really simple in Oracle Forms, hoping it is as simple in APEX.
    Thanks

    I think that's too much of the wrong information.
    It sounds like you have multiple forms. Are they Modal or Non-Modal?
    What code do you use to call the form that's not working?
    Does it work initially and then stop working?
    James.

  • Insert Only Forms with custom Page Lifecycle class

    I discovered a bug/inconsistency in the JHS Generator:
    The business case (translated to the HR schema) is
    We have an Insert Only form for creating new Departments. (Group name: DepartmentsEntry)
    When the user saves a new Department, we want to forward them
    using the Faces Navigation Handler to the group named "Departments".
    The implementation we used:
    - Create a custom class which extends oracle.jheadstart.controller.jsf.lifecycle.JhsPageLifecycle.
    This class overrides the onCommit method: if there are errors we stay on this page,
    otherwise we redirect the user.
    - Specify this classname in the Page Lifecycle Class property (under "Customization Settings") within the Application Definition Editor.
    When we then try to run the page, the Insert-Only form does not work as expected;
    The user has to click on the "New Department" button first.
    I see that the specified classname occurs in the ControllerClass property of
    the Page Definition file DepartmentsEntryPageDef.xml file.
    The way I solved the problem was to create a custom groupFacesConfig.vm template
    which specifies the managed-bean-class property of the ${JHS.current.group.name}PageLifecycle managed bean.
    This then solves the problem - the InsertOnly form works as expected.
    This is not as I would expect the "Page Lifecycle Class" property to be used.
    In my opinion the "Page Lifecycle Class" property should also be used in the default groupdFacesConfig.vm template and not only in the Page Definition file.
    Is this behaviour expected?

    Cliff,
    You are right, this is a bug that has been fixed for the upcoming 10.1.3.2 release.
    Steven Davelaar,
    JHeadstart Team.

  • Insert only the third row of table

    Hi!
    What has to be done if I want to insert only the third row of internal table
    into workarea ? How can you handle with such specific circumstances ?
    Regards
    ertas

    Hello!
    I need it for this case.
    l_api_header_tab's thir row must be inserted, but regarding to the corresponding
    fields.
    How can I adapt this command READ ITAB INTO WA INDEX 3.
    LOOP AT l_api_header_tab INTO l_api_header_wa.
    move-corresponding l_api_header_wa to LG_IOTAB .
    append LG_IOTAB .
    ENDLOOP.
    Regards
    ertas

  • When I open a new tab, an unwanted website opens instead of my desired home page. THIS IS ONLY AN ISSUE WITH NEW TABS; (opening the web browser AND clicking on the home button frings me to my desired home page.)

    When I open a new tab, an unwanted website opens instead of my desired home page. THIS IS ONLY AN ISSUE WITH NEW TABS; (opening the web browser AND clicking on the home button frings me to my desired home page.)
    I have attached the url of the unwanted site.

    Use this add-on [https://addons.mozilla.org/en-US/firefox/addon/custom-new-tab/ '''Custom new tab'''].

  • Insert only the updated Fields

    I have a log table based on the master table. The master table have 50 fields. Any update in the master data has to be logged in a new table. So the master table will have only the last updated data.
    Any change in the master table to be inserted in to a logged table. I need to insert only the updated fileds not all the fields.
    How to write insert statement in forms 6i for inserting to a logged table where only the changed fields.
    INSERT TO EMASTER_LOGTABLE
    (ECODE,
    ENAME,
    EDEPT,
    ETRADE
    VALUES
    (:ECODE,
    :ENAME,
    :EDEPT,
    :ETRADE
    Row will be inserted in to the EMASTER_LOGTABLE with the updated field only not all the field except primary.

    Hi!
    Whats about a new idea?
    Create a new table:
    create table EMASTER_HISTORY (
    EMP_CODE        number(6),  --> i don't know yours
    CHANGED_COLUMN  varchar2(30) not null,
    CHANGED_USER    varchar2(30) default user not null,
    CHANGE_TIME     date default sysdate not null,
    OLD_VALUE       varchar2(4000),
    NEW_VALUE       varchar2(4000) )
    storage ( your storage );In your form create a pre-update-trigger on your block like:
    declare
    l_item varchar2(30) := get_block_property ( 'your_block', first_item );
    l_data_old varchar2(4000);
    l_data_new varchar2(4000);
    begin
    loop
      if
       get_item_property ( 'your_block.' || l_item, item_type ) in ( 'BUTTON', 'IMAGE' )
      then
        null;
      elsif
        get_item_property ( 'your_block.' || l_item, database_value ) != name_in ( 'your_block.' || l_item ) OR
         ( get_item_property ( 'your_block.' || l_item, database_value ) is null AND name_in ( 'your_block.' || l_item ) is not null ) OR
         ( get_item_property ( 'your_block.' || l_item, database_value ) is not null AND name_in ( 'your_block.' || l_item ) is null )
      then
        l_data_old := get_item_property ( 'your_block.' || l_item, database_value );
        l_data_new := name_in ( 'your_block.' || l_item );
        insert into test.emaster_history ( emp_code, changed_column, old_value, new_value )
        values ( :your_block.emp_code, l_item, l_data_old, l_data_new );
      end if;
      exit when l_item = get_block_property ( 'your_block', last_item );
      l_item := get_item_property ( 'your_block.' || l_item, nextitem );
    end loop;
    exception
    when others then message ( l_item || ': ' || nvl ( error_text, dbms_error_text ) );
    end;So, for every updated item in your form you will have a record in EMASTER_HISTORY with timestamp
    and you're able to read the history of data in every column in your emp_master table.
    Addition:
    The only disadvantage is, non database items may will be logged too.
    This because i don't know a "clean" item property to find out, if a item is a database item.
    The item property column_name is not required and could by null alltough the item is a database item.
    Regards

Maybe you are looking for

  • Deleting Duplicate Entries in sender JDBC adapter

    Hi i am working on JDBC to IDOC scenario. When i am fetching the records from the Oracle database table using select query, i am getting the records but its getting duplicated many a times and hence its failing at an idoc processing at ECC side.. Cou

  • Result Cache value

    my table frequently updating value.I want to retrieve updated value from result cache not from the table . I used result cache function for the same.updated value is coming from table and not updated value from result cache. Is it possible to retriev

  • Outlook contact sync

    The last time I synced with Outlook, a lot of the same contacts came up multiple times -- around 50+ times each. Seems the only way to delete them is individually. I would like to know the following: 1) is there a way to do multiple deletes and 2) wh

  • Error when copying movie file

    I get an error when trying to backup an iMovie file to an external hard drive. Unexpected error occurred. Error code -1309. Wattsup w/ that?? J.

  • Agent MSI properties don't match what's in manual.

    On page 69 of the ZfD401 manual it states that you can add MSI properties to the App object that you make to instal the ZfD401 agent on workstations. Some of these properties are ADDLOCAL, EDITABLE_MT_ADDRESS, and so on. The problem is, when I go int