Handheld and jdbc driver

hello,
i have to develop an application in java for handeld devices .i want to connect my handheld database through jdbc driver with the database on the desktop. .
so is there any jdbc driver of any database available which can solve this problem.
or is there any other way to do this?
hoping a quich reply. thanking u
its
abhishek chopra
ispan technologies

Hi,
Better way to connect to a database is using an intermediate JSP or servlet which receives request from client, executes SQL command on database and sends the result to the client. The reason why it is better to use this method is that any change to database will not need change in client code.

Similar Messages

  • Pda and jdbc driver

    hello,
    i have asked this question before also .
    my question is can i use jdbc driver in handhelds(PDA) so that i can connect my database which is residing on desktop through my java program.
    i got answer that there is no jdbc driver that can be put on handhelds but now i have came to know that i can use hsqldb jdbc driver and postgresql jdbc driver in handhelds to access desktop database.
    so i am very much confused that whether i can use jdbc driver in handhelds on not?
    kindly help me
    thanking u in advance
    its
    abhishek chopra

    hi,
    thanks for reply. ya i visited that site .but its not free as u have said.
    but i inquired about hsqldb jdbc driver in their forum and mailing lists and they have said that hsqldb drivers can be used on handheld devices to access desktop database.
    same thing for postgresql jdbc driver. they all r telling that drivers came in the form of jar file and we can deploye it on handheld (pda) with the java application
    so sir how can i get confirmed about it.
    about ur another option to use intermediate servelets to access database is also good. but problem will be that when we have to access that via http call and for it we require internet connection to access to servlet which is on our lan network(if am not wrong) . i have doubt that is internet connection is required to communicate to servlet if we connect to our pda in network.
    please suggest me.
    thanking u
    its
    abhishek

  • Reading Advance Queuing with XMLType payload and JDBC Driver character encoding

    Hi
    I've got a problem retrieving the message from the queue with XMLType payload in Java.
    It was working fine in 10g database but after the switch to 11g it returns corrupted string instead of real XML message. Database NLS_LANG setting is AL32UTF8
    It is said that JDBC driver should deal with that automatically but it obviously don't in this case. When I dequeue the message using database functionality (DBMS_AQ package) it looks fine but not when using JDBC driver so Ithink it is character encoding issue or so. The message itself is enqueued by the database and supposed to be retrieved by dedicated EJB.
    Driver file used: ojdbc6.jar
    Additional libraries: aqapi.jar, xdb.jar
    All file taken from 11g database installation.
    What shoul dI do to get the xml message correctly?

    Do you mean NLS_LANG is AL32UTF8 or the database character set is AL32UTF8? What is the database character set (SELECT value FROM nls_database_parameters WHERE parameter='NLS_CHARACTERSET')?
    Thanks,
    Sergiusz

  • Oracle 9.2.0.6 , JDK 5 and JDBC driver

    Hi Friends,
    At my work place they have Oracle 9.2.0.6 and now they want to user JDK 5. I find that JDBC driver only supports JDK 1.4. Can some one suggest what I need to do so that later I should not face unknown issues
    Thx
    V

    Oracle database 10.2 drivers ojdbc14.jar may also be used with JDK 5.0.
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#02_03

  • Dreamweaver CS5 and JDBC Driver

    Does Dreamweaver CS5 support JDBC Driver for MySQL ?
    If yes how to set up a JDBC connexion to a MySQL database ?
    If no how can I connect a JSP page/application to a MySQL database ?
    Thanks.

    Support for JSP has not been available since Dreamweaver CS4.
    Correct, but the JSP Server Model functionality can be installed as an Extension that is delivered with Dreamweaver. You can find it here:
      [install-dir]/configuration/DisabledFeatures/
    HTH,
    Randy

  • MS SQL Server 2000 and JDBC Driver Problem

    I was wondering if you could help me. I installed Java 1.4.1 on my Win2K machine along with MS SQL Server 2000 JDBC Service Pack 1 drivers.
    The drivers and JDK installed perfectly and I properly set my class path. Yet everytime I try to execute my code I get the: java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver error.
    Any idea why? Is it posisible that the JDBC drivers are not comaptible with Java 1.4? I also installed 1.3.1 and I get the same issue. Let me know if you have any insisghts. Much thanks.
    [email protected]

    Those drivers are perfectly compatible with JDK 1.4.1. I've used them successfully.
    CNF Exception ALWAYS means that the class loader can't find the JAR in the CLASSPATH. You said you "properly" set your CLASSPATH. Am I right in assuming that you mean a Win2K environment variable?
    I think that's a bad idea. I don't have one on my machines at all.
    I always set the CLASSPATH myself when I compile and run an app, to make sure that I always have exactly what I need.
    If you're running Tomcat, it doesn't even look at the system CLASSPATH as far as I know. If you're using this in a Web app, but those JARs in your WEB-INF/lib directory and deploy your stuff as a WAR file. Tomcat will find it in the CLASSPATH for sure then.
    Let me know if either of those suggestions hits the mark. If not, send more info and I'll try again. - MOD

  • Sql 2008 peer-to-peer replication and jdbc driver

    Hi, sorry but i'm a sql dummy...:-)
    I setup a sql 2008 p2p replication for a database.
    Can i specify, on a jbdc connection string, the path of the 2nd sql server for automatic failover?
    I try failoverPartner variable, but this is only for database mirroring.....
    Can u help me?
    Thanks in advance

    Hi, sorry but i'm a sql dummy...:-)
    I setup a sql 2008 p2p replication for a database.
    Can i specify, on a jbdc connection string, the path of the 2nd sql server for automatic failover?
    I try failoverPartner variable, but this is only for database mirroring.....
    Can u help me?
    Thanks in advance

  • Accessing Informatica File Archive Service using its native JDBC driver

    Good morning,
    Using the Informatica ILM suite, we've retired a number of database applications (which ran on Oracle) into the so-called Optimized File Archive, or OFA.
    The information stored in there can be accessed using their File Archive Service, or FAS.
    To allow access for certain tools, they've also got an ODBC and JDBC driver (from the original company that created the archive bit, RainStor), to be able to get to tables in archives.
    I've been able to set it up for Aquafold's Aqua Data Studio (ADS), but given that that is shareware I've only got an evaluation version, expiring in 2 weeks.
    Since SQLdeveloper, like ADS, is a Java-based tool, and it also allows for third party JDBC drivers, I'm inclined to think that somehow SQLdeveloper should also be able to connect to those archives. Unfortunately, I always get an error message: "Invalid connection information specified. Verify the URL format for the specified driver"
    There are some slight differences between ADS and SQLdev in setting up such a JDBC connection.
    In ADS, apart from providing user/pw, I have to specify following:
    - name of the JDBC driver ("com.simba.client.core.SimbaJDBCDriver")
    - location of the JDBC driver (e.g. "C:\Ora\RainStorJDBC-3.0.1.2.jar")
    - JDBC URL of format "jdbc:simba://<host>:<port>;Archive=<archive>;ConnectionTimeout=3600;Parser=ORACLE"
    In SQLdev I can import the JDBC driver (menu > Tools > Preferences, then under Database > Third Party JDBC Drivers), and in the Database Connection Screen create a new connection, provide the user/pw of the so-called Service Manager (from FAS), and choose Connection Type "Advanced" to then specify the "Custom JDBC URL", which would have to be the same as above. If I test the connection, I get an instant error:
    "Status: Failure -Test failed: Invalid connection information specified. Verify the URL format for the specified driver".
    Informatica's Global Customer Support are saying that SQLdev can't do it, but I'm just wondering whether some really bright lights in the Oracle community have found an alternative route to be able to connect to such FAS/OFA archives. Given the similarities between ADS and SQLdev, to me it seems it - somehow - has to be possible as well...
    Thanks in advance for thinking about this problem/challenge.
    Cheers!
    Edited by: exapat on Dec 7, 2012 10:43 AM
    Did some further investigations, on other third party drivers. Those ones (e.g. for SQL Server) - when loaded - create an extra tab in the connection screen.
    The RainStor JDBC driver does not do that, and I can imagine that that's where it falls short.
    If indeed the case, what could be done to overcome this?

    Hi,
    Did some further investigations, on other third party drivers ... If indeed the case, what could be done to overcome this?That is the case. Currently browsing and migration support for third-party databases is limited to the following:
    http://www.oracle.com/technetwork/developer-tools/sql-developer/supportedmigplatforms-086703.html
    See section 1.1 for currently supported databases and section 1.3 for those planned for a future release.
    To see an example of some (all?) of the extra bits needed to support browsing of a third-party database, find the extensions directory in your SQL Developer installation, look for
    oracle.sqldeveloper.thirdparty.browsers.jarthen browse it to see the various class, properties, and xml files necessary for supporting connections to databases like mysql or sybase. You may conclude adding browsing support is not all that complicated. Migration support is an entirely different matter, however. Oracle is the thirdparty.browsers extension owner. Support for more third-party databases would normally be added by the SQL Developer group based on a database's general popularity or a feature request on the SQL Developer Exchange -- obviously a long-term proposition.
    If you look at the [Extensions Exchange|http://www.oracle.com/technetwork/developer-tools/sql-developer/extensions-083825.html] maybe you can get some ideas how best to proceed if you have the resources to build your own extension to support RainStor.
    Regards,
    Gary
    SQL Developer Team

  • Spatial data through JDBC driver

    Hi,
    I have a spatial table which has polygon, linestring and points stored in the geometry column. Is there any API available to know whether the stored data is ploygon/point/linestring. I am using thin JDBC driver to connect to Oracle. Also are there APIs available to get the coordiniates, offset etc from polygon. Please let me know if there are any tutorials/examples available for working with spatial data and JDBC driver.
    Smitha

    Hi,
    You could use Oracle Spatial Java Class Library, available at: http://www.oracle.com/technology/software/products/spatial/index.html
    It is quite easy to use it.
    Regards,
    Andrejus

  • [FMWGEN][DB2 JDBC Driver]Remote Database Not Found:

    while connecting to DB 2 i am getting this error can any help me what to do resolve this. thanks

    If working with Database adapter then refer section "Deployment with Third Party Databases" and "JDBC Driver and Database Connection Configuration" at-
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_db.htm#BGBBHJGC
    Regards,
    Anuj

  • TAF and JDBC

    Today it's possible to use TAF with JDBC OCI.
    When will be possible to use TAF with JDBC Thin ?

    I remember TAF only works with OCI (thick) JDBC driver. Not sure about the restriction is there or not in the latest version of Oracle. Tell us your Oracle version and JDBC driver.
    sqlplus uses OCI.
    Yong Huang

  • Problem with Java 5 and Oracle 10g JDBC driver

    Hi All,
    Currently we upgrade our web application to Java 5 and Oracle 10.2 JDBC driver. And we encountered a bug, when the user entered the information through UI and data didn't store into database (Oracle 9i). The problem is that this bug is not happend so often maybe once a day and this did not happen before we upgraded to Java 5 and Oracle 10.2 JDBC driver. Does anyone encounter the same problem ? Is this Java 5 problem or Oracle JDBC driver problem ?
    Thanks,

    sounds like a database problem...
    Are you using a driver version that's supported for your database engine?
    What else did you change? We once ran into a major bug in our application that had for 5 years been masked by performance problems in our hardware and infrastructure.
    Once those were resolved the bug showed itself and caused tens of thousands of records to be erroneously inserted into our database every day.
    It's certainly NOT a problem with your JVM (if it's a decent one, like the Sun implementation).
    So it's either your database, your driver, your network (dropping packets???), or your application.
    The upgrade may just have exposed something that was already there.

  • Driver Class name and JDBC URL Format

    Hi,
    I'm trying to use the oracle jdbc driver to connect to an (what a surprise) oracle database.
    I need a 'driver class name' and the JDBC URL Format. But I cannot find these anywhere.
    Can anyone help me out here?
    Regards,
    Laurens

    http://myjdbc.tripod.com/basic/jdbcurl.html

  • Oracle JDBC Driver 10.1.0.4.0 and IndexOutOfBounds-Exception

    Hello all,
    we´ve experienced a weird problem using the Oracle JDBC driver version 10.1.0.4.0. While executing SELECT statement we get an ArrayIndexOutOfBounds exception from the JDBC driver. Here´s the stacktrace:
    java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at oracle.jdbc.driver.T4CDateAccessor.saveDataFromOldDefineBuffers(T4CDateAccessor.java:212)
    at oracle.jdbc.driver.T4CPreparedStatement.saveDefineBuffersIfRequired(T4CPreparedStatement.java:405)
    at oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:859)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:949)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:532)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2905)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2946)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)
    We couldn´t find anything on the web on this error. We´re using Weblogic 8.1 SP4 with JDBC version. Does anyone have a hint or an idea what could be the problem here?
    Thanks for any help in advance!
    Cheers,
    Joerg

    I may have a related bug, I get a similiar exception when running JIRA...
    java.lang.ArrayIndexOutOfBoundsException: -1
    at oracle.jdbc.driver.DateTimeCommonAccessor.computeJulianDay(DateTimeCommonAccessor.java:341)
    at oracle.jdbc.driver.DateTimeCommonAccessor.getMillis(DateTimeCommonAccessor.java:386)
    at oracle.jdbc.driver.DateAccessor.getTimestamp(DateAccessor.java:142)
    at oracle.jdbc.driver.OracleResultSetImpl.getTimestamp(OracleResultSetImpl.java:1018)...I tried the 10.1.0.2 and 10.1.0.4 drivers, both throw the same exception. I would try the 10.2 drivers, but they just hang! Gotta love Oracle QA!

  • PI 7.1 and Oracle JDBC driver: missing com.sap.aii.adapter.lib.sda

    Hello,
    I want to deploy the JDBC driver for Oracle databases as described in OSS 1138877 on a brand-new PI7.1 (SP06 Stack) installation. Unfortunately, I can't find com.sap.aii.adapter.lib.sda on the system, so I can't add the ojdbc14.jar file and deplay it using JSPM.
    Where can I get it from?
    Thank you and best regards,
    Herwig

    hey,
         The JDBC driver installation is different for PI 7.1.
    The dowload/modify/deploy .sap.aii.adapter.lib.sda method was used in the earlier versions.(mentioned in the How to guides)
    Look at the SAP documentation below -
    http://help.sap.com/saphelp_nwpi71/helpdata/en/cf/128a42f802a01ae10000000a155106/frameset.htm
    Arvind R

