An abstract database api for java

hi there
does somebody know if there is something like this around - I mean, an API, that works with abstract objects like tables, fields, rows, where-conditions, joins and so on, and then automatically generates the appropriate SQL-statements ?
java.sql is a quite low-level and implementation dependent API, I'd be glad to see an abstracter framework. anybody seen something like that ?

JDO? Though it provides for more than just portable queries, and doesn't provide any of the niceness of something like the RogueWave DBtools.h++ in terms of being able to build up a query procedurally, but it's a big step..

Similar Messages

  • Data Warehouse:java.lang.NoClassDefFound Error while using OWB API for Java

    I was writing code to use the OWB APIs for Java:
    I have imported the folowing files:
    oracle.owb.connection.RepositoryManager;
    oracle.owb.connection.OWBConnection;
    oracle.owb.connection.ConnectionFailureException;
    when jvm tries to get instance of Repositary Manger by the following code
    reposManager = RepositoryManager.getInstance();
    I get the following exception:
    Exception in thread main
    java.lang.NoClassDefFoundError: com/objectspace/jgl/HashMap
    I have checked my OWB and Java environment but I cant locate com/objectspace/jgl.jar file. Can some one tell me were this jar is located in so i can import it.

    Either use some criteria you develop related to one of the keys on the table or use some sort of record limiting method.
    Note the method of limiting will vary related to the database you are using. You will have to look at the documentation.
    For example I am told this will work in MySQL to get 200 records starting at record 100.
    SELECT * FROM myTable ORDER BY whatever ASC LIMIT 100,200
    Because you are running out of memroy I assume the table is large,
    I am not sure what the impact of the above will have on performance because if in the above if the order by is not based on an index at the server level all the records will be selected and sorted before the records are limited.
    I would make sure you have an appropriate index.
    If you use the advanced search over the user forums using "resultset paging" and possibility the database you are using you should be able to get some ideas.
    I hope this makes sense to you.
    rykk

  • Where can i get  MySQL api for java?

    I'm new to jsp,
    where can i get MySQL api for java?
    thanks

    You mean the jdbc driver for mysql ? if yes, www.mysql.com/downloads/api-jdbc.html

  • JAXB as standard API for Java Mappings in XI?

    Hi there,
    Has anyone on this forum implemented Java mappings in XI using JAXB (reference implementation for XML/JAVA data bindings of SUN)?
    If Yes, can you please share any experiences?
    We're considering to use this API for Java Mappings in XI but first would like to get more background info.
    Cheers,
    Rob.

    Hi Roberto,
    Have tried implementing Java mapping using JAXB technique couple of years ago. However I was not able to test the mapping in XI/PI environment.
    <ul>
    <li>There is no in built support for JAXB from SAP XI.</li>
    <li>There is no documentation available from SAP on JAXB hence it is difficult to implement the mapping.</li>
    <li>We have to import JAXB specific jars along with the mapping code. my attempt to execute the mapping test in IR tool was unsuccessful It was running fine in standalone mode in local PC </li>
    </ul>
    [My question on SDN on same topic..|Java Mapping Using JAXB [Java Arch for XML Binding];
    Thanks and regards,
    Ananth

  • What is the good voice xml api for java

    dear buddies,
    what is the best voice xml api for java? has somebody comeacross and work involving this, i would like to hear more about this
    thanks
    Kuha

    Maybe the VXML forum is a better place: http://www.voicexml.org/
    Good luck.

  • Java.lang.NoClassDefFound Error while using OWB API for Java

    I was writing code to use the OWB APIs for Java:
    I have imported the folowing files:
    oracle.owb.connection.RepositoryManager;
    oracle.owb.connection.OWBConnection;
    oracle.owb.connection.ConnectionFailureException;
    when jvm tries to get instance of Repositary Manger by the following code
    reposManager = RepositoryManager.getInstance();
    I get the following exception:
    Exception in thread main
    java.lang.NoClassDefFoundError: com/objectspace/jgl/HashMap
    I have checked my OWB and Java environment but I cant locate com/objectspace/jgl.jar file. Can some one tell me were this jar is located in so i can import it.

    Do you have JAVA_HOME set in your environment?
    What's the result of
    env
    Make sure DBCA is calling the java under $ORACLE_HOME not from other installation.

  • Is there any Sun Java's official SVG API for Java SE?

    Hi, I'm still learning Java and SVG.
    Currently I want to build a kind of client-server application transferring SVG files.
    I'm using JSR 226 to parse SVG files in my Java ME client, but I dont know what API I should use to parse SVG files in my Java SE server.
    I want the server to read a large SVG image file and then parse it and divide it into some small linked SVG image parts before it can transferred to the client.
    Does Java SE have a standard API for SVG? Bcause I only found Batik..
    thnks in advance.

    Hello,
    I am using SVG Salamander... it is a nice small library.
    https://svgsalamander.dev.java.net/
    Jacco

  • Database statistics for Java system in CCMS (RZ20)

    Hi All,
    We have configured CCMS for JAVA system, but unable to view the Database statistics like Tablespace size, Free space, Backup, Performance etc., for it.
    We are able to see these statistics for ABAP stack.
    Is there any possible method (or) class to view these statistics?
    We have even created a new rule-based monitor with class CCMS_DB_mcmtc and CCMS_DB_space_mscl but in vain.
    Even if we cannot view these in RZ20, do we have any other methods like Netweaver administrator or Introscope or some other means....?
    Waiting for some help......
    Regards,
    Phani.

    I don't think there is any separation between CCMS and other systems, all use one database. If you use MaxDB use Database Manager, if smth like SQL Server or Oracle use standard tools of this vendors, like Enterprise Manager third party tools also helps you, cause I don't see any difference between

  • Database manager for Java DB/Apache Derby?

    Does anyone know a great and free database manager software with GUI for Java DB/Apache Derby where I can create and open databases? Something like Mysql Administrator and Mysql Query Builder for Mysql.
    Thanks in advance!

    I don't think there is any separation between CCMS and other systems, all use one database. If you use MaxDB use Database Manager, if smth like SQL Server or Oracle use standard tools of this vendors, like Enterprise Manager third party tools also helps you, cause I don't see any difference between

  • Microsoft VSS API for java

    Hi there.
    Do anyone know about API for Microsoft Visual Source Safe for java.
    I want to access VSS server from java code.
    I require help regarding that .

    Try this. Also, this might be of use in the future.

  • Require MS WORD API for Java

    I am looking for a way to access only the attributes of a Word document. I don't need to access the document content, no reading or writing. Just read the attributes. Is there an API out there for this?
    I've heard you can do this using a com-bridge, but I have no experience with this - is it easily done and should I venture it - is it worth the effort and can it actually done what I need?
    I've heard from someone about a JWord interface, but couldn't find any info on it.
    Thanks.

    you could use a combination of a word macro and the ActiveX bridge. the activex bridge is for accessing java and the macro for reading the attributes and pass it over the activx bridge to java. btw: the activex bridge is removed in the latest J2SE.

  • SMD database monitoring for Java MSCS cluster system

    Dear All,
    We have install SAP netweaver 7.0 EHP1 java stack on oracle 10.2.0.5 with windows 2008 R2 MSCS cluster enviornmant.
    now we are configuring SMD
    From SMD, while configuring Managed system(JAVA ONLY system)--> database monitoring I am getting following error
    DB connection Id :%_SID_virtualhost_SAPSR3DB
    Connectivity test :
    Database history :This connection could not be tested, thus the DB performance warehouse was not set up
    Extractors activation :This connection could not be tested, thus the DB extractors were not set up
    Connectivity test details :
    Database connection %_SID_virtualhost_SAPSR3DB : SQL error 12505 ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    Database connection :%_SID_virtualhost_SAPSR3DB could not be established
    System Details
    Solman - SAP EHP 1 for SAP Solution Manager 7.0
    managed system - Netweaver 7.0 ehp1AS JAVA(New Installation)
    Connection parameters
    Database Name: SID
    Database Host :virtual host
    TNS Name:SID.WORLD
    User Name:SAPSR3DB
    Password:xxxxxxxxxxx
    Tns ping command is also not working when we give host name as virtual host of JAVA system
    but when we change it to phyiscal IP address of the cluster server it is working fine.
    Could you please let me know any setting need to be done
    Sincerely
    Paresh

    Hi Paresh,
    >> Tns ping command is also not working when we give host name as virtual host of JAVA system
    but when we change it to phyiscal IP address of the cluster server it is working fine.
    >> SQL error 12505 ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    Virtual hostname must be resolved on both hosts while configuring SMD. Otherwise you'll not able to access Oracle Listener.
    Best regards,
    Orkun Gedik

  • Scanning Libraries/API for Java

    Hello I'm looking for an API or library that will allow me to use or access an external scanner's functionality from Java.
    The idea is to integrate this functionality in our BBj Application.
    Thank you for any info.

    Hello I'm looking for an API or library that will allow me to use or access an external scanner's functionality from Java.
    The idea is to integrate this functionality in our BBj Application.
    Thank you for any info.

  • Need API for Java communicating with RS232

    Dear All,
    I am a newbie to Java. I have a sensor connected to a microcontroller, and this microcontroller is also connected to a PC through the RS232 (COM 1). I have installed the Java Communications API "Javax.comm" on my PC and was able to run the "BlackBox" sample program. What I require is a simple Java program that will read and show the bytes comming through the COM1 port. If anyone has done anything similar or has an idea of how to go about it, could they please send me some example code, I would be very grateful. Or if anyone knows about any website with such similar examples i would be very grateful.
    Thank you very much.
    FREDERIC

    Cross posted numerous times...
    http://forum.java.sun.com/thread.jspa?threadID=634826

  • Xquery API for JAVA

    Hi,
    I am trying to execute this examples: http://www.oracle.com/technology/sample_code/tech/xml/xmldb/jxqi.html , but when i dont have any jar files imported in my classpath.
    I have the following error in imports:
    import oracle.xml.parser.v2.*;
    import oracle.xquery.*;
    import oracle.xquery.exec.*;
    Where can i download the necessary jar files?
    Best regards,
    Bruno oliveira

    The Oracle databases, since 9 (and certainly 10) have an embedded Java VM in them.
    That VM supports functionality that is not available elsewhere. Certainly not available in the standard Java VM (the one created by Sun and the one that the vast majority of posts in the java forums refer to.)
    The root of your post appears at the following and looking through all of it may help.
    http://www.oracle.com/technology/sample_code/tech/xml/index.html

Maybe you are looking for

  • HTMLDB_APPLICATION.G_F01 has wrong value!

    HTMLDB_APPLICATION.G_F01 has wrong value! Hello again, I have a search page in my app (here the user defines the search criteria) P1. The page branches to P130, where the result is shown. This second page contains a region of type 'SQL Query (PL/SQL

  • IDOC Header Record

    Our scenario is  File(s) ---> XI - > IDOC We are receiving 3 Different Files, with Employee information from 3 different Countries and using XI , the records will be posted into R/3. Each record from the file will be treated as an IDoc. The File is g

  • Using a image

    Hello folks... I have a big doubt.. I have a problem.. I have a lot of data having to be shown in my application.... something like 6000 per 200... and each data... like ..the data in the column 200 and line 20 have to respond mouse events... I have

  • Family Share invitations it takes me to the iCloud sign in page, not the invitations tab.

    When clicking the Family Share invitations it takes me to the iCloud sign in page.  How can I get to the iCloud>Invitations area?

  • "VCE-ICodecAPI-IsSupported" message in first use

    Hello. I've recently upgraded to version 6.16.0.105 (running on Windows 7) and now when I start a conversation for the first time after startup, a "VCE-ICodecAPI-IsSupported" message window pops up: My contact cannot see my face until I click "OK" to