Report query and Report Layout (shared component): apex oracle 5.0.0.00.31

Create a report based on the report query to print pdf based on the FO (working according to need) file and file Fo

< br >

what I did: < br >

I created 2 layouts (different ) and report 2 (query will be even created a second report query for a different layout () query based on a different company

How it works:

I created a "print key" on the page where I want to print pdf if the user click on pdf will generate.

Now I don't want to create several buttons printing is possible where I can change the report layouts changed so user which is part of the same company will have the same layout and users of the other company can have different page layout.

As:

User 'Mike, Sam, John, AEC, kiran' company 'Apple' will have the same layout and user of society 'Orange' will have different page layout by clicking on the "print" key.

Demo on apex.oracle.com

new_b/new_b/apex

User1: new_b/apex
User2:new_b1 / apex

Application: New (62658)
Page: Home

Two queries to report in shared components.

Not an employee and the other for the name of the employee.

Report query:
Report1 and I2 are created depending on the generic report.

So all preceding should connected and click on the button "print" on the home page and PDF must be different.

I hope it's good.

created a function based on wwv_flow_shared_queries the table that will store the Id and the name of the report query.
Why do I need to create a function! --> Name of the query will be converted into number if you check branch report request = "number of queries"(i bien qu'il le convertit!!!) ". In fact the Tangible will be stored in the Table and the Id of the named query report will be send back and id will be used in the branch. (Confusion between :))
Now, consisting by using the value
Select distinct to_char (component_id)
of apex_developer_activity_log
where application_id = flow_id
and component = "report Query.
and the name of the component = "name of query.
you get the name of the query and the Id now use in function get name based on the id.

Tags: Database

Similar Questions

  • How to create a folder or a report of a parameter query and a Union

    I have created folders with the unions, but I'm having difficulty coverting a parameter query and a Trade Union.

    The following works fine in SQL * Developer without parameters, but I want to change to use parameters for the year and the quarter and use it in Discoverer:
    SELECT TO_CHAR(NVL(AV.TAX_ID,999999999),'000000000') FEID,
      AV.FIRM_NAME VENDOR_NAME,
      AV.BIDCLASS CONTRACT_CODES,
      AV.AWAMT AWARD_AMOUNT,
      AV.SOL_MODE FORMAL_INFORMAL,
      AV.CERT BUSINESS_ENTITY,
      AV.ETHNICITY ETHNICTY,
      AV.PO_NUMBER_FORMAT CONTRACT,
      SUM(VP.INVOICE_AMOUNT) AMOUNT_PAID_$
    FROM CONFIRM.VSTATE_PAID_AWARD_VENDORS AV,
      CONFIRM.VSTATE_VENDOR_PAYMENTS VP
    WHERE ( ( AV.PO_NUMBER = VP.PO_NUMBER
    AND AV.VENDOR_ID       = VP.VENDOR_ID ) )
    AND (TO_CHAR(VP.PAYMENT_DATE,'Q') = '4')
    AND ( TO_CHAR(VP.PAYMENT_DATE,'YYYY') = '2009' )
    GROUP BY TO_CHAR(NVL(AV.TAX_ID,999999999),'000000000'),
      AV.FIRM_NAME,
      AV.BIDCLASS,
      AV.AWAMT,
      AV.SOL_MODE,
      AV.CERT,
      AV.ETHNICITY,
      AV.PO_NUMBER_FORMAT 
      union 
    SELECT TO_CHAR(NVL(AV2.TAX_ID,999999999),'000000000') FEID,
      AV2.FIRM_NAME VENDOR_NAME,
      AV2.BIDCLASS CONTRACT_CODES,
      AV2.AWAMT AWARD_AMOUNT,
      AV2.SOL_MODE FORMAL_INFORMAL,
      AV2.CERT BUSINESS_ENTITY,
      AV2.ETHNICITY ETHNICTY,
      AV2.PO_NUMBER_FORMAT CONTRACT,
      0 AMOUNT_PAID_$
    FROM CONFIRM.VSTATE_PAID_AWARD_VENDORS AV2
    WHERE 
    not exists (SELECT 'X'
                  FROM CONFIRM.VSTATE_VENDOR_PAYMENTS VP2
                 WHERE av2.po_number = vp2.po_number
                       AND (TO_CHAR(VP2.PAYMENT_DATE,'Q') = '4') 
                       AND ( TO_CHAR(VP2.PAYMENT_DATE,'YYYY') = '2009' )) 
    AND (TO_CHAR(AV2.AWDATE,'Q') = '4') 
    AND (to_CHAR(AV2.AWDATE,'YYYY') = '2009')
    GROUP BY TO_CHAR(NVL(AV2.TAX_ID,999999999),'000000000'),
      AV2.FIRM_NAME,
      AV2.BIDCLASS,
      AV2.AWAMT,
      AV2.SOL_MODE,
      AV2.CERT,
      AV2.ETHNICITY,
      AV2.PO_NUMBER_FORMAT 
    Can anyone provide a solution?

    Thank you
    Robert

    Hello
    You can take the parameters to select so that you will be able to create the conditions above them.
    Try to use this SQL instead of your and the discoverer workbook create the conditions and parameters:

    SELECT TO_CHAR (NVL (AV. TAX_ID, 999999999), '000000000') FEID,.
    AV. $VENDOR_NAME FIRM_NAME,
    AV. BIDCLASS CONTRACT_CODES,
    AV. AWAMT AWARD_AMOUNT,
    AV. SOL_MODE FORMAL_INFORMAL,
    AV. CERT BUSINESS_ENTITY,
    AV. ETHNICITY ETHNICTY,
    AV. PO_NUMBER_FORMAT CONTRACT,
    TO_CHAR (VP. PAYMENT_DATE, 'YYYY') P_YEAR,.
    TO_CHAR (VP. PAYMENT_DATE, 'Q') P_QTR
    SUM (VP. INVOICE_AMOUNT) AMOUNT_PAID_$
    TO CONFIRM. VSTATE_PAID_AWARD_VENDORS AV,
    CONFIRM. VP VSTATE_VENDOR_PAYMENTS
    WHERE ((AV. PO_NUMBER = VP. PO_NUMBER
    AND AV. VENDOR_ID = VP. VENDOR_ID))
    - AND (TO_CHAR (VP. (PAYMENT_DATE, 'Q') = '4') *.
    - AND (TO_CHAR (VP. (PAYMENT_DATE, 'YYYY') = '2009') *.
    TO_CHAR GROUP (NVL (AV. TAX_ID, 999999999), '000000000').
    AV. FIRM_NAME,
    AV. BIDCLASS,
    AV. AWAMT,
    AV. SOL_MODE,
    AV. CERT,
    AV. ETHNIC ORIGIN,
    AV. PO_NUMBER_FORMAT,
    TO_CHAR (VP. PAYMENT_DATE, 'YYYY') P_YEAR,.
    TO_CHAR (VP. PAYMENT_DATE, 'Q') P_QTR
    Union
    SELECT TO_CHAR (NVL (AV2. TAX_ID, 999999999), '000000000') FEID,.
    AV2. $VENDOR_NAME FIRM_NAME,
    AV2. BIDCLASS CONTRACT_CODES,
    AV2. AWAMT AWARD_AMOUNT,
    AV2. SOL_MODE FORMAL_INFORMAL,
    AV2. CERT BUSINESS_ENTITY,
    AV2. ETHNICITY ETHNICTY,
    AV2. PO_NUMBER_FORMAT CONTRACT,
    TO_CHAR (VP. PAYMENT_DATE, 'YYYY') P_YEAR,.
    TO_CHAR (VP. PAYMENT_DATE, 'Q') P_QTR
    AMOUNT_PAID_ $0
    TO CONFIRM. VSTATE_PAID_AWARD_VENDORS AV2
    WHERE
    There is not (SELECT 'X'
    TO CONFIRM. VSTATE_VENDOR_PAYMENTS VP2
    WHERE av2.po_number = vp2.po_number
    AND (TO_CHAR (VP2. PAYMENT_DATE, 'Q') = TO_CHAR (VP. (PAYMENT_DATE, 'Q') )
    AND (TO_CHAR (VP2. PAYMENT_DATE, 'YYYY') = TO_CHAR (VP. PAYMENT_DATE, 'YYYY') ))
    - AND (TO_CHAR (AV2. (AWDATE, 'Q') = '4') *.
    - AND (to_CHAR (AV2. (AWDATE, 'YYYY') = '2009') *.
    TO_CHAR GROUP (NVL (AV2. TAX_ID, 999999999), '000000000').
    AV2. FIRM_NAME,
    AV2. BIDCLASS,
    AV2. AWAMT,
    AV2. SOL_MODE,
    AV2. CERT,
    AV2. ETHNIC ORIGIN,
    AV2. PO_NUMBER_FORMAT,
    TO_CHAR (VP. PAYMENT_DATE, 'YYYY') P_YEAR,.
    TO_CHAR (VP. PAYMENT_DATE, 'Q') P_QTR

    Tamir

  • All images appear as the same interactive report... APEX 4.2.

    Hi, I have worked with apex oracle 4.2.2 window 7 theme 25

    I met the problem when I create interactive report with the BLOB column, I create the sample report and I used the GET_BLOB_FILE_SRC function to display the image in the report but I face these problems
    1 - the images do not appear when I run the report and all the images are empty
    2-i press should edit on any column and go edit page and then return to report once again and the image appear
    3-all folder have the same image (the image with the id that I pressed on)
    I mean when I pressed the record with ID 1 and go to edit the page, then back to the report the image with ID 1 appear in all records in the report, and when to change the id of the same question appear. I don't know what the problem is.
    pls advice me

    Thank you
    Ahmed

    Ahmed.F wrote:
    Hi, I have worked with apex oracle 4.2.2 window 7 theme 25

    I met the problem when I create interactive report with the BLOB column, I create a sample report, and I used the GET_BLOB_FILE_SRC function to display the image in the report

    Didn't it occur to you that it is important to understand exactly how you have used the function in the report? What is the report query?

    but I face these problems
    1 - the images do not appear when I run the report and all the images are empty
    2-i press should edit on any column and go edit page and then return to report once again and the image appear
    3-all folder have the same image (the image with the id that I pressed on)
    I mean when I pressed the record with ID 1 and go to edit the page, then back to the report the image with ID 1 appear in all records in the report, and when to change the id of the same question appear. I don't know what the problem is.

    Looks like you pass item values to the edit page for the values of service instead of the report column. See the example of SELECT in apex_file.get_blob_file_src to see how to use in a report. The values of p_v1 (and p_v2 if necessary) must come from columns of the report, not the page elements.

    Why do you need to use the function at all? Declarative using BLOB format is recommended.

  • To 11g BI Publisher reports files shared in the same instance.

    Hello

    I have to move reports BI editors of MY folders to the shared folders in the same instance of BI Publisher.

    I just wanted to know does move the data model associated with the report so?

    As of now, I just moved the BIP reports and they are working well, but didn't know about this part of the data model.
    Can someone throw light on what best practices related to mobile reports in BI Publisher.


    Thank you
    Ashish

    Ashish Gupta says:
    Should I move the data model in the reports only, folder under shared folders?
    I just wanted to know the best practices as to how the model data and reports are stored in shared folders as in separate folders or all in the same folder.

    Yes, the best practice is to create a folder called BEEP Reports (shared folder)-> in virtue of which you can create 2 folders in the data model and data model
    >

    Also how to make sure that these reports under shared folders are oriented for the data model in shared folders and not to the model of my records?

    Thank you
    Ashish

    To ensure that the data/report model points to model data in the shared folder go to the corresponding report and the right pane under the report you see options like history open hourly labor jobs more editing

    Select edit-> opens a new window-> top you see a magnifying glass icon click on that now opens a new window select the shared folder for the corresponding report datamodel that's all.

    It may be useful

    Thank you
    RM

  • Report filter conditions interactive apex 4.2

    I've just updated APEX 4 to 4.2 and will have a bit of a problem to find user filter conditions.

    In the old version, I did an oracle package out of filter user of wwv_flow_worksheet_conditions conditions and build applications based on them.  However, in 4.2, they don't seem to be inserted into the table when I set a filter.

    They are now stored in a new place or could I do something wrong?  I had a quick search, but I couldn't find anything about it.

    Thank you.


    Craig S of a. in writing:

    I watch APEX_APPLICATION_PAGE_IR_COND when I wrote originally in the package, but there was something necessary that I could not view. I'll have another look on trying to use once I realized what is wrong.

    If I use the view or the tables well, the filter conditions are not get recorded in 4.2, but they do in 4, is there a reason that this could happen?

    They appear as expected in APEX_APPLICATION_PAGE_IR_COND on apex.oracle.com (4.2.5.00.08).

    Do a 'live' on APEX_APPLICATION_PAGE_IR_COND check in display APEX utility while you are changing the relationship, rather than using your package.

    What else has changed as a result of this upgrade? What did you do to facilitate access to the WWV_FLOW_WORKSHEET_CONDITIONS package? Is it still valid? (For example: is the package to access the table/view in the APEX_040200 schema where the IR changes are now underway, rather than the original APEX_040000 schema?)

  • View the login user name and time on an update - APEX

    Hello

    I'm new at APEX, my requirement goes this way, I have an XYZ table and for that I generated a report with multiple columns, and for that I have a form to change the /update values on to a column particlular in this table, where in the form, I got a pop-up for this column (ABC) (ABC) so that if clicked what a choice list dispalyed on the selection which it gets reflected in the form and when I Click on apply button on the form changes. In the report the values relavent get changes according to the database, that's fine, but I have 2 more (columns edited_name, edited_time) where change on that (ABC) I need the name of the current user and time to be displayed in the report.

    Well the user name here is the user_name associated to the my application (Apps reports) connection not the APEX worksapce username are used to form. Because the same application you will be used across many people and updations made on this column at the same time. It should go down with it.
    At the end in the report, based on the name of connection (application), I need to display the edited_name & edited_time. Can someone help me please.

    Thank you
    NAV.

    A trigger is the right way to do it and your trigger seems to be ok. It must be installed on your table, which means on the database.

    What problem did you experience?

    the APP_USER is situated in the context of your session database after you connected to your application. You can't test it in the order sheet Apex SQL for example, because then it is not defined. The function v gives you access to this and other context variables in pl/sql environment.

    Published by: Sven w. on May 20, 2010 09:13

  • How to remove 'The list' (Shared Component - lists)?

    I created a shared - component list. Now I don't see an option for a fall. I can delete list entries, but not the list of his self. -J' have been able to create a new list with the same name...

    I made a mistake of creating a 'list' with classified vertically the entries in the list. Now I want to drop this list and create a new one (with the same name), but this time with the ordered horizontally list entries.

    Thank you

    Daniel

    Hi Daniel,.

    go to-> list the shared components, your selection list, click the "edit list", now, you will see the button 'delete '.

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • No components shared in the apex oracle 5

    Hi all

    Use the Application Express version 5.0.2.00.06 and can not find Shared Component.

    Can someone please help me to activate it?

    Thank you

    Knight S M

    Hello Vasanth,

    You must click on one of your applications. The shared components are only available for simple applications and not for the whole workspace.

    Concerning

    Steven

  • Install work w/WebLogic and the listener of the APEX APEX

    This time, I get the following message when you provide "apex / http://localhost:7001 / listenerConfigure" as the URL in Internet Explorer

    The listener of the APEX is already configured. Please log on as an administrator to access the listener Administration APEX.

    How can I cancel the 'Apex' Listener so that when I try to access the URL above, makes me to the settings page?

    I also tried this URL:

    Apex / http://localhost:7001 / apex_admin

    As a result the following exception. After seeing the underside of exception I immediately changed the password APEX_PUBLIC_USER in Oracle
    a new password. So now that I have a new password for the APEX_PUBLIC_USER in Oracle, where should I update the config files?

    * oracle.dbtools.rt.service.ServiceLocatorException: Exception occurred in the activate() method
    at oracle.dbtools.rt.service.Provider.activate(Provider.java:56)
    at oracle.dbtools.rt.service.Provider.match(Provider.java:111)
    at oracle.dbtools.rt.service.Providers.match(Providers.java:22)
    at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
    at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
    at oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
    at oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
    at oracle.dbtools.rt.service.Provider.match(Provider.java:111)
    at oracle.dbtools.rt.service.Providers.match(Providers.java:22)
    at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
    at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
    at oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
    at oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
    at oracle.dbtools.rt.service.Provider.match(Provider.java:111)
    at oracle.dbtools.rt.service.Providers.match(Providers.java:22)
    at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
    at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
    at oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
    at oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
    at oracle.dbtools.rt.service.Provider.match(Provider.java:111)
    at oracle.dbtools.rt.service.Providers.match(Providers.java:22)
    at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
    at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:104)
    at oracle.dbtools.rt.web.RequestDispatchers.choose(RequestDispatchers.java:85)
    at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:52)
    at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    to 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:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.doIt (WebAppServletContext.java:3686)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.dbtools.rt.web.WebException: could not start the universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: cannot get data source connection
    at oracle.dbtools.rt.web.WebException.internalError(WebException.java:124)
    at oracle.dbtools.rt.query.jdbc.BaseJDBCCallProvider.activated(BaseJDBCCallProvider.java:56)
    at oracle.dbtools.rt.query.jdbc.ora.OraJDBCCallProvider.activate(OraJDBCCallProvider.java:25)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.dbtools.rt.service.__Reflections.invoke(__Reflections.java:85)
    at oracle.dbtools.rt.service.Provider.activate(Provider.java:43)
    ... 39 more
    Caused by: java.sql.SQLException: unable to start the universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: cannot get data source connection
    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:541)
    at oracle.ucp.jdbc.PoolDataSourceImpl.throwSQLException(PoolDataSourceImpl.java:588)
    at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java:277)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:647)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:614)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:608)
    at oracle.dbtools.apex.Connections.getConnection(Connections.java:116)
    at oracle.dbtools.rt.query.jdbc.ora.OraJDBCCallProvider.connection(OraJDBCCallProvider.java:31)
    at oracle.dbtools.rt.query.jdbc.BaseJDBCCallProvider.activated(BaseJDBCCallProvider.java:44)
    ... more than 46
    Caused by: oracle.ucp.UniversalConnectionPoolException: cannot get data source connection
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:421)
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:389)
    at oracle.ucp.jdbc.DataSourceConnectionFactoryAdapter.createConnection(DataSourceConnectionFactoryAdapter.java:106)
    to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java:1613)
    to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.access$ 600 (UniversalConnectionPoolImpl.java:1421)
    at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:488)
    at oracle.ucp.common.UniversalConnectionPoolImpl.addNewConnections(UniversalConnectionPoolImpl.java:988)
    at oracle.ucp.common.UniversalConnectionPoolBase.getInitialConnections(UniversalConnectionPoolBase.java:541)
    at oracle.ucp.common.UniversalConnectionPoolBase.start(UniversalConnectionPoolBase.java:655)
    at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java:271)
    ... 52 more
    Caused by: java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)
    at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:573)
    at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:431)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:366)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:752)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:366)
    to oracle.jdbc.driver.PhysicalConnection. (PhysicalConnection.java:536)
    to oracle.jdbc.driver.T4CConnection. (T4CConnection.java:228)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:207)
    at oracle.ucp.jdbc.DataSourceConnectionFactoryAdapter.createConnection(DataSourceConnectionFactoryAdapter.java:100)
    ... more than 59 *.

    Wes

    Published by: Wes Gibbs August 9, 2011 18:11

    Hi Wes,

    If your connection to database has changed, you must either delete the old configuration completely, so you could run + / listenerConfigure + again, or if you change the connection parameters in the configuration file.
    In any case, you must locate the config.dir (if you have not configured this setting, it is the ${java.io.tmpdir} of your WLS). If you want to do it again, delete the contents of this directory. Otherwise change the apex - config.xml , you will find. The relevant keys may depend on your previous configuration, but should not be difficult to identify. They are at the beginning of the apex - config.xml and begin by apex.db. .

    -Udo

  • Output query and alert if there is a duplicate between 2 tables

    I have 2 tables MembTableA and MembTableB. If a MemberNumber exist both ways, I want to somehow put an alert in my coldfusion output (I have an "CFIF" example in my code below) - and the only show 1 MemberTableA result. Here's my query and output - can anyone help?

    Application CFC

    SELECT dbo. MembTableA.MemberNumber, dbo. MembTableA.StatusCode, dbo.membTableB.Status

    FROM dbo. MembTableA LEFT OUTER JOIN

    dbo.membTableB ON dbo. MembTableA.MemberNumber = dbo.membTableB.MemberNumber

    Where dbo. MembTableA.status is null

    AND (dbo.) MembTableA.StatusCode) = < cfqueryparam value = "555" cfsqltype = "cf_sql_varchar" >

    or dbo.membTableB.Status = < cfqueryparam value = "999" cfsqltype = "cf_sql_varchar" >

    Exit on the page code

    < component cfinvoke =...

    method = "MemberNumberLst".

    returnvariable = "MemberNumberLst" >

    < table >

    < b >

    < /Th > < th > member number

    < /Th > < th > status code

    < /tr >

    < cfoutput query = "MemberNumberLst" >

    < b >

    < cfif MemberNumberLst.MemberNumber is both... >

    < td > #MemberNumber # * both * < table >

    < cfelse >

    < td > #MemberNumber # < table >

    < / cfif >

    < td > #StatusCode # < table >

    < /tr >

    < / cfoutput >

    < /table >

    earwig75,

    Since you are a left outer join, if there is a corresponding to MembTableB MemberNumber, you just need to check if the dbo.membTableB.MemberNumber column is not empty.  You will need to add the dbo. MembTableB.MemberNumber column to your SELECT statement.  However, because only the ColdFusion query results do not complete column names (i.e. dbo.membTableA.MemberNumber and dbo.membTableB.MemberNumber both will appear as MemberNumber), you can use an alias on this column.  In addition, if you use aliases on the names of tables, it will simplify the rest of your query.  Here is a cleaner version:

    SELECT tblB.MemberNumber as MemberNumberB, tblA.MemberNumber, tblA.StatusCode, tblB.Status

    FROM dbo. MembTableA AS tblA LEFT OUTER JOIN

    dbo.membTableB AS tblB ON tblA.MemberNumber = tblB.MemberNumber

    Where tblA.status IS NULL

    AND (tblA.StatusCode) =

    or tblB.Status =

    MemberNumber will always appear in MembTableA and sometimes only in MembTableB?  If so, then the modified query should work.  If the number may appear sometimes in MembTableA, or may appear in the MembTableB sometimes, then the query probably needs to be rethought.  If MemberNumber will always appear in MembTableA, then your might look like this:

    <>''>

    In addition, you can check the location of the brackets in your WHERE clause.  AND operators take precedence over OR operators, so this query will find documents when the tblA.status is null AND tblA.StatusCode is equal to '555' or records where tblB.Status is equal to "999".  Is it exactly what you want?

    HTH,

    -Carl V.

  • What reason is there to find my friends send me the mesasge 'Location not available', even though the iPhone, I'll try to find is always on and always is sharing its location with me?

    What reason is there to find my friends send me the mesasge 'Location not available', even though the iPhone, I'll try to find is always on and always is sharing its location with me?

    Hello

    If there are several device linked to the account, it's probably just that it took to give the positions of the other device or the iPhone is not connected by wifi or cellular connection.

  • network discovery, file sharing and public folder sharing won't turn on if the ethernet cable is removed and plugged

    Public folder of Windows Vista sharing problem.

    Whenever my pc is disconnected from the internet sharing files turns back on. Options: network discovery, file sharing and public folder sharing will turn on if the ethernet cable is removed and plugged. How can I prevent this from happening.

    Hello

    1. Since when are you facing this problem?

    2. don't you make recent changes?

    I suggest you try to perform the clean boot and check if it helps:

    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that restore you the computer mode normal startup such as suggested in step 7 of the above article.

    For more information, see this link:

    http://Windows.Microsoft.com/en-us/Windows-Vista/file-sharing-essentials

    It will be useful.

  • What is the best way to manage fields on a screen to draw in paint () or manage through managers and their layout() method?

    Hi all,

    Sorry if this is a stupid question, but I'm kind of confused because of my friends on my code examination. I just thought that this forum is the right place have the answer

    I develop a very simple screen but I m using feeders to quidon all the placement of objects on the screen.

    I has a high HFM which has 2 tags that is exterme right and the other is on the far left of the hfm screen.this is added to the screen

    There is a value for money including two labels and two basicEditFields.

    There is an another HFM which has two button in what should be at the centre of the screen.

    This button HFM is add in the optimization of the resources that are directly added to the screen

    Now all the alignment of the manipulated by the sublayout methods of the manager.

    According to my friends, I should HAV done this VIA object not via too many Manager and their layouts...

    I want to know are right? or you can suggest a better way?

    Concerning

    In General, having too many managers slows down things. It is generally recommended to have as little as possible nesting Manager.

    That being said, your friend is too complicate things. Managers are there for a reason and you use them for good reasons (to quickly, glancing at your description, this can be done via a single Manager custom without using a lot of nesting of the optimization of the resources/HFM).

    Managers will take care of the tune-up, scrolling, etc.. Fact all through painting is stupid for this use case.

    With the help of de facto managers save time, makes it easily manageable code, reduced the number of errors and makes things simpler to support/extend in the future.

    There are cases where the surrogate object and made everything yourself is preferable, is not. For this particular case, your friend is wrong.

  • Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?



    I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through

  • ªhone and Tablet layouts

    Since the last update (CC2015), phone and Tablet layouts are pushed to the left side! This phenomenon only occurs to me?

    Hello

    I just checked the site on my phone and page is redirected to provision of the phone, but left-aligned.

    This kind of problem occurs usually when something is placed outside the area of the page.

    Please make sure that there is no evidence outside the area of the page. (For this press command + A to select all the items, if you find something off the page and move it inside the page or delete it)

    If that don't fix the issue, then there could be a problem because any widget as suspected by you.

    If the problem persists, then maybe I need to look at the .muse file.

    Concerning

    Vivek

