Performing ORM and non-ORM transactions in one request.

During the processing of a request, we need to perform an ORM statement and a non-ORM cftransaction on 2 different data sources.
Example:
# Note, 'someObject' is a persistent CFC with a datasource attribute of 'DSN1'.
<cftransaction>
     <cfset myObjects = EntityLoad('someObject') />
</cftransaction>
<cftransaction>
     <cfquery name="test" datasource="DSN2">
           INSERT INTO ...
     </cfquery>
</cftransaction>
Whenever we hit the 2nd cftranaction block, we get the following error:
Message=A transaction cannot be started on more than one datasource.
This works in CF 9.0.1, but fails on CF 9.0.1 HF3, CF 9.0.2, and on CF 10.

javax.servlet.ServletRequest method isSecure() - "Returns a boolean indicating
whether this request was made using a secure channel, such as HTTPS."
Chris Scott wrote:
>
What's the best way to separate SSL andnon-SSL transactions in a single web app?Ie when the user logs in, the login formis submitted over an SSL connection, butfrom then on only certain pages/forms useSSL. If there's one JVM with the sessioninfo, how can we be sure what needs to besecured goes thru the SSL server?

Similar Messages

  • Is it possible to add value item and non stock item in one billing?

    Is it possible to add value item and non stock item in one billing?

    Hi,
    Yes,it is possible .Take example of service scenario,where material used in servicing and service charges(labour) can be billed in single invoice.
    Billing document type,Customer and other header data should be same.
    Reward points if useful
    Regards,
    Amrish Purohit

  • Difference between enjoy and non-enjoy transaction

    hi
    can anybody tell me the difference between enjoy transaction and non-enjoy transactions
    for example ME21N is enjoy transaction and ME21 isnt
    we can do a BDC for ME21 and not for ME21N
    basically, is it all transactions finishing with 'N' is enjoy transaction?

    Hi sia,
    1 can anybody tell me the difference between enjoy transaction and non-enjoy transactions
    The main difference, bcos we cannot do bdc is :
    a) The enjoy transactions are based on
       GUI Control (eg. Grid control based on class)
       which are instantiated/created
       on the front-end machine.
      Hence, they cannot be accessed directly by code,
      running on the application server.
      (instead their value is set on the front-end)
      Hence, we cannot do bdc on them.
    regards,
    amit m.

  • TO confirmation for picking: difference between RF and non RF transactions

    Hello,
    I am confirming one TO for picking in a outbound delivery process. My storage location is WM and HU managed and materials are batch managed.
    I noticed if I confirm TO through RF transaction (LM61), I have the following results per material on outbound delivery:
    one main item with 0 as delivery quantity
    several sub items (9000x), with as many lines as HUs confirmed. Qty is HU qty
    Now if I confirmed TO with non RF transaction (LT12), I do not have the same results:
    one main item with 0 as delivery quantity
    one or several sub items (9000x), with as many lines as batch confirmed (then potentially less sub items). Qty is aggregated per batch with several HUs.
    I need to use TO confirmation through RF.
    But this seems to have an impact on an inter company process where I'm using SPED functionality.
    Indeed, when I process post goods issue in the issuing plant, I have an automatic creation of the inbound delivery for the receiving plant (with same HUs).
    And then I have to proceed QM controls:
    - if I have confirmed picking TO with RF, inspection lots are created for each HU.
    - if I have confirmed picking TO w/o RF, inspection lots are created for each batch
    I need to manage inspection lots per batch and confirm TO with RF!
    I changed several QM settings on material, without success.
    Now I would like to know if this could be much more managed on LE side, specifically TO confirmation.
    Have you got an idea?
    Thank you

    I got a feed back out of this forum.
    The solution is to change delivery update settings in interface between WM and shipping, so that update delivery is not done after each confirmation item but after the the whole TO confirmation.

  • Retrieving spatial and non spatial data in one query

    Hello. I am having slight difficulties using JDBC to retrieve both spatial and non spatial data in the same query. The following is code from a sample program of mine that retrives spatial data from spatial tables.
    (In spatialquery geom is a geometry column and city is simply the name of the city):
    try
    Geometry geom = null;
    String database = "jdbc:oracle:thin:@" + m_host + ":" + m_port + ":" + m_sid;
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = (OracleConnection)DriverManager.getConnection(database, sUsername, sPassword);
    GeometryAdapter sdoAdapter =
    OraSpatialManager.getGeometryAdapter("SDO", "8.1.7", STRUCT.class, null, null, con);
    String spatialquery = "SELECT a1.geom, a1.city \n" +
    "FROM cities a1";
    Statement stmt = con.createStatement();
    OracleResultSet rs = (OracleResultSet) stmt.executeQuery(spatialquery);
    int i = 0;
    int noOfFeatures = 2;
    while (rs.next())
    for(i = 1; i <= noOfFeatures; i++)
    STRUCT dbObject = (STRUCT)rs.getObject(i);
    try
    geom = sdoAdapter.importGeometry(dbObject);
    catch(GeometryInputTypeNotSupportedException e)
    System.out.println("Input Type not supported");
    catch(InvalidGeometryException e)
    System.out.println("Invalid geometry");
    System.out.println(geom);
    }//end while loop
    This retrieves the sptial data fine, however when I attempt to retreive the non-spatial data I keep getting a "ClassCastException" error. I understand it is something to do with "STRUCT dbObject = (STRUCT)rs.getObject(i);" line. Can anyone tell me how to retrieve both spatial and non-spatial data in the one query using JDBC. I have tried nearly everything at this stage. Cheers joe

    Theresa A Radke
    Posts: 20
    OTN Member Since: Jul, 2001
    retrieving spatial and non spatial in same query. May 23, 2003 12:02 AM
    retrieving spatial and non spatial in same query.

  • Filter Data with Merged and non merged columns in one

    Hi there,
    I have an excel spreadsheet that has got merged and non merged columns. What I want to be able to do is, filter a row that has got merged column and non merged columns. But when I filter it only takes the first line, rather than the merged and non merged
    columns.
    With this data I have one merged column which spans 6 rows, and then in the same row I have 6 rows with different points in, and what I want to do is filter my list, but be able to see the merged coloum aswell as the 6 points.
    Any ideas are much appriciated.
    Cheers
    SAN

    You cannot filter across a row - so I have assumed that what you mean is that some cells in columns are merged to serve as the headers, and the data is in the came columns but in the row(s) below the header. If this is incorrect, ignore this post.
    For this example, I have assumed E to J are the column of data and merged cells, column K is free, and the first merged header is in row 1:
    In K1, enter
    =E1
    in K2, enter
    =IF(COUNTA(E2:J2)=1,E2,K1)
    and copy down. Then filter based on column K, and it will show the headers and the data for the selected header value.
    HTH, Bernie

  • Unicode and Non-Unicode Instances in one Transport Landscape

    We have a 4.7 landscape that includes a shared global development system supporting two regional landscapes.  The shared global development system is used for all ABAP/Workbench activity and for global customization used by both regional production systems.  The two regional landscapes include primarily three instances - Regional Configuration, Quality Assurance, and Production.  The transport landscape includes all systems with transport routes for global and regional.
    A conversion to unicode is also being planned for the global development and one regional landscape.  It is possible that we will not convert the other regional landscape due to pending discussions on consolidation.  This means one of the regional landscapes will be receiving global transports from a unicode-based system.  
    All information I've located implies no actual technical constraints.  Make sure you have the right R3trans versions, don't use non-Latin_1 languages, etc.  Basic caveats for a heterogenous environment ....
    Is anyone currently supporting a complete, productive landscape that includes unicode and non-unicode systems?   If so, any issues or problems encountered with transports across the systems?  (insignificant or significant)
    Information on actual experiences will be greatly appreciated ....
    Many thanks in advance.

    Hi Laura,
    Although i do not have the live / practical experience, but this is what i can share.
    I have been working on a Non-Unicode to Unicode conversion project. While we were in the discussion phase there was one such possibility of a scenario that part of the landscapes would remain non-unicode. So based on the research i did by reading and directly interacting with some excellent SPA consultants, i came to know there are absolutely no issues in transporting ABAP programs from a Unicode system to non-unicode system. In a Unicode system the ABAP code has already been checked and rectified for higher syntax checks and these are downward compatible with the ABAP code on lower ABAP versions and non-unicode systems. Hence i beleive there should not be any issues, however as i mentioned this is not from practical experience.
    Thanks.
    Chetan

  • Can we have xl and non-xl card in one chassis?

    Hello,
    In cisco document it is mentioned that to work as XL, all card in chassis must be XL (apart from scalable license requirement). Is it a chassis or vdc specific requirement?
    In below case we have create two vdcs in one n7k switch and installed the scalable license. Vdc 2 have both mixed ( XL and non-XL) module interfaces whereas VDC 3 have only XL module interfaces
    VDC 2-
    xl + non xl M-series module interfaces
    vdc 3 -
    only XL M-series module interfaces
    Can anyone please confirm if my below understanding is correct ?
    1. VDC 2 will work in Non-mode
    2. VDC 3 will work in XL mode.

    Hi babu,
    You can do this in one view it self.
    create a one attribute of type wdy_boolean.. in view context.
    Bind these attribute to read only property of table.. and  initially set the value to abap_true in wddoinit method.
    Then create one button say "EDIT" in view and create action for edit button.. in that action set the above attribute value to
    abap_false.
    so now, initially table will be in display mode, when you click on edit mode...it will become editable mode...
    Hope you got some idea.
    Regards
    Srinvias

  • Grouped and non-grouped SELECT in one query: help!

    look first at: Wrong result when I use CASE on this forum. Here I wanted to get the user who created and the user who solved a problem (Lets call it Validation Error from now on (VE)).
    The thing is: I already have a query who returns me lots of information about a VE.
    The query in the previous thread returned me additional info about that VE (that is the creating_user and the solving_user). The 1st query is no group select, but the second is! Still, I need to combine those two in one query.
    1st query:
    select ve.seq,
         max((case vah.action when 'C' then vah.ur_code else null end)) created,
         max((case vah.action when 'S' then vah.ur_code else null end)) solved
    from validation_errors ve
    left outer join ver_action_histories vah
    on (ve.seq = vah.ver_seq AND ve.log_date = vah.ver_log_date)
    where ve.seq = 12860687
    group by ve.seq;Result:
    seq       | created | solved
    12860687    Bob       Bobdont mind the "where"-clause, it is just to make the query go faster
    what I do is: I join the VE with the ver_action_histories table which contains the users and what action they performed on a VE.
    Now I just want to add that information to the results of an other query which also returns lots of information about a VE.
    2nd query:
    select ve.seq "VE seq", mh.seq "Counter seq",
              ve.log_date, ve.solve_date, ve.solved Status, ve.failure_code, ve.mde_code,
              mh.meter_type,
              iv.mr_type, iv.mr_reason,
              ih.mmr_seq
    from validation_errors ve
    inner join meter_histories mh
    on (ve.mhy_seq = mh.seq)
    left outer join index_values iv
    on (ve.mhy_seq = iv.mhy_seq AND ve.log_date =iv.timestamp)
    left outer join index_histories ih
    on (ve.mhy_seq = ih.ive_mhy_seq)
    where ve.seq = 8653936
    and sysdate >= mh.start_date
    and sysdate < mh.end_date;dont mind the "where" and "and"-clauses ... I hope the result of this query will simplify things ...
    Result:
    seq        |   counter seq | log_date | solved_date | status    | failure_code | ...
    12860687       4568          1-jan-06   2-jan-06      Solved      ABCNow the actual question: Is it possible to combine those queries in one query? I just want the results of the first query (creating_user and solving_user) to be added as columns to the second result. Performance is very important. Please tell me that its possible?
    Wanted Result:
    seq        |   counter seq | log_date | solved_date | status    | failure_code | created  | solved  | ...
    12860687       4568          1-jan-06   2-jan-06      Solved      ABC            Bob        BobIf anything I explained is unclear, please tell so I can try to explain it in an easier way.

    Try an in line view:
    select *
    from
    ( <your first query goes here > ) a
    , ( <your second query goes here > ) b
    where a.seq = b.seq

  • Mixing Drop Frame and Non Drop Frame In One Timeline

    We did a 7-camera multicam shoot of a rock concert over the weekend. Upon capturing we realized two of our camera operators were shooting Non Drop Frame mode while the remaining 5 were shooting drop frame. Can someone describe to me how I can eventually get all seven cameras into one timeline? I realize I might have to output/convert the non drop frame stuff. And since we're one the topic, I'd also like to ask (in case I find this out later) what I might do if we find a camera that shot 24P (29.97). Thanks in advance!
    G5 DUAL QUAD & 2 X Power PC G4 (Dual 533) & 550 TiBook   Mac OS X (10.2.x)  

    There is nothing different about the footage from the cameras...they all run at 29.97fps. The only difference is in the way the timecode NUMBERS are treated. Drop frame code simply loses 2 numbers (00 and 01) every minute except for every 10th minute. That's it. They all run at the same speed, so putting them all in the same timeline shouldn't cause any problems.
    Trying to make a multiclip based on timecode will be a problem, however. You will have to find a common frame on all and use that.
    Shane

  • Separating SSL and non-SSL transactions

    What's the best way to separate SSL andnon-SSL transactions in a single web app?Ie when the user logs in, the login formis submitted over an SSL connection, butfrom then on only certain pages/forms useSSL. If there's one JVM with the sessioninfo, how can we be sure what needs to besecured goes thru the SSL server?

    javax.servlet.ServletRequest method isSecure() - "Returns a boolean indicating
    whether this request was made using a secure channel, such as HTTPS."
    Chris Scott wrote:
    >
    What's the best way to separate SSL andnon-SSL transactions in a single web app?Ie when the user logs in, the login formis submitted over an SSL connection, butfrom then on only certain pages/forms useSSL. If there's one JVM with the sessioninfo, how can we be sure what needs to besecured goes thru the SSL server?

  • 1) I have multiple accounts at the iTunes store and none are now associated with my purchases...I think because passwords have been associated with various id's and I can't log in and access those purchases.  I want to get back to being able to use one i

    1) I have multiple accounts at the iTunes store and none are now associated with my purchases...I think because passwords have been associated with various id’s and I can’t log in and access those purchases.  I want to get back to being able to use one id and password and be able to access those purchases.
    2) When I upgraded my iPhone 3gs, to the latest version 5.0.1 (9A405), is when I noticed that i couldn’t update my applications.  There are two names/accounts on the phone and prior to the update there was just the one.  I have tried entering every conceivable password that I have ever used and get the incorrect password error every time. The apps on the iPhone are apparently associated with several/different accounts.  I just want to get everything back to the way it was.  One id and one password with purchases associated with just one account that can be updated on my computer as well as my iPhone.

    Hello sadiepix,
    The following article details several things that can be done to quell iTunes' constant need for authorization.
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/TS1389
    Cheers,
    Allen

  • How can I import a non-BC site into BC, using Dreamweaver CC, and then use it as one of my free sites?

    I am trying to import one of my non-BC sites into BC, using Dreamweaver CC, and then use it as one of my free WebBasics sites.
    When I try to create a new BC site in Dreamweaver CC, it creates a BC template site, and I have unsuccessfully tried to update the files on BC - it won't let me connect.
    If I import the site from my portal, I don't get the option of a free site - when I try to upgrade, I get the credit card form asking for payment.
    I feel like I'm running around in circles with one foot nailed to the floor.
    Any tips?

    Thank you for your quick reply and for clearing up my confusion.  I'm exporting the first section now.  I choose the smallest size, 3x4 but I'd prefer to go higher as this DVD was originally a VHS home movie.  I'm wondering if after three conversions (VHS,->DVD->MPEG) the resolution will be so poor as to not support a larger size frame?  If it can, what size should I select when I export? 

  • So I made a new account on my computer for my sister, and none of the music that I put on the computer from CD's i no longer have aren't on there, The purchansed ones are on there.

    So I made a new account on my computer for my sister, she had a lot of music on her ipod, i opened itunes for her and none of the music that I put on the computer from CD's, That I no longer have, are on there, The purchansed ones are on there though. But when i go back and log onto my account all of the music's there. Please help me.

    For music that you've purchased from Apple that are on your iPhone you should be able to copy to your computer's iTunes via File > Transfer Purchases. Also if you are in the US then you should be able to re-download past music purchases for free : http://support.apple.com/kb/HT2519
    For your own music that you've copied, then if you haven't got a backup on, for example, external drives or CDs/DVDs then you could see if any of the utilities mentioned in this old post still exist and work

  • I did a backup from all my files saved in old external hd to time capsule. After that double checked and recover one file from TC to mac air and it worked just perfect. Today went through TC to recover another file and none of them were there?

    I did a backup from all my files saved in old external hd to time capsule. After that double checked and recover one file from TC to mac air and it worked just perfect. Today went through TC to recover another file and none of them were there?Anybody has a clue what happened?

    renatocremonese wrote:
    I want to use it for backing up my Mac.
    It's good for that . . . 
    But also I don't keep all my stuff in my Mac.
    But not for that. 
    This older and not day-by-day usage files I want to store in the time machine.
    You can do that (see below), but how are you going to back them up?   If your only copies are on the TC, when (not if) it fails, you risk losing your only copy of the data.
    Is it possible to split TC in two partitions.
    No, but there are some workarounds, including making a fixed-size disk image on it to "reserve" some space.  See #Q3 in Using Time Machine with a Time Capsule.
    But you still won't have backups of the stuff you put there.
    You don't say what kind of Mac you have.  If it's a desktop model, just keep the external HD connected to it, and let Time Machine back it up along with your internal HD.
    However, it sounds like you may have a laptop, where that's not going to be convenient.  In that case, your best bet might be to copy the external HD to a disk image on the TC as above, then keep the HD in a safe place.
    To finish, when i enter the TC and go through the Time line how can I get a file from there and move it back to Mac hd.
    Via the "Star Wars" display, per #15 in Time Machine - Frequently Asked Questions.
    You might also want to review the Time Machine Tutorial, and perhaps browse the rest of the FAQ.

