About update a blob via JDBC

I want to update a blob value via jdbc.
The following is my program(part)
1)String sqlstr = "SELECT * FROM test WHERE vchar='anyone' ";
2)ResultSet rset = stmt.executeQuery(sqlstr);
3)BLOB blob = ((OracleResultSet)rset).getBLOB(2);
4)OutputStream outstream = blob.getBinaryOutputStream();
when excute the line
#5)outstream.write(...);
A IOException throwed. And said "row containing the LOB value is not locked"
So I change the sqlstr value as
sqlstr = "SELECT * FROM test WHERE vchar='B' FOR UPDATE";
Then ,when I restart the programe,it stoped at the line 2) and nothing tell me.
Just one thing I can do is ctrl-c to corrupt
it.
Can you tell me how to resolve it.
thank you.
null

Please take a look at this: http://technet.oracle.com/sample_code/tech/java/sqlj_jdbc/sample_code_index.htm
You must do
select ... for update;
even before you manipulate LOB's.

Similar Messages

  • Should I be able to update a Blob via a ResultSet? (11g driver exception)

    This code fails at the last line:
    stmt = conn.createStatement();
    String tableName = "TBL_esun01_PPP";
    stmt.execute("drop table TBL_esun01_PPP");
    stmt.execute("create table TBL_esun01_PPP (sid int not null primary key, blob_col blob)");
    stmt.close();
    //insert test data
    String blobContent = "WLS JDBC4 test for blob.";
    String blobContentUpdate = "WLS JDBC4 test for UpdateBlob. [Updated]";
    ByteArrayInputStream inputStream = new ByteArrayInputStream(blobContent.getBytes());
    ByteArrayInputStream inputStreamUpdate = new ByteArrayInputStream(blobContentUpdate.getByte
    s());
    String insertSql = "INSERT INTO " + tableName + " VALUES (?, ?)";
    PreparedStatement pstmt = conn.prepareStatement(insertSql);
    int key = 1;
    pstmt.setInt(1, key);
    pstmt.setBlob(2, inputStream);
    pstmt.execute();
    pstmt.close();
    inputStream.close();
    //update data
    String querySql1 = "SELECT sid FROM " + tableName;
    String querySql2 = "SELECT sid, blob_col FROM " + tableName;
    Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    // we can get updatable resultset in the same way without lob object.
    // following updating can succeed.
    System.out.println("Get updatable resultset using: "+querySql1);
    ResultSet rs = stmt.executeQuery(querySql1);
    rs.next();
    rs.updateInt(1, 2);
    rs.updateRow();
    rs.close();
    inputStreamUpdate.close();
    System.out.println("Get updatable resultset using: "+querySql2);
    try {// failed to get updatable resultset
    rs = stmt.executeQuery(querySql2);
    rs.next();
    rs.updateBlob(2, inputStreamUpdate); // Fails here...
    The driver is 11.1.0.6.0-Production
    The DBMS is Oracle Database 11g Release 11.1.0.0.0 - Production
    Get updatable resultset using: SELECT sid FROM TBL_esun01_PPP
    Get updatable resultset using: SELECT sid, blob_col FROM TBL_esun01_PPP
    We can not get updatable Resultset. Exception message:
    java.sql.SQLException: Invalid operation for read only resultset: updateBlob
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
    at oracle.jdbc.driver.BaseResultSet.updateBlob(BaseResultSet.java:506)
    at TestUpdatableRS.test(TestUpdatableRS.java:84)
    at TestUpdatableRS.main(TestUpdatableRS.java:112)
    thanks,
    Joe

    Joe,
    a) I could not find updateBlob(int, java.io.InputStream). It is updateBlob(int, java.sql.Blob).
    b) I tried the below test and it worked fine, I am using the latest drivers.
    CREATE TABLE BLOB_TABLE (C1 NUMBER, C2 BLOB);
    INSERT INTO BLOB_TABLE VALUES(55, '101011');
    public static void test2(Connection conn) throws SQLException {
    System.out.println("test -");
    PreparedStatement pstmt = null;
    ResultSet rs = null;
    try {
    String query = "select c1, c2 FROM blob_table";
    pstmt = conn.prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    rs = pstmt.executeQuery();
    SQLWarning x = pstmt.getWarnings();
    if (x != null)
    System.out.println(x.getMessage());
    x = rs.getWarnings();
    if (x != null)
    System.out.println(x.getMessage());
    BLOB blob = BLOB.createTemporary(conn, true, BLOB.DURATION_SESSION);
    byte[] b = new byte[50];
    java.util.Arrays.fill(b, (byte) 53);
    blob.putBytes(1L, b);
    if (rs.next()) {
    rs.updateInt(1, 88);
    rs.updateBlob(2, blob);
    rs.updateRow();
    x = rs.getWarnings();
    if (x != null) {
    System.out.println(x.getMessage());
    } catch (SQLException ea) {
    System.out.println(ea);
    } finally {
    if (rs != null) {
    rs.close();
    if (pstmt != null) {
    pstmt.close();
    System.out.println("test - done");
    } // end of test2(Connection);
    ==
    Ashok

  • Lost index stats in Ora 8.1.6 Tables when selecting via jdbc

    Hi,
    i'm using JBuilder8 and Kylix2 on a Linux machine with Oracle oci drivers of client 8.1.7.
    The connect through JB8 jdbc via DBPilot is succesful and shows the tables of the db.
    After executing a select on any table the index stats of this table are lost.
    Kylix works fine without this failure.
    Thanks for any comments to this problem
    Jens

    Well, it's not the PL/SQL code that is causing a problem. Everything worked fine for many months. Then one day (without any changes in the environment or code) the update of a table from a java application (via JDBC) fails. The same update done directly on the DB with SQL Plus still succeeds!
    This led us to think that something is wrong with the JDBC connection (which was up for several months). Maybe a memory corruption?
    Anyone that experienced similar problems with JDBC?

  • Update key mapping via web service

    Hi ,
    I have a question about edit key mapping. The problem is that we create vendors in MDM and syndicate them to different ERP systems. To decide which system a new vendor/changes must be send to, I need the Edit Key Mapping, but the users do not want to enter this information manually and I do not see how I can create key mapping automatically.
    We are working on a new solution where vendors are entered in sharepoint and updated in MDM via web services. I would like to know if one of you know if key mapping can be maintained via a web service.
    Kind regards
    Jonna

    Hello,
    You may use the document,
    [MDM PI via Web Service Key Mapping|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0812356-e62f-2c10-76aa-9a02d038ba81]
    Hope this helps your scenario
    Regards,
    Abhishek

  • How can i put a file into blob using jdbc !?

    Hi
    i tried to put a file into blob , but got a problem.....
    My environment:windows 2000pro,JBuilder 5.0 enterprise,oracle 8.1.6,(not install oracle jdbc driver )
    a part of program(my program is very uglily,if anyone want,later i paste it ba....~_~)
    //Statement stmt2=null;
    //Resultset rs2;
    //opa1 is the blob data
    void saveBlobTableToDisk(Connection con) {
    try {
    stmt2=con.createStatement();
    sqlStr2="SELECT * FROM emp3 where id=1004";
    rs2=stmt2.executeQuery(sqlStr2);
    while (rs2.next()) {
    Blob aBlob=rs2.getBlob("opa1");
    i got the exception :
    " null
    java.lang.UnsupportedOperationException
         at sun.jdbc.odbc.JdbcOdbcResultSet.getBlob(JdbcOdbcResultSet.java:4174)
         at test3.Frame1.saveBlobTableToDisk(Frame1.java:48)
         at test3.Frame1.<init>(Frame1.java:26)
         at test3.Application1.<init>(Application1.java:5)
         at test3.Application1.main(Application1.java:8) "
    and the windows pop up a messagebox said that(about) my memory "0x09af007f" could not read, error in javaw.exe .
    Later i used (ResultSet)getBinaryStream() to solve it. but getBinaryStream() only return a InputStream,so that i can make blob to a file,but i can't make a file to blob using jdbc.....
    I am very stupid that installing sun java, oracle jdbc driver etc....(because i must set a lot of thing such as classpath,java_home etc), Can i only use JBuilder to do that ?
    Or i must install oracle jdbc driver ?
    Thanks.
    D.T.

    My guess here is that Sun's JDBC-ODBC bridge doesn't handle the BLOB datatype. Most ODBC drivers don't support that datatype, so I wouldn't expect the bridge to.
    Is there a reason that you can't use the Oracle driver?
    Justin

  • Problem with update of BLOB field in a table with compound primary key

    Hi,
    I've been developing an application in Application Express 3.1.2.00.02 that includes processing of BLOB data in one of the tables (ZPRAVA). Unfortunately, I've come across a strange behaviour when I tried to update value in a BLOB field for an existing record via a DML form process. Insert of a new record including the BLOB value is OK (the binary file uploads upon submiting the form without any problems). I haven't changed the DML process in any way. The form update process used to work perfectly before I'd included the BLOB field. Since than, I keep on getting this error when trying to update the BLOB field:
    ORA-20505: Error in DML: p_rowid=3, p_alt_rowid=ID, p_rowid2=CZ000001, p_alt_rowid2=PR_ID. ORA-01008: not all variables bound
    Unable to process row of table ZPRAVA.
    OK
    Some time ago, I've already created another application where I used similar form that operated on a BLOB field without problems. The only, but maybe very important, difference between both the cases is that the first sucessfull one is based on a table with a standard one-column primary key whereas the second (problematic one) uses a table with compound (composite) two-column PK (two varchar2 fields: ID, PR_ID).
    In both cases, I've followed this tutorial: [http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm]).
    Can anybody confirm my suspicion that Automatic Row Processing (DML) can be used for updating BLOB fields within tables with only single-column primary keys?
    Thanks in advance.
    Zdenek

    Is there a chance that the bug will be included in the next patch?No, this fix will be in the next full version, 3.2.
    Scott

  • Problem with ojdbc14.jar (oracle10g Rel. 2 driver) in updating a BLOB field

    Hello All,
    Our web application uses oracle10g Release 2 jdbc driver with websphere 5.1.1.4 and oracle 9i. When it tries to update a BLOB field in the database updation is successful but it is updating that field with a null value. So rest of our application fails as this value is becoming null. We use an entity bean to update this table and websphere uses a prepared statement to update this table. Just before setting this BLOB field using setBinaryStream() on prepared statement I am printing to see whether it is null or not as shown in the code snippet below. And it is printing it correctly as non null. But after execution of the prepared statement some how the value stored in database is null.
    Is this a known issue with this driver? Does any one know work around or a solution to this? We have 3 BLOB fields in that table. Is that a problem? If we separate these BLOB fields into separate tables will the problem be solved? Any input on this is very much appreciated.
    // For column ORIGINAL_CONTENT
    byte[] tempbyteArray;
    tempbyteArray=(byte[])inputRecord.get(25);
    if (tempbyteArray == null) {
    System.out.println("DqPageBeanFunctionSet_f9c724af: tempbyteArray NULLLLLLL");
    } else {
    System.out.println("DqPageBeanFunctionSet_f9c724af: orig tempbyteArray length: " + tempbyteArray.length);
    if(tempbyteArray != null) {
    pstmt.setBinaryStream(25,new java.io.ByteArrayInputStream(tempbyteArray),tempbyteArray.length);
    else pstmt.setNull(25,java.sql.Types.BLOB);
    Thanks & Regards,
    -Sunitha

    I have similar problem and I solved it using ojdbc14.jar oracle9i version.
    try...

  • Inserting and updating a BLOB field

    Friends I want my application (Oracle is the backend) to look for a character in a BLOB field and then replace it with the desired character.
    Can some one give me some example of retrieving and updating a BLOB field

    Examples are in Oracle Technet: http://otn.oracle.com/
    In this forum I saw also some examples and in your local Oracle Client Installation you find under $ORACLE_HOME$/jdbc/demo/ examples.
    reagrds Dietmar

  • Updating a table via a gui program

    i am trying to update a record via the UPDATE function. My program has a show all button that brings in all the records. When i make a change in the record and click Update. I get the error: Syntax error in string in query expression ''00000' the zeroes represent an updated zipcode. Here is my source code for the update function:
    if(e.getActionCommand().equals("Update"))
    String url = "jdbc:odbc:coffee";
    String driver= "sun.jdbc.odbc.JdbcOdbcDriver";
    Connection con= null;
    Statement stmt =null;
    //PreparedStatement stmt = null;
    ResultSet my_result= null;
    /* String query = "Update CoffeeSuppliers set " +
    "Name='" + comp_Name.getText() +
    "', Address='" + comp_Addr.getText() +
    "', City ='" + comp_City.getText() +
    "', State='" + comp_State.getText() +
    "', ZipCode='" comp_zipcode.getText()
    "' WHERE ID=" + comp_ID.getText();
    String query= "Update CoffeeSuppliers set " +
    "ID='" + comp_ID.getText() +
    "', Name='" + comp_Name.getText() +
    "', Address='" + comp_Addr.getText() +
    "', City='" + comp_City.getText() +
    "', State='" + comp_State.getText() +
    "', ZipCode='" + comp_zipcode.getText();
    try
    Class.forName(driver);
    catch(java.lang.ClassNotFoundException exception)
    System.err.print("ClassNotFoundException: ");
    System.err.println(exception.getMessage());
    try
    con = DriverManager.getConnection(url,"app","app");
    stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    my_result= stmt.executeQuery(query);
    stmt.executeUpdate(query);
    while(my_result.next())
    System.out.println("am i in the while loop");
    my_result.updateString(1,comp_ID.getText());
    my_result.updateString(2,comp_Name.getText());
    my_result.updateString(3,comp_Addr.getText());
    my_result.updateString(4,comp_City.getText());
    my_result.updateString(5,comp_State.getText());
    my_result.updateString(6,comp_zipcode.getText());
    my_result.updateRow();
    stmt.close();
    con.close();
    catch(SQLException sqlex)
    System.err.println("ERROR: " + sqlex.getMessage());
    } //end of the if statement
    Any feedback will be great.
    thanks

    String query= "Update CoffeeSuppliers set " +
    "ID='" + comp_ID.getText() +
    "', Name='" + comp_Name.getText() +
    "', Address='" + comp_Addr.getText() +
    "', City='" + comp_City.getText() +
    "', State='" + comp_State.getText() +
    "', ZipCode='" + comp_zipcode.getText() + "'";I think that it is as simple as the fact that you diddn't close the zipcode string literal being passed to the SQL interpreter. Add the closing ' to the query
    Hope this helps,
    Bamkin

  • ALL_ARGUMENTS information via JDBC Metadata

    Hi,
    I require METADATA information via JDBC:
    * Packages
    * Procedure and Functions inside the package
    * Arguments with name, datatype,precision,.....
    for each package function/procedure
    I only found the:
    - getProcedures
    - getProcedureColumns
    but this look like only supporting stored procedure and function
    but not package procedures and functions.
    Any idea how to get this information ?
    In the worst case I have to retrieve the information via all_arguments
    dictionary table.
    Thanks for your help!
    brg robert

    Yes, files opened from SharePoint use a different ASFileSys and you can get info about the location from the ASPathname.
    However, no SP-specific information (like metadata) is provided.  You would need to use the SP-APIs yourself to do that.

  • Filesize a problem when uploading a file to Oracle via JDBC?

    Hello,
    I am trying to upload a file via JDBC to an Oracle Database (into a BLOB field). The file is converted to a byte array for uploading.
    While processing the request the following error is thrown :
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R Caused by: java.sql.SQLException: Datengr��e gr��er als max. Gr��e f�r diesen Typ: 485323
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at java.lang.Throwable.<init>(Throwable.java)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at java.lang.Throwable.<init>(Throwable.java)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at java.sql.SQLException.<init>(SQLException.java:52)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.ttc7.TTCItem.setArrayData(TTCItem.java:95)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.dbaccess.DBDataSetImpl.setBytesBindItem(DBDataSetImpl.java:2414)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.driver.OraclePreparedStatement.setItem(OraclePreparedStatement.java:1134)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.driver.OraclePreparedStatement.setBytes(OraclePreparedStatement.java:2170)
    ("Datengr��e gr��er als max. Gr��e f�r diesen Typ" means: "Filesize bigger than maximum allowed size for this type")
    A blob is able to hold files with gigabyte size, a simple 460k file should not cause this JDBC error. I had a test with a 127k file, too, same error (different file types tested: html, doc, pdf, ...). Is this a problem of the driver or is there anythig I am doing wrong?
    Many thanks in advance for your help,
    Rommie.

    My problem is not to retrieve the file but to upload
    it. I checked the examples and only saw examples for
    retrieving a BLOB or CLOB, but not for inserting it
    into the database
    Maybe I am blind ... if so, please publish your link
    to the example.The page at:
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.html
    Has a subsection that reads:
    LOB Datatype [19-Feb-2003]
    The term large object (LOB) refers to a data item that is too large to be stored directly in a database table. This sample application demonstrates how to read and write LOB datatype.The Oracle JDBC drivers provide support for two types of LOBs: BLOBs (unstructured binary data) and CLOBs (character data). BLOB and CLOB data is accessed and referenced using a locator stored in the database table.
    Download Now (ZIP, 76KB)
    Readme
    Source
    The zip is a standalone Java application that will create any needed tables, populate them with example data (both LOBs and CLOBs) from the data files in the zip and then put up a Swing gui that will allow you to add additional LOB and CLOB data to the table. Everything is there, the readme explains the 2 properties files you need to edit. The only other thing besides reading comprehension that you need to supply is DB connection information with the necessary privileges.
    The Source link is a link to the main code, but does not include all the code in the package. However, it contains the code to write CLOBs and BLOBs into the database.
    The Readme explains everything. It also has code excerpts, including the code used to read the sample data from file and write it into the LOBs and CLOBs.
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/LOBSample/Readme.html
    Look for "loadSamples"

  • Updating multiple tables using JDBC Adapter

    Hi,
    I am trying to insert/update multiple tables using one message via JDBC adapter. The following is the message being posted. However, only the first statement was executed. Anything wrong?
    Thanks in advance!
    Hart
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:DeliveryDBUpdate xmlns:ns0="http://test.com/r3_integration"><DeliveryData><DelHeader action="UPDATE_INSERT"><table>DelHeader</table><access><DelNo>0080000230</DelNo><DelType>LF</DelType><XOverwrite>X</XOverwrite><ShipTo>0000000026</ShipTo><SoldTo>0000000026</SoldTo><Priority>00</Priority><DocDate>02/17/2007</DocDate><GText>CIF Test</GText><DelDate>02/20/2007</DelDate><PickDate>02/20/2007</PickDate><ShipPoint>NO02</ShipPoint><PackCount>00000</PackCount></access><key><DelNo>0080000230</DelNo></key></DelHeader>
    <DelItem action="INSERT"><table>DelItem</table><access><DelNo>0080000230</DelNo><ItemNo>000010</ItemNo><GText>10# GRAN-GREAT VALUE</GText><Material>G04410G611</Material><Plant>6005</Plant><SLoc>6005</SLoc><RefDoc>mmenon32</RefDoc><RefItem>00000000</RefItem><DelQty>5.000</DelQty><UOM>BL</UOM></access><access><DelNo>0080000230</DelNo><ItemNo>000020</ItemNo><GText>25# GRAN- GREAT VALUE</GText><Material>G04025G611</Material><Plant>6005</Plant><SLoc>6005</SLoc><RefDoc>mmenon32</RefDoc><RefItem>00000000</RefItem><DelQty>5.000</DelQty><UOM>BG</UOM></access></DelItem></DeliveryData></ns0:DeliveryDBUpdate>

    Hi,
    You need 2 STATEMENT level tags,
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:DeliveryDBUpdate xmlns:ns0="http://test.com/r3_integration">
    <b><DeliveryData1></b>
    <DelHeader action="UPDATE_INSERT">
    <table>DelHeader</table>
    <access>
    <DelNo>0080000230</DelNo>
    <DelType>LF</DelType>
    <XOverwrite>X</XOverwrite>
    <ShipTo>0000000026</ShipTo>
    <SoldTo>0000000026</SoldTo>
    <Priority>00</Priority>
    <DocDate>02/17/2007</DocDate>
    <GText>CIF est</GText>
    <DelDate>02/20/2007</DelDate>
    <PickDate>02/20/2007</PickDate>
    <ShipPoint>NO02</ShipPoint>
    <PackCount>00000</PackCount>
    </access>
    <key>
    <DelNo>0080000230</DelNo>
    </key>
    </DelHeader>
    <b><DeliveryData1></b>
    <b><DeliveryData2></b>
    <DelItem action="INSERT">
    <table>DelItem</table>
    <access>
    <DelNo>0080000230</DelNo>
    <ItemNo>000010</ItemNo>
    <GText>10# GRAN-GREAT VALUE</GText>
    <Material>G04410G611</Material>
    <Plant>6005</Plant>
    <SLoc>6005</SLoc>
    <RefDoc>mmenon32</RefDoc>
    <RefItem>00000000</RefItem>
    <DelQty>5.000</DelQty>
    <UOM>BL</UOM>
    </access>
    <access>
    <DelNo>0080000230</DelNo>
    <ItemNo>000020</ItemNo>
    <GText>25# GRAN- GREAT VALUE</GText>
    <Material>G04025G611</Material>
    <Plant>6005</Plant>
    <SLoc>6005</SLoc>
    <RefDoc>mmenon32</RefDoc>
    <RefItem>00000000</RefItem>
    <DelQty>5.000</DelQty>
    <UOM>BG</UOM>
    </access>
    </DelItem>
    <b></DeliveryData2></b>
    </ns0:DeliveryDBUpdate>
    Try with such a strcuture and let us know if it works.
    Regards
    Bhavesh

  • Question(s) about updating to iOS 5.1.

    Hi everyone! I have a few questions about updating my iPod to the iOS 5.1.
    First question:
    How long will it take? I have used about 8GB worth of memory on it but I have good internet speed.
    Second question:
    My main computer that I originally had everything set up with doesn't want to work good at all with iTunes, so I switched everything over to my grandma's
    computer. So the question is, what will happen to all my music, apps, etc. if I update using my grandma's computer?
    Third question:
    Do I need to transfer my photo's over? I have over 1,000 photo's on my iPod and I was wondering if I updated would I need to transfer them to the computer
    or if they'll manually stay on the iPod.
    Fourth Question:
    If I update, will I be able to do future updates on the iPod itself without everything being erased like it is with past updates?
    Fifth and final question:
    Is the kinks in iOS 5.1 worked out yet? I remember when iOS 5 came out they had a miserable time with it and everyone wasn't too pleased, so I'm wondering if
    it'll do me any good to update?
    I know I sound like a noob, but the last update I did was iOS 4.2 and I don't like doing updates because they take forever with putting everything back on the iPod. They also worry me a bit because I don't want to lose my music and apps (yes I back the iPod up every few downloads but it still worries me lol). Thanks

    GfxQueen4357 wrote:
    Hi everyone! I have a few questions about updating my iPod to the iOS 5.1.
    First question:
    How long will it take? I have used about 8GB worth of memory on it but I have good internet speed.
    Downloading the update file can take an hour or more. After it is downloaded the actual update should take between one and two hours, likely closer to one hour.
    Second question:
    My main computer that I originally had everything set up with doesn't want to work good at all with iTunes, so I switched everything over to my grandma's
    computer. So the question is, what will happen to all my music, apps, etc. if I update using my grandma's computer?
    If all the media is on Grandma's computer and in the iTunes library and the computer authrized for the iTunes accounts used then the media will be restored to the iPod during a latter stage of the update if you:
    - Connect the iPod to the computer and and make a backup by right clicking one the iPod under Devices in iTunes and select Back Up. Then restore from that backup. The restore will also do the update.
    Note that the backup that iTunes makes does not included synced media like aps and music.
    Third question:
    Do I need to transfer my photo's over? I have over 1,000 photo's on my iPod and I was wondering if I updated would I need to transfer them to the computer or if they'll manually stay on the iPod.
    If the photos were taken by or saved to the iPod they are in the backup that iTunes makes.  If they were synced to the iPod you have to move them from the old computer to grandma's computer. There are third-party programs that will copy synced photos from the iPod to a computer but you have to pay for them.
    Fourth Question:
    If I update, will I be able to do future updates on the iPod itself without everything being erased like it is with past updates?
    With iOS 5, you can do subsequent updates on the iPod itself via wifi. Nothing is lost (unless something goes amiss)
    Fifth and final question:
    Is the kinks in iOS 5.1 worked out yet? I remember when iOS 5 came out they had a miserable time with it and everyone wasn't too pleased, so I'm wondering if
    it'll do me any good to update?
    I have no problems with iOS 5.1. It is improved over iOS 5 and 5.o.1 with the except that sometines the iPod will crash when you try to edit a photo you took.
    I know I sound like a noob, but the last update I did was iOS 4.2 and I don't like doing updates because they take forever with putting everything back on the iPod. They also worry me a bit because I don't want to lose my music and apps (yes I back the iPod up every few downloads but it still worries me lol). Thanks
    The following also tells you what will happen when you update another than the syncing computer. If you follow with what I said above, it will be the same as updating on yur syncing computer.
    iOS 5: Updating your device to iOS 5

  • Accessing and retreiving ResultSets through CORBA via JDBC

    Hey,
    Im in the middle of doing a project and I was originally planning to connect to the database through JDBC over TCP/IP only. Everything worked fine. Now Ive been told that I have to use CORBA to relay the result sets over from the remote database. ie An applet requests information, queries the CORBA server, the CORBA server via JDBC then queries the database and gets the result set. The result set is sent back via CORBA to the client applet, where the data is then manipulated.
    What I want to know is it actually possible to do this? I only know a small amount of CORBA and Ive been crawling the web for even a small example of it. Could anyone help me out. Ive been looking for the past week and you guys are my last hope.
    Thanks in advance

    Hi,
    You won't be able to send actual instances of the Java class ResultSet via CORBA. All interfaces and data structures you use must be defined in CORBA IDL. You should be able to find a lot of tutorials about general CORBA, including the ones at the bottom of
    http://java.sun.com/j2se/1.4.1/docs/guide/idl/index.html
    You should define an interface in CORBA IDL for your server that the client applet will call. Probably you'll have a method which takes the query parameters and returns some sort of data structure that you also define in IDL.
    The only problem I really see is whether or not the JVM your browser uses does CORBA very well.
    - Everett

  • I am trying to update my RSS via sound cloud to iTunes but having issues... please help

    I am trying to update my RSS via sound cloud to iTunes but having issues.
    I currently have my podcast working on iTunes but I have decided to change where I have them hosted.  I moved my podcasts over to Soundcloud and currently have the rss feed but I would like to update my iTunes podcast with this so that all my podcasts showing up on sound cloud will sync up and automatically update.
    here is my rss feed:
    feed://feeds.soundcloud.com/users/48458062-the-collective-podcast/tracks
    Podcast via Soundcloud:
    http://soundcloud.com/the-collective-podcast
    my podcast on iTunes:
    https://itunes.apple.com/us/podcast/the-collective-podcast/id662393388
    Any help would be greatly appreciated!
    Thanks!

    The feed in use by iTunes is http://thecollectivepodcast.podomatic.com/rss2.xml , not the one you list. It has one episode, whose media file URL is
    http://thecollectivepodcast.podomatic.com/enclosure/2013-06-14T16_06_53-07_00.mp 3
    Your feed at http://feeds.soundcloud.com/users/48458062-the-collective-podcast/tracks has no episodes.
    You will obviously need to get this sorted out before you can proceed. Once you have the soundcloud feed working properly you will need to add a special tag to the original feed in order to transfer the Store to using the new feed. The method is decribed here:
    http://www.wilmut.webspace.virginmedia.com/notes/podcast.html#move
    Please make sure you are completely clear about it before proceeding, and check that the new feed works by subscribing manually in iTunes before you try moving the Store to it.

Maybe you are looking for