Maybe you are looking for

  • Message will not sync with my devices

    Hello I have 3 Apple devices MacBook Air Air iPad iPhone 5 s Messages used for synchronization is possible with each of my devices - but it stopped abruptly just before Christmas I have now a few messages on one device and not others and vice versa I

  • Satellite P100 - 324 DSTD customized for the necessary sound under Linux

    I ve post the original DSTD dump on the site http://acpi.sourceforge.net/dsdt/view.php?id=771I Don t have knowledge to edit it by myself, so I can´t fix it. Now I m without noise with this version of bios (v3.30). force acpi off leads to more serious

  • Run the Simulink Code on cRIO

    Hello world I wonder if anyone has a Mathworks Simulink model running on an RT target as cRIO. In other projects, I did it on the past using LabVIEW 2010 SP1 and Simulation Interface Toolkit (SIT). You would compile a Simulink model as a DLL, OUT or

  • Create new ToDo

    Nice day If I create a new ToDo then it sets no Date limit correct. I approach it as follows: protected boolean onSaveToDo(){ String name = _subject.getText(); String note = _desc.getText(); try { ToDoList todoList = (ToDoList)PIM.getInstance().openP

  • background screen problems!

    Can anyone help? My Toshiba laptop has stopped allowing me to change my desktop wallpaper image - everything going ok - but not the picture - its driving me crazy looking at stone henge daily - I want my slide show back - please help - wot can I do?