Maybe you are looking for

  • How to run two icalenders on the same computer?

    How can i run two separate icalenders on the same computer? I have my own icalender with work, home, etc, and it's totally full. I am now running an artists collective and will publish the collectives icalender on the web. I don't, however, want to m

  • Migo For GR using barcode data

    Hi All, I want to run MIGO or MIGO_GR for creating GR with respect to PO using input type in the format of bar code for recieved items against PO And MIGO sould run only for received items quantity only. Barcode contains following details when it dec

  • Is Oracle Dropping Forms?

    Hello, I have been to several Oracle demos where the Oracle reps stated that forms is being dropped and all new development should be in Java (JDeveloper). But, Oracle has announced that Forms 10.x is going to be released. Does anyone know of any off

  • The Customizable Components problem

    When I add a customizable components into my JSF page. Some code add in the "web.xml" automatic. <filter> <filter-name>mdsFilter</filter-name> <filter-class>oracle.mds.jsp.MDSJSPFilter</filter-class> </filter> <filter-mapping> <filter-name>mdsFilter<

  • Target Unreachable, 'FirstName' returned null

    hi when i try to navigate to next page using a button am geting this error Target Unreachable, 'FirstName' returned null,am in jdeveloper 11.1.1.6.0 <SkinFactoryImpl> <getSkin> Cannot find a skin that matches family portal and version v1.1. We will u