How to store the data instead of memoryengine to database when use XML file

Hi Experts,
I have doubt which is into XML to database data transfer.
While transferring the data from XML to database the tables will be store in memory for the xml files, my aim is instead of storing this in memory engine
is there any way to store the data in to the data base itself..
I am assuming when the data size increases say for example huge amount data, storing this much of data is big issue here right, so to avoid this is there any way to store
this data directly in the database level.
Please understand my requirement or else I have the good explanation about my requirement and please assist me how do this job....
Thx,
Sahadeva.

Hi Experts,
For this job I have applied the
jdbc:snps:xmll?f=/mydata/xml/file.xml&s=wrk_admin&dp_driver=oracle.jdbc.driver.OracleDriver&dp_url=jdbc:oracle:thin:@localhost:1521:xel&dp_user=wrk_admin&dp_password=bPyXS2eRXw8fWnKEmTYSEf&dp_schema=wrk_admin&dp_doc=Y
my schema name is wrk_admin
xml file name is mydata
jdbc driver: localhost:1521:xe
Encoded password: I have encoded the pwd from cmd:c:oracle\oracle_odi1\oracledi\agent\bin\encode wrk_admin
The above are the details I have applied to my ODI studio for creating the dataserver.
After applying this I got the following error.
Could you please correct me here if I am wrong...
jdbc:snps:xml?param1=value1&param2=value2&...
     at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
     at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
     at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1118)
     at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:420)
     at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.localConnect(SnpsDialogTestConnet.java:860)
     at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.jButtonTest_ActionPerformed(SnpsDialogTestConnet.java:806)
     at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.connEtoC1(SnpsDialogTestConnet.java:165)
     at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$1(SnpsDialogTestConnet.java:161)
Thx,
Sahadeva.

Similar Messages

  • How to store the datas in a .txt file in to a JTable in Java Swing

    Hi sir,
    Here i want to know how to store the data's of a .txt file
    in to a JTable in java swing.
    Where here the .txt file like for eg,spooler.txt is in the server and from there it will come to my client machine what i have to do is to take that .txt file and store the datas of the .txt file
    in a JTable.This is what i want.So pls. do help and provide the code as well.I will be thankful.Since i am involved in a project which involves this it is Urgent.
    Thanx,
    m.ananthu

    You can't just display data from a text file in a JTable. You have you understand the structure of the data so that you can parse the data and create a table model that can access the data in a row/column format. Here is an example of a simple program that does this:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=315172

  • How to name the data for each column I am acquiring in lvm file

    does anybody hint  How to name the data for each cloumn I am acquiring in lvm file.
    I want to tag or name ,eg temperature at top of a column which shows the temperature readings .I am writing into a labview measurement file.
    Thanks

    Use Set Waveform Attribute on each channel of your data.  Set an attribute with name "NI_ChannelName".  The value is a string containing the name you wish to call the channel.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How to store the data coming from network analyser into a text or excel file

    Hii everyone
    I'm using Agilent 8719ET network analyser and wish to store the data coming from netowrk analyser into a text file/ excel file.
    Presently I'm able to get the data on Labview graph using GPIB . Can anyone suggest how to go ahead after collect data sub vi. How can the data be stored into a file apart from showing on the graph?
    Attached is the vi for kind consideration...
    Looking for help
    Regards
    Rohit
    Attachments:
    Agilent 87XX Series Exceed Max Meas.vi ‏43 KB

    First let me say that your code really looks pretty good. The data handling could be made more efficient by calculating the number of datapoints that are going to be in the completed dataset and preallocating the entire array -- but depending upon your answer to my questions, the logic in the lower shift register may be going away - so we won't worry about that right now.
    The thing I need to know before addressing the data storage question is: Each time you call "Collect and Display Data.vi", how many element are in the array? Are you reading single data points, or a group of data? (BTW: if the answer to that question is obvious based on the way the other VIs are setup, I don't have the drivers so I can't tell what the setup values are.) Second, how fast does the loop iterate? Are we talking msec per loop?, seconds? fortnights?
    The issues here are two-fold: how much data? and how fast is it coming? The answer to these will tell you how to save the data.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to store the data of a file into an ArrayList?

    Hi! everyone.
    I want to know
    if I have a File, and the data in the file are type int, type String...
    And I have a ArrayList which is of type Question
    How do I store the data of that file into the ArrayList
    I tried to use the while loop(use the hasNextLine() to read the data line by line)
    But I cannot add data which are not of type Question to the ArrayList.
    Can you tell me what I should do, please?
    I also wonder that
    The data of the file are of many types, but when I try to read it with the nextLine(), the data all turn out to be of type String. Why?
    Thank you.
    Edited by: Terry001 on Apr 30, 2008 1:13 PM

    No, a line in the file is just part of a question
    The format of the file is like this:
    *<question type code>                    :     String*
    *<question point value>                    :     int*
    *<question category>                         :     String*
    *<question difficulty level>               :     int*
    *<question text>                              :     String*
    *<question correct answer>               :     String*
    *<optional question-specific data>     :     String*
    *<question terminator>                    :     String*
    And here is an example
    TF //TrueFalseQuestion
    5 //points value
    None //category
    3 //difficulty level
    The capital of the United States is Washington, D.C. //question text
    True // answer
    *** //quetion terminator
    I created an ArrayList in the Test class:
    private ArrayList<Question> questions; // Create inside constructor
        public Test (String name, String instr)
            testName = name;
            scoreEarned = 0;
            scorePossible = 0;
            instructions = instr;
            questions = new ArrayList<Question>(); //[MAX_NUMBER_OF_QUESTIONS];
        }And I tried to use the following method to store the data of the file to the ArrayList
    // This method loads a set of questions from a plain text file
        public void loadQuestionsFromFile(String fileName) throws FileNotFoundException
            try
                File fileReader = new File("input.txt");
                Scanner sc = new Scanner(fileReader);
                while (sc.hasNextLine())
                    // I don't know how to pass the data I got from the nextLine() method to the ArrayList because they are of different type
            catch (FileNotFoundException a)
                System.out.println(a);
        }    As all you said, I should create an Question object in the while loop
    Question temp = new Question ();But I have no idea how to pass the int and String to the Question object.
    Thank you

  • How to store the data coming from visa into file

    Hi ,
    I want to store the data into text file,which is coming from visa-read.
    I tried visa read to file ,but it's not working.
     Am new to labview plz help me out.
    Thanks in advance. 

    CSFGF wrote:
    Hi ,
    I want to store the data into text file,which is coming from visa-read.
    I tried visa read to file ,but it's not working.
     Am new to labview plz help me out.
    Thanks in advance. 
     Share the code you have so far with us so that we can check what's going wrong.

  • How to store the data captured from oscillosco​pe into the MS Access database table

    Hi All,
    In my application, I tried to save the data captured from SCOPE, but could store only 200 bytes. I've taken the Memo data type for the field in database. I want to store all data ( 4 channels) in one field & retrieve back and display on the XY Graph.
    Thanks in advance.
    Regards,
    Shrini

    kramish wrote:
    Im pretty sure that Access does support JDBCNo it does not. It supports ODBC.
    just doing a quick Google came up with some pages:
    http://blog.taragana.com/index.php/archive/access-microsoft-access-database-from-java-using-jdbc-odbc-bridge-sample-code/
    http://www.javaworld.com/javaworld/javaqa/2000-09/03-qa-0922-access.html
    Both articles explains how to use the jdbc-odbc bridge. I think I've seen a pure jdbc driver for access but it wasn't from Microsoft and it wasn't free.
    Kaj

  • How to store the data?

    Hi,
    I'm new here, new to java
    I have a java polymorphism question here, I have three classes,
    Bicycle.java
    public class Bicycle {
    public void printClassName() {
    System.out.println("Bicycle");
    MountainBike.java
    public class MountainBike{
    public void printClassName() {
    System.out.println("MountainBike");
    TestBike.java
    public class TestBike {
    public ststic void main(String[] args) {
    String type = "MountainBike";
    Bicycle bike = new "type()";
    bike.printClassName();
    definitely, the type() is not correct here, is there any way to init the bike with a dynamic class without using switch/case?
    Thanks.
    peter

    thanks, everyone, I got it finally.
    actually, MountainBike is a subclass of Bicycle, I had a typo here,
    my code something like that using java reflection,
    TestBike.java
    public class TestBike {
    public ststic void main(String[] args) {
    String type = "MountainBike";
    CLass c = Class.forName(type);
    Method m = c.getDeclareMethod("printClassName", null);
    Object i = c.getnewInstance();
    Object r = m.invoke(i, null);
    I never used newInstance before, don't know the performance, because I may have lots of newInstance called.
    sorry for the misleading of subject, actually, I want to ask another question to store data,
    I had more than 40 files, I'd like to create a big xml to store the info of these files, like
    <A>
    <column>
    <name>AC1</name>
    <size>4</size>
    <name>AC2</name>
    <size>3</size>
    </column>
    </A>
    <A2>
    <column>
    <name>A2C1</name>
    <size>4</size>
    <name>A2C2</name>
    <size>3</size>
    </column>
    </A2>
    because A, A2 is not a constant, I don't know how to parse the xml file with java, or I create seperate xml file like
    A.xml
    <column>
    <name>AC1</name>
    <size>4</size>
    <name>AC2</name>
    <size>3</size>
    </column>
    any idea?
    Thanks.
    peter

  • How to store the data read from excel using java code in Ms access database

    Hi. I wrote a code to read the data from excel. May i know how can i save it to Ms access database using java. Also i have many excels. So i should not connect the database using DSN. So is there any other way to achieve this?

    kramish wrote:
    Im pretty sure that Access does support JDBCNo it does not. It supports ODBC.
    just doing a quick Google came up with some pages:
    http://blog.taragana.com/index.php/archive/access-microsoft-access-database-from-java-using-jdbc-odbc-bridge-sample-code/
    http://www.javaworld.com/javaworld/javaqa/2000-09/03-qa-0922-access.html
    Both articles explains how to use the jdbc-odbc bridge. I think I've seen a pure jdbc driver for access but it wasn't from Microsoft and it wasn't free.
    Kaj

  • How to store the data, which should accessed by all the users

    I want to store some data into some variables, which has to be accessed by all the users on the webserver. i think it has to be stored in the application memory but if any body gives the code it will be clear to me .
    Thank Q
    K.Srinivas

    if it is for the same webapplication you can keep it in static attributes in a class which can be loaded at the time of server startup

  • How to retrieve the data stored in BLOB field in MySql using java?

    Hi all!
    i stored a file content into the MySql database in BLOB field.
    and i now want retrieve the data......
    Please help me out in doing the task...........
    Thanx...........

    Thrisha..
    When u get a result set u can have rs.getBlob() function that will give u a BLOB object that can be captured using Blob interface of javax.sql package...
    Blob interface has getBinaryStream, getBytes etc as functions...
    i think i cleared u
    regards
    Shanu

  • How to upgrade the spa122 firwmare to 1.2.1(004) using configurtion file

    Hello, 
    Highly appreciate if anyone can let me know how to define the upgrade rule in configruation file to upgrade the firmware to 1.2.1(004) -
    is it ok if I define it in upgrade rule as below
    <Upgrade_Rule>  (!1.2.1(004))?http://10.1.1.1/SPA112_SPA122_1.2.1_FW.bin  </Upgrade_Rule>
    if not, what is the correct one
    Regards,
    Denning               

    Yes, it's old legacy syntax. The recommended syntax is:
    ...Rule> ($SWVER != 1.2.1(004))?http ...
    Unfortunately, such type of conditional doesn't work reliable most times for me (althougth I didn't tested the particular one from your example).
    I don't know why.
    I suspect, that firmware numbers like 7.4.9c or 7.5.2b may be source of problem - Cisco's Provisioning guide claim that version numbers take form of three  non-negative numbers separated by periods followed by optional  alphanuberic string in parthenses. It's not true for some released versions. May be, the comparsion logic doesn't handle those broken version numbers correctly.

  • How to store the data typed in flash to .txt file?

    Hi all,
    I have a query to all, I have created a notepad in flash, if I typed something in that and save that file as .txt format in my local drive. So, any help on the same....
    Thanks in advance
    Santhosh Kumar M

    i don't think this is complicated enough for anyone to write a tutorial.  but i could be wrong about that.
    you have 2 steps:
    1.  use the urlloader class to send data to a server-side php script that saves your data to a .txt file
    2.  use the filereference class to download that file.
    they're both pretty easy if you use the flash help files to start you off.

  • Re: how to store the data from the Buffer as a Jpeg files?

    FrameGrabbingControl fgc = (FrameGrabbingControl) player.getControl("javax.media.control.FrameGrabbingControl");
    Buffer buf = fgc.grabFrame();
    BufferToImage bti=new BufferToImage(new VideoFormat(VideFormat.JPEG););
    Image img = bti.createImage( buf );

    Is there a simple way to set up a frame callback that presents each frame of the callback in the standard java image class, such that it can be used directly with the Java 2D API, and also the Java Advanced Imaging API?

  • How to get the erroe message, if i run java program using .bat file

    Hi,
    I have a java file which accepts two inputs as command line argument. I want to make this pgm a tool. So have created a *.bat file which has the following command
    java myprogram arg1 arg2
    I'm gonna share this program with others. So i'll keep the class file and the .bat file in a commaon folder. All the users have to do is, edit the .bat file to give his/her args and run the .bat file. The pbm is, if the user input is not valid, I have put displays in the pgm to show it.
    But if i run thru .bat, I'm not getting the error message or I don't know where it is getting displayed.
    Can anyone help me with this ?
    Thanks,
    Mary

    When i run from the console, I can see the output.
    But, when i double click on the .bat file from the
    folder, it runs fine and i couldn't see the output.
    nullThat's because the error message is printed, and then the console is closed. The message is there but you need to read really really fast :)

Maybe you are looking for

  • Problem joining Verizon Jetpack MiFi network

    Since I upgraded my MacBook Pro to 10.9.4, I can't join my Verizon Jetpack MiFi network.  This is a mobile hotspot device.  I can connect to it from my Android phone with no problem, and I had no problems connecting to it prior to the Mac OS upgrade.

  • How much for a replacement ipod 5th generation battery?

    Just want to know how much is the replacement battery for the iPod touch?

  • Sky HD + shut down

    About every hour, the Sky HD + box turns itself off and about 3 seconds later turns itself on. Not the end of the world, but irritating, evertheless! This is a new problem. Updated software to no effect. Any suggestions?

  • How to create a table using a variable or flat file ?

    Hello All, I want to create a table in which column names and data type will be read from a flat file or a variable. How can i do this ? Any suggestations are appricaible..... Regards, Ashish

  • Dep start date need to be changed it is grayed out ,went to screen layout.

    Hi I wanted to change the dep start date in asset master data,but in DEp area tab the dep start date is grayed out. I went to screen layout of asset master dep area..but where is the setting to change it to change mode.It has only the Req opt etc fie