Maybe you are looking for

  • How can I display East Asian characters in MediaSour

    I am using Windows XP SP2 Chinese Traditional (Taiwan) edition, although I li've in the US. My system setting is by default Chinese Traditional, and I have enabled East Asian language support for Chinese, Japanese, and Korean. However, Creai've Media

  • The app store on my ipad seems to be stuck in the UK store.  How do I get it set back to the US store?

    I cannot update my APPs on my iPad.  Everytime I touch to APPs icon it takes me the the UK APPs.  I cannot figure out how to get it back to the US side.  Any suggestions would be welcome.

  • IPad 2 - email shuts down when trying to delete messages

    Whenever I try to delete email messages, I click on "Edit", check the messages to be deleted. The red Delete button shows up and as soon as I touch it the entire email program shuts down and returns to the home page. The next "Delete Message" button

  • [SOLVED] ADF BC : event mechanism

    hi I'm not sure what I am looking for, but I was wondering if ADF BC had some kind of "event mechanism" to "notify the view of changes in the model"? For example, what if I would like to be "notified" (in my view implementation), if a change to some

  • Missing registry entries for burning CDs

    I used iTunes to burn soe playlists. This worked well. However, I also installed Nero Exprss after that. After this when  I brought up iTunes it gave the message "MIssing registry entries - cannot import or burn CDs or DVDs - reinstall iTunes" Though