Is there any documentation on how to use JDBC in ALBPM?

I'm trying to connect to a DB using DriverManager class.
1) I've defined an externalResource of type SQL Database.
2) When I execute the following code:
//externalResourceURL is the URL of the SQL Database external resource created in 1), same for user and password
con as java.sql.Connection = DriverManager.getConnection(arg1=externalResourceURL, arg2=user, arg3=password)
3) I get the following error: This driver is locked for use with embedded applications.
Is there any tutorial or documentation on how to use JDBC in ALBPM?
Thanks in advance

I don't know of any documentation off hand... but what are you trying to do? I haven't needed to to make a connection using the DriverClass....
If you aren't using dynamicSQL... you can just catalog the database, and make direct sql calls (not recommended)... but if you catalog it, then just an INSERT command works... or UPDATE... etc
logMessage "Starting insert."
INSERT INTO MYTABLE(id, name) VALUES ("2", "kevin");
logMessage "Finished insert."Check out the studio help under SQL Keywords for more info on that...
HTH
-Kevin

Similar Messages

  • Is there any one knows how to use labview 6.0 to make a "continue" function like the one in C language?

    I am using labview 6.0 and i like to know is there any one knows how to stop the current iteration in while loop or for loop and continue to do the next iteration,just like the "continue" statement in C or C++ language?

    Simple test here in LV6 confims that you can't do this. Not in a useful
    sense anyway. "Stop" doesn't stop execution simply of the current VI, it
    also kills all VIs above it. It would hence be difficult to argue that this
    approach is in any way similar to "continue".
    What version of Labview have you tested this on and can you post a
    demonstration?
    Craig Graham
    Physicist/Labview Programmer
    Lancaster University, UK
    "Oleg" wrote in message
    news:506500000005000000E45B0000-1011517314000@exch​ange.ni.com...
    > Hi,
    > you can orginize all the inner actions of your while loop into the
    > SubVI. Then use the Functios/Application Control/Stop.vi in this SubVI
    > to stop the current interation in any point you want. This will stop
    > your SubVI and yo
    u will automatically goto the next iteration in your
    > while loop.

  • Is there any documentation on how to nest IF or IFThen in Fin Reports

    I'm trying to nest now but can't find any documentation on the proper syntax.
    Here is my logic. I'm in column D in my grid.
    IF C < 0 and B = 0 then -1
    ELSEIF C = 0 then 0
    ELSEIF B < 0 then ( C / B ) * -1
    ELSE C / B
    Can you help? I'm stumped and on deadline.

    Thanks... Got me on my way: Here's what final solution was
    IFTHEN ( ( ( [ A ] + 0 < 0 and [ B ] + 0 < 0 ) and ( [ B ] < [ A ] ) ) , EVAL ( ( ( [ A ] - [ B ] ) + 0 ) * - 1 ), IFTHEN ( ( ( [ A ] + 0 < 0 and [ B ] + 0 < 0 ) and ( [ A ] < [ B ] ) ) , EVAL ( ( ( [ A ] - [ B ] ) + 0 ) * - 1 ), IFTHEN ( ( ( [ A ] + 0 = 0 and [ B ] + 0 > 0 ) or ( [ A ] + 0 > 0 and [ B ] + 0 = 0 ) ) , EVAL ( ( [ B ] - [ A ] ) + 0 ) , EVAL ( ( [ B ] - [ A ] ) + 0 ) ) ) )
    Had to put cheasy + 0 in there to force a 0. I couldn't find a way for it to treat #Missing as a zero. Anyways it worked and that's what matters I guess :)
    Appreciate the help.

  • What are the possible causes of following errors in MAX? Are there any references on how to use MAX?

    Hi, it's me again.
    I've checked the encoder response in MAX (-ve ccw, +ve cw) and it seems fine. But when the motor moves MAX will generate a following error message. Is my encoder causing the problem or have I made a mistake in the settings? I've checked the connections to the encoder and they are all correctly wired.Could there be other causes of following errors?
    The motor does stop earlier when I reduced the following error value, so I'm assuming that the motor stops only when it has reached the set number of following errors and NOT because the motor has reached the target position. Any help is greatly appreciated.
    Thank you.

    It may be that the 7344 is missing encoder values, or that the motor isn't tuned correctly. The first thing I'd like for you to check is that the Encoder Counts per Revolution input to the Axis Settings menu in MAX is set correctly (I believe it defaults to 2000 counts). To check this, you can rotate the motor by hand one revolution to see how many counts have accumulated. Most encoders are either 2000 counts per rev or 4000 counts per rev.
    Once you have that confirmed, autotune the motors and make sure the values for Kp, Kd, and Ki are resonable. (Kd is often around 10x Kp) Once these are set, start your motors moving slowly and observe the following error. This can be seen under the Advanced tab of the 1D Interactive menu. If it is slowly incrementing, t
    hen your're missing counts. If it is negative, then the encoder phases may be backward. If there is no following error, or the count stays constant, then try increasing the speed. It could just be that your encoder sends pulses too fast for the 7344 to read.
    Let me know how it goes.
    Kyle V

  • Is there any documentation which throws light on how data aggregation happens in data warehouse grooming? what algorithm exactly it follows in different aggregation type (raw, hourly, daily)?

    Is there any documentation which throws light on how data aggregation happens in data warehouse grooming? what algorithm exactly it follows in different aggregation type (raw, hourly, daily)?
    How exactly it picks up a specific data value during Hourly aggregations and Daily aggregations?As in  How the value is chosen. Does it say averages out or simply picks  value at the start of the hour/day or end of the hour/day ??

    I'll try one more time. :)
    Views in the operations console are derived from data in the operational database. This is always raw data, and typically does not go back more than 7 days.
    Reports get data from the data warehouse. Unless you create a custom report that uses raw data, you will never see raw data in a report - Microsoft and probably all 3rd party vendors do not develop reports that fetch raw data.
    Reports use aggregated data - hourly and daily. The data is aggregated by min, max, and avg sample for that particular aggregation. If it's hourly data, then you will see the min, max, and avg for that entire hour. Same goes for daily - you will see the
    min, max, and avg data sample for that entire day.
    And to try clarifying even more, the values you see plotted on the report are avg samples. If you drill into the performance detail report, then you can see the min, max, and avg samples, as well as standard deviation (which is calculated based on these
    three values).
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • PTM5_CACHE - any documentation on how these PTM5 tables work?

    Is there any documentation anywhere that describes how the PTM5 tables work? Specifically PTM5_CACHE & PTM5_SCHEDULE.
    I've learned that PTM5_CACHE is the cache for disco portlets and when I look in there I see a bunch of errors to a recently changed portlet. I created a new worksheet in an existing workbook and changed the existing portlet to use the new worksheet, then deleted the original worksheet from the workbook. All seems well from the portal side - users seem to have the new worksheet in their portlet and seems to be refreshing ok.
    But what's happening is I see a lot of errors in the PTM5_CACHE table referencing the old worksheet that has been deleted and the errors are hourly for many users, but not all users.Yet those users are not experiencing issues with the portlet in question. It's almost as if there's now some phantom refreshes trying to happen for a worksheet that doesn't exist anymore.
    How can I make these phantom refreshes go away?
    I'm hoping if I understood the PTM5 tables better, I might be able to fix the situation to not waste cpu cycles.

    Hi,
    i've got the same question..Did you find anything? It looks like it doesn't delete the entries from the cache when you delete a disc. portlet..
    Osman

  • Where I can find documentations on how to use MyComponse API ?

    Where I can find documentation on how to use MyComponse API ?
    Any example ?
    Thanks

    not 100% sure at which point the callout to BEFOREPROCESSCOMPOSE is done, but during the process logs phase, the data in the CVR$ tables is copied into the clg$ tables, and the cvr$ table dml flags cleared
    unles the query is very complex/long running why not join the clg$ tables (only have the data that has changed, so smaller than the cvr$ tables, to your base tables for determining if relevant within the MyCompose needCompose method?
    an example from one of our MyCompose classes is
    public int needCompose(Connection conn, String clientid) throws Throwable{
    boolean baseDirty = false;
    Statement st = conn.createStatement();
    String sql = null;
    int rowCount = 0;
    int fetchCount = 0;
    ResultSet rows;
    // log user
    // sql = "INSERT INTO qpub_log (TIMESTMP,message) "
    // + " values (sysdate, '" + clientid + " assd' )";
    // rowCount += st.executeUpdate(sql);
    // need to compose if there are any relevant changes to assessment details FOR
    // TIR / SOLO assessments
    // Inspection history checklists
    // PIJ marking sheets
    // INSSI
    // Risk Assessment)
    // also changes to (in case of underlying alterations causing data to be withdrawn)
    // STATUS_LOGS
    // ROLE_ASSGNTS
    if(this.baseTableDirty("CDB_OWNER", "ASSESSMENT_DETAILS")){
    return oracle.lite.sync.MyCompose.YES;
    if(this.baseTableDirty("CDB_OWNER", "STATUS_LOGS")){
    sql = "SELECT count(clg.context_key) "
    + "FROM CDB_OWNER.ROLE_ASSGNTS rola "
    + " ,CDB_OWNER.USER_ACCOUNTS usra "
    + " ,CDB_OWNER.CLG$STATUS_LOGS clg "
    + "WHERE usra.user_name = '" + clientid + "' "
    + "AND rola.rolat_rol_code IN ('INSPECTOR','COVER_INSP','DELEG_INSP') "
    + "AND rola.context_key_by=to_char(usra.par_id) "
    + "AND rola.context_key_for=clg.context_key "
    + "AND clg.staa_seq_no=47 ";
    rows = st.executeQuery(sql);
    rows.next();
    fetchCount = rows.getInt(1);
    if (fetchCount != 0) {
    sql = "INSERT INTO qpub_log (TIMESTMP,message) "
    + " values (sysdate, '" + clientid + " assd stal" + fetchCount + "' )";
    rowCount += st.executeUpdate(sql);
    return oracle.lite.sync.MyCompose.YES;
    if(this.baseTableDirty("CDB_OWNER", "ROLE_ASSGNTS")){
    sql = "SELECT count(clg.id) "
    + "FROM CDB_OWNER.ROLE_ASSGNTS rola "
    + " ,CDB_OWNER.USER_ACCOUNTS usra "
    + " ,CDB_OWNER.CLG$ROLE_ASSGNTS clg "
    + "WHERE usra.user_name = '" + clientid + "' "
    + "AND rola.rolat_rol_code IN ('INSPECTOR','COVER_INSP','DELEG_INSP') "
    + "AND rola.context_key_by=to_char(usra.par_id) "
    + "AND rola.id=clg.id ";
    rows = st.executeQuery(sql);
    rows.next();
    fetchCount = rows.getInt(1);
    if (fetchCount != 0) {
    sql = "INSERT INTO qpub_log (TIMESTMP,message) "
    + " values (sysdate, '" + clientid + " assd rola" + fetchCount + "' )";
    rowCount += st.executeUpdate(sql);
    return oracle.lite.sync.MyCompose.YES;
    // if no relevant changes do not compose
    return oracle.lite.sync.MyCompose.NO;
    }

  • Is there any documentation for filter routine in Data Transfer Process?

    I am trying to create a filter routine in the Data Transfer Process to select different billing types depending on what date the Data Transfer Process is running....
    I have searched through SDN and found some examples, but some formal documentation would help.
    Is there any documention on filtering in a Data Transfer Process using a routine?
    I am in 7.0

    data: l_dow TYPE I,
          L_S_RANGE TYPE rssdlrange.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'F2'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'G2'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'L2'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZCDD'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZCDI'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZCR1'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZCR2'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZDR1'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZEDI'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZMD'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZRE'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZRE1'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZRED'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZSMP'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZUSD'.
    APPEND L_S_RANGE TO l_t_range.
    l_s_range-iobjnm = '0BILL_TYPE'.
    l_S_range-fieldname = 'BILL_TYPE'.
    l_S_range-sign = 'I'.
    l_S_range-option = 'EQ'.
    l_S_range-low = 'ZUSI'.
    APPEND L_S_RANGE TO l_t_range.
    CALL FUNCTION 'DATE_COMPUTE_DAY'
      EXPORTING
        date = sy-datum
      IMPORTING
        day = L_DOW.
    IF l_Dow EQ 5.
      l_s_range-iobjnm = '0BILL_TYPE'.
      l_S_range-fieldname = 'BILL_TYPE'.
      l_S_range-sign = 'I'.
      l_S_range-option = 'EQ'.
      l_S_range-low = 'S1'.
      APPEND L_S_RANGE TO l_t_range.
      l_s_range-iobjnm = '0BILL_TYPE'.
      l_S_range-fieldname = 'BILL_TYPE'.
      l_S_range-sign = 'I'.
      l_S_range-option = 'EQ'.
      l_S_range-low = 'S2'.
      APPEND L_S_RANGE TO l_t_range.
    ENDIF.

  • Req any examples of how to use a USB midi controller​/keyboards with Labview TIA

    Req any examples of how to use a USB midi controller/keyboards with Labview TIA

    Hi,
    To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.
    As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.
    Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
    = "http://msdn.microsoft.com/library/default.asp?url​=/library/en-us/multimed/htm/_win32_multimedia_... is a link to the Windows multimedia functions that you could use for MIDI input.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.

  • Is there any documentation on Database parameters?

    Hi
    We are trying to plan for future growth and make sure that our current structure is optimal. I am looking for some documentation on testing done by Oracle to get some guidelines. I have looked through a couple of Oracle white papers ('0Building Scalable and Performant..........' and 'Page Generation ..........'). I have also looked at some of the white papers regarding architecture.
    My questions
    Has Oracle done any testing for the database? Have there been any tests as to SGA, Multithreded vs dedicated, etc.. ?
    Is there any documentation?
    Thanks

    Mukesh,
    When we ran our load tests, we found that database settings were simply not the bottleneck, at least for the overhead of generating Portal pages and running a Portal instance. Of course, if you're using the database for other purposes, then you need to tune the database as you would for any other application. The type of tuning you do is totally dependent on your unique configuration and application mix. I suggest you refer to the Oracle8i Designing and Tuning for Performance manual.
    Regards,
    Jerry
    null

  • Is there any documentation on Peoplesoft CRM 9 HelpDesk SLA's?

    Hi,
    Is there any documentation available on Peoplesoft CRM 9.0 HelpDesk about Service Level Agreements for internal employees?
    We are looking into implementing Service Level Agreements on the Help Desk module for internal clients (employees). I am looking for any sort of documentation which would help me understand the current out of the box functionality of Service Level Agreements relating to how t functions for internal clients. Any assistance would be appreciated
    Thanks
    Elana

    Please verify the below online PeopleBook help for CRM9.
    http://download.oracle.com/docs/cd/E12341_01/crm9pbr0_run2/eng/psbooks/index.htm
    Thank you!
    Best Regards
    Soundappan

  • Is there any documentation on creating basic paper reports?

    Hi - I have just started to try to create a report. We have 9i reports but don't need any of the web stuff. I only need to create reports off of our database, run them on my workstation, and print out hardcopies to give to 1 or 2 managers.
    Is there any documentation that would just teach me how to create simple reports without all the web functionality? I was trying to follow along in the Reports Builder 6i, but it seems a lot has changed since 6i and I am having trouble just trying to find the corresponding buttons in 9i.
    I need to learn how to create reports, triggers, and especially I want to learn how to rearrange the report output after it has been created. It seems very confusing to me how to do this on Paper Layout or Paper Design screen.
    Thanks for any help. I would even go buy a book if there were a good one.

    Links to all reports docs
    http://otn.oracle.com/documentation/reports_dev.html
    Oracle9i Reports Building Reports ( very extensive )
    (PDF version ) http://download.oracle.com/otn/other/general/B10310_01.pdf [ 8 MB ]
    (HTML version ) http://otn.oracle.com/products/reports/htdocs/getstart/docs/B10310_01/title.htm
    Thanks
    The Oracle Reports Team

  • Are there any guidelines on how to customize R/3 reports into BW

    Hi Everyone,
    I have quite a number of R/3 reports that is required to be converted into a BW report but I do not know what I am supposed to do.
    Are there any guidelines on how to determine if a R/3 report should be created in BW? If it should be done in BW, how do I consider if it should be reported of a cube or an ODS?
    I have been doing development for ard 3years and this is the first time I have to analyze and come up with a functional/design specs. Need help.
    If there is any documents on the guidelines, please send it to [email protected]
    Thanks.
    Regards,
    Shunhui.

    Hi Shunhui
    TABS -> here Venkat was refering to SAP education courses on BW on extraction,reporting etc.
    I am not aware if there are any guidelines given by SAP.
    I will try to help you build the approrach for this:-
    1. You should collect functional specification of R/3 report. This will include the functionality of that report, logic & calculations involved, usage of report output by end users etc.
    2. Collect technical specification- In this you create excel sheet with all fields in R/3 report with relevant details such as formulas used, calculations involved etc.
    3.Map these technical specs with BW business content. Try to see if you can get Business content datasource which will be a fit for majority of your R/3 report fields.
    4.Carry out gap analysis and end of this excerise determine how you are going to fill this gap - whether buy using Zinfoobject,routines,datasource enhancements etc.
    5.Classify the reports as Aggregate or transactional level. If it is transactional level then you need to make use of ODS.This will determine your data model in BW.
    6.Based on 5 steps mentioned above,create a design document with dataflow & data model details.
    7. Get a Sign off on functional,technical specs & design document with proposed dataflow from users and implement it.
    For templates of functional & technical specs , you can refer to blueprint section of Accelerated SAP.
    Hope this helps
    Regards
    Pradip

  • Is there any Documentation frame work for OAF development

    hi
    Is there any Documentation frame work for OAF development like AIM Documentation for RICE components ?
    Hence , it is very clear that, MD50 and MD70 template is not for the OAF java development.
    Is there any need to document the oaf development, hence it is using MVC architecture and all the components of the OAF development is very transparent.
    thanks

    You can extra sections if needed based on the customizations / extensions / personalizations.
    Cheers
    AJ

  • Anybody have any example on how to use javafx.stage.Popup

    I wants to popup an customerize UI stage to let user to something, and found there have a javafx.stage.Popup class. Any example for how to use it, seems it no titile bar and not OK and cancel button? Search for Forum seems don't find an useful one.
    Edited by: 931222 on Oct 22, 2012 8:54 AM

    follow up.

Maybe you are looking for

  • How do I view entire signal in SignalExpr​ess Playback mode?

    Problem:  Playback only displaying 1 block of samples instead of ALL the samples collected when I click "Run". Setup:  Monitor / Record: DAQmx Acquire Analog Input (Acq Mode: Continuous, 1k samples @ 10kHz), Create Analog Signal (DC Signal 100kS/s, 1

  • How can I delete a song that I had downloaded on my iPhone 4s and when I got the 5s appears on my phone but not on my Itunes?

    I had an iPhone 4s and downloaded some free singles of the week from Itunes. I changed to an Iphone 5s and I want to delete those songs. I synced my phone to delete them from Itunes but the songs do not appear on my library and on my phone 5s the son

  • BPM 11g supporting XPDL ?

    Hi everyone, 1) Do you know whether "Oracle BPM 11g" still support "XPDL" ? 2) Can we export "BPMN process" designed with BPM Studio 11g out as "BPMN 2.0" standard ? Regards Pearapon S.

  • Discoverer - Exporting Incorrect Parameter Values

    Hi there I am using the &Parameters keyword in the Title of my Discoverer worksheets. If I run the worksheet, the &Parameters is replaced with the value of the parameters I am running the report for. However, if I export my worksheet to Excel, the &P

  • Yosemite Hosts file missing something

    Hello guys, I have MBA early 2014 Yosemite upgrade. Most forums and discussions say that the default hosts file looks like the one below # Host Database # localhost is used to configure the loopback interface # when the system is booting.  Do not cha