How to use example of directory 'JTA'

          Hi, I want to know how to use the example of the directory 'JTA'
          uinder the directory of 'JTA' under tthe directory $WL/samples/example/jta
          in order to test the JTA serveice of webloig server ( Futhermore,
          Can anyone can tell me how to config the JTA of weblogic server
          Thanks;
          chris
          

An Expression is just part of an SQL statement, so you need a query to convert something to SQL. Create a ReadObjectQuery or ReadAllQuery with the Expression, and call,
query.prepareCall(session, new DatabaseRecord());
String sql = query.getSQLString();
(you could also use getTranslatedSQLString(Record) to translate parameter values).
James : http://www.eclipselink.org

Similar Messages

  • How to use example formulas in a customized spreadsheet

    I like the set up and formulas used in the example spreadsheet for Checking in Numbers 09. However, I would like to remove the data that is there and replace with my own data without losing the formulas used. How can I do that?
    Also, I would like to add a column for "Withdrawals" and change the name of "Amount" to "Deposit" and have the "Balance" column to continue reflecting the correct balance. I do know how to add the extra column and how to change the name of "Amount"; what I do not know is how to get "Balance" to reflect the correct amount. How can I do it?
    Thanks for your help and suggestions.
    Vernon

    You can delete all the data in columns A, B, and C. Just don't delete any cells that have formulas in them (column F) and don't delete the pop-ups in column D. You can also rename "Amount" to "Deposit" without affecting anything.
    If you add a column for withdrawals, you will have to modify the formula in the balance column. Here is one way to do it:
    Add a column to the left of Deposit (currently called Amount), this new "withdrawal" column will become column E and Deposit will become column F.
    Copy the formula below and paste it into cells G3 through G14 (all of the cells from G3 to the bottom of the table):
    =$G$1-SUM(OFFSET(Balance 101,3-ROW(),-2,ROW()-2))+SUM(OFFSET(Balance 101,3-ROW(),-1,ROW()-2))
    When you enter amounts in the Deposit or Withdrawal column enter positive amounts, not negative ones like those currently in the table.
    What I don't know is how this will work with a downloaded file from your bank. It may not work with the additional column and with all positive numbers.
    EDIT: If you already read this post, I have since removed the stuff about modifying the popup to include a "deposit" category.. It already has one.
    Message was edited by: Badunit

  • How to use same credentials in third party web page/app/system as in Office 365 and Share Point?

    I want my users to be able to login with same username/password in my reporting system as in they use for their email, office 365 and share point.
    Since the web is in PHP i found some ideas that use CURL to get the cookie but i['m wondering if there is another way to do that?
    All API show cases and docs that i looked are so confusing that i can't even figure out if it is possible at all and how. It would be great to be able to reset passwords through my system and also to create new users. So that i have all centralized in one
    place.

    Hi,
    Here is an article which describes how to create and configure a single tenant PHP application that uses the single sign-on capabilities of Azure Active Directory.
    http://azure.microsoft.com/en-us/documentation/articles/active-directory-php-web-single-sign-on/
    A sample that shows how to use Azure Active Directory and single sign-on for PHP web sites is available at
    https://github.com/WindowsAzure/azure-sdk-for-php-samples/tree/master/WAAD.WebSSO.PHP 
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Virtual directory mapping: how to use variable in local-path element

    Hi all
    We are using a virtual-directory-mapping declaration in the deployment descriptor
    for our web application to load jsp'a and other files from the file system.
    This declaration looks like this:
    <virtual-directory-mapping>
    <local-path>c:/views/jsp</local-path>
    <url-pattern>*.jsp</url-pattern>
    </virtual-directory-mapping>
    Here is my question:
    Is there a possibility to use a variable in the local-path element? Something
    like:
    <virtual-directory-mapping>
    <local-path>%PATH_TO_JSP%</local-path>
    <url-pattern>*.jsp</url-pattern>
    </virtual-directory-mapping>
    If yes, how does it look like? My example above didn't work.
    If no, is there another way to do that?
    Thanks in advance
    Regards
    Iwan

    posting to servlets newsgroup
    "Iwan Bussmann" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hi all
    We are using a virtual-directory-mapping declaration in the deploymentdescriptor
    for our web application to load jsp'a and other files from the filesystem.
    This declaration looks like this:
    <virtual-directory-mapping>
    <local-path>c:/views/jsp</local-path>
    <url-pattern>*.jsp</url-pattern>
    </virtual-directory-mapping>
    Here is my question:
    Is there a possibility to use a variable in the local-path element?Something
    like:
    <virtual-directory-mapping>
    <local-path>%PATH_TO_JSP%</local-path>
    <url-pattern>*.jsp</url-pattern>
    </virtual-directory-mapping>
    If yes, how does it look like? My example above didn't work.
    If no, is there another way to do that?
    Thanks in advance
    Regards
    Iwan

  • I managed to transfer the music from 1 pc to 1 other pc (to be played by iTunes). Bit didn't fixe the transfer of the meta data (for example the rating). Does anyone know how to use your old playlists, etc..(= meta data) on the other PC? So, please help!

    I managed to transfer the music from 1 pc to 1 other pc (it is played perfectly on the other PC (Windows 7- pc) by the newly downloaded and installed iTunes, version 10.6.1.7). But I didn’t fix the transfer of the meta data (for example the rating). Does anyone know how to use (or import) your old playlists, etc..(= meta data) on the other PC? So, short: how to migrate the meta data from one pc to an other pc?
    It's a pity that it seems not to be possible to import on the new pc e.g. the ratings!!!
    I don't want to start again with rating my (beautiful classical) music!
    Thanks, from Amsterdam, NL

    Did you do the move via Home Sharing, astro?
    If so, perhaps try the instructions from the following post:
    Re: i transfered itunes to my pc playlists did not go

  • How to set the target directory from source filename using adaptor module.

    Hi,
    How im using a logical bypass scenario.I have to set the target directory using the sorce filename.There is no chance of using a Java UDF as my scenario does not have a Mapping(as it is a Bypass Scenario).The only option that i got is to use a Adaptor module.Can anyone help  me this.
    Thanks,
    Bhargav

    Hi,
    See this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/61e1407e858031e10000000a1550b0/content.htm
    hope it helps.
    Regards,
    Akshay Jamgaonkar.
    Reward points if find useful.

  • Help!! How to install and use Sun ONE Directory Server Resource Kit 5.2

    Hi ! Friend:
    I have some problem on install and use Sun ONE Directory Server Resource Kit 5.2, when I execute "java DSRK", afterwards something like this : com.iplanet.install.until.wbResource::gerstring:resource bundle"locale.resources.S1DSRKResource" not found appeared in the window ,that's why?
    Meanwhile ,can you give some data about it on how to use it ?
    Thank you !

    You should be aware of the following characteristics of your directory when using this tool:
    Size and number of entries.
    Directory structure and access permissions.
    Virtual attributes, class of service, and indexing.
    Usage, types of access, and access patterns.
    Post your error messages completely.
    Thanks
    --Britto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 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.

  • Install Sun ONE Directory Server 5,2 & how to use it for authenticate user

    Good afternoon, Excuse, are newbie in the scope I am learning and putting desire to him, this in my situation I am trying to install Sun ONE Directory Server 5,2 since I understand that this it is application LDAP for Solaris, ok I want to install it to authenticate user against the system, that is to say, to be able to acces the server entering with a created user from the data base of LDAP and make think user that his created in the system. But the documentation that I finds indicates the installation of Sun ONE Directory Server 5,2 but it not clearly about how to use it for authentication. Some one have any manual step by step of Sun ONE Directory Server 5,2 installation and how to make it for authentication systems users.
    I read the forum seeking for anwser and i get confuse
    Thanks for the help and sorry for any inconvenient
    Message was edited by:
    Aku_28
    Message was edited by:
    Aku_28

    I think that I found the Sun endorsed book locations for using LDAP accounts that don't use authentication besides "crypt". I now can use an account with a "ssha" password. It can be more than 8 characters long.
    Chapter 14 System Administration Guide: Naming and Directory Services
    Read page 201 which is the pam.conf file pam_ldap setups. I edited my "/etc/pam.conf" file to reflect this
    Chapter 7 Directory Server 5.2 2005Q4 - Administration Guide
    Read page 316-318 which has a graphical technique to specify password syntax. I set it up and then tried the password by running "su - brahms". It now requires a longer password than 8 characters and it is set up to use "ssha" for that UID entry "brahms".

  • How to use Transport Delay VI? Please show me some example.

    I want to delay signal with my selection delay time(example:second,period,number of sample). I saw in LabVIEW have,it have three delay function are 1.Transport Delay 2.Delay Value 3.Unit Delay .Now I take look for Transport Delay VI.I think this function can delay signal with specific time which I want.I tested it by use it to delay sine wavefrom(number of sample=1000,sampling rate =1000Hz),for Transport Delay,I set initize=TRUE,Delay=500. I think the result may sine waveform which same shape of original sine waveform but delay 500 sample after it but the result different from my think. Everyone please recommend me,How to use it?Show me some example.Or please tell me how to delay signal.If can not post picture on the board,mail to me.
    [email protected]
    [email protected]

    Hi TOTSAPORN!
    It sounds like you are trying to alter the timing of a waveform. What I would suggest to you is to look at the Waveform palette to explore the different ways of manipulating the waveform datatype. Also, I put together a small example (written in LV 7.1) to delay the waveform graph by 500 samples (500*dt seconds).
    Hope this helps!
    Travis H.
    National Instruments
    Travis H.
    LabVIEW R&D
    National Instruments
    Attachments:
    Waveform Offset.vi ‏64 KB

  • OTT use and example .How to use it??

    Hello
    Could anyone write me how to use OTT step by step?
    When I use ott userid=scott/tiger intype=demoin.typ outtype=demoout.typ code=cpp
    hfile=demo.h cppfile=demo.cpp mapfile=RegisterMappings.cpp I get an error:
    Error in OTT stub: invalid parameter
    I can not manage with this problem.
    Could anyone help??
    Where should also files ontype and outtype be (in filesystem) and what should be their amounts?
    I have seen OCCI userguide for OTT but i can not manage with it.
    I can not also find any description for using OTT with an example step by step
    Best regards

    Hello
    Well, when I set up Oracle_Home I can not then connect to my database.
    Could You describe step by step how You use OTT,please?
    I just need an example, a kind of tutorial
    Best regards.
    Marcin
    [email protected]

  • How to use SPNegoLoginModule with a corporate directory

    Hi!
    I'm trying to use the kerberos login module for the integrated windows authentication. I found in help.sap.com how to set up the kerberos for an ADS data source. But this works only when using the ADS as unique data source with the windows account of the user as uniquename.
    Our portal currently uses the corporate directory (a ldap system) for authentication. The corporate directory is also defined as data source in the dataSouceConfiguration.xml file.
    And now we should implement the windows authentication via kerberos in additon to this. Kerberos uses a windows domain controler for authentication.
    My problem is that the kerberos principal name used for authentication (=the windows account) is not available in our corporate directory.
    However, there is a unique attribute available in both, in the domain controller and in the corporate directory which could be used for mapping. But I do not know how to do this.
    I thought that I have to set up the windows domain controler as a second data source in the dataSourceConfiguration.xml file. But I'm not sure about this.
    Have someone experience how to do this? Hints are very welcome!
    Thanks
    Christian

    I found a solution for this problem, I don't know it's best practice but here it is :
        public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException
            String errortext;
            Pattern pat=Pattern.compile(".+@.+\\.[a-z]+");
            Matcher m= pat.matcher(value.toString());
            if(!m.find())
                ResourceBundle bundle =
                ResourceBundle.getBundle("be.vdab.resources.ApplicationResources", context.getViewRoot().getLocale());
                errortext = bundle.getString("erroremail");
                FacesMessage message = new FacesMessage(errortext);
                throw new ValidatorException(message);
        }

  • Oracle ADF RichSelenium class - any examples on how to use this?

    Digging around the net and found that there is a class for Selenium testing ADF Rich components, namely oracle.adf.view.rich.automation.selenium.RichSelenium located in oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-automation-11.jar.
    I've been searching for half a day now and cannot find any example code on how to use RichSelenium class for the life of me.
    There are examples of using Selenium with ADF (http://www.oracle.com/technetwork/articles/adf/part6-094560.html) but not using RichSelenium.
    Any lead or information would be highly appreciated, thanks in advance.

    OK figured out how to start using this RichSelenium class and thought I'd post my findings on this thread for the sake of anyone else who wants to know. Here's my code:
    -- START OF CODE
    package my.richselenium.test;
    import java.util.concurrent.TimeUnit;
    import org.junit.After;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.WebDriverCommandProcessor;
    import org.openqa.selenium.firefox.FirefoxDriver;
    * Base test class for handling common functionality across tests - setting up web driver, retrieving URL and cleaning
    * up and resources.
    public class myTest {
    public void runTest() {
    // Create WebDriver
    WebDriver myWebDriver = new FirefoxDriver();
    // Setup Web Driver Command Processor
    WebDriverCommandProcessor wdcp = new WebDriverCommandProcessor("http://www.google.com", this.driver);
    // Instantiate RichSelenium class object
    RichSelenium rs = new RichSelenium(wdcp);
    // Load specific URL
    rs.open("http://www.oracle.com");
    // Let's do some RichSelenium specific processing
    String [] someArray = rs.getAllFields();
    List<String> someList = Arrays.asList(someArray);
    // for loop advance
    for (String temp : someList ) {
    System.out.println(temp);
    rs.close();
    -- END OF CODE
    -----------------------------------------------------------------------------------------------------------------------------------------

  • Need an example how to use SCAN_Start with a callback function

    I would appreciate if someone helps me with a working example of how to use SCAN_Start with a callback function. I need just a basic functionality: to specify a channel list (with gains probably), to start a data acquisition task and to receive data buffers utilizing a callback function. t this time whatever I was trying to do caused computer hangups, though it is supposed to be one of the most regular tasks to perform.
    Thank you in advance,
    Mike

    Hello Mike,
    Thank you for contacting National Instruments.
    Attached is an example project which uses a callback function to begin analog acquisition (AI) by calling SCAN_Start. This project acquires from the first 2 channels on your DAQ device. Make sure to modify the device number in the code to match the number of your card.
    Let me know if you have any further questions...
    Sincerely,
    Sean C.
    Applcications Engineer
    National Instruments
    Attachments:
    Acquire_multichannel_61xx.zip ‏11 KB

  • How to authenticate Username and password in MVC using Azure Active Directory

    Need a sample application where in need to authenticate user entered logindetails using Azure Active directory.

    Hi,
    Kindly go through beneath article which helpful to understand the procedure.
    How to Authenticate Web Users with Azure Active Directory Access Control
    http://azure.microsoft.com/en-in/documentation/articles/active-directory-dotnet-how-to-use-access-control/
    Developing ASP.NET Apps with Windows Azure Active Directory
    http://www.asp.net/identity/overview/getting-started/developing-aspnet-apps-with-windows-azure-active-directory
    Adding Sign-On to Your Web Application Using Azure AD
    https://msdn.microsoft.com/en-us/library/azure/dn151790.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • Dual Monitors on Mac Mini Late 2014 not working on Dell S2340Lc

    Hey guys, Got a mac mini and using it mainly for work. Working for an ISP and no one has used macs and I've opted to be the poor sucker that gets to deal with old people that don't know how to mac very goodly. I have two Dell S2340Lc monitors. I have

  • Call SAP WebService in Excel

    Hello, I want to call a WebService from a SAP-System in Excel. I created this WebService with the WebService Creation Wizard by using a RFC function. The WebService expects two parameters of string and it delivers a table. I'm using the MS SOAP Type

  • Issue in Oracle Business Intelligence Mobile

    hi am kind of new with this app , i create the tables and repository .. now in the login page in the application everytime i try to connect with the server to locate my repository i can't .. i get error (( server authenication failed  error [-1001 ]

  • Transfer Requirement how to check changes

    Hi Experts I would like to see what change and by which user was done manually in the Transfer requirement. Any ideas where I can see it? Best regards Mariusz

  • Account merge not happening

    SO my initial purchse for your reward program got applied to another rewards account. I have called for times over the last 4 weeks with the same empty promise given ,, give a couple days , specialists are working on it. Still ZERO has happened. Is t