How to load mssql in java api setup

i m workiong on core java application.
i have mssql databaseconnectivity.
i want to ask if i want to run this api on the pc which dont have sql install then how to make database to be run on that pc with setup.
isearched abt it i found sql script, sql agent and msde installer but that not working
help me

http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Btitle%3Aapplication+%2Btitle%3Asound&col=javaforums
BTW: You can doo this yourself

Similar Messages

  • How to use the Public Java API

    Is it possible to use the Public Java API to write a custom transformation in Java and use this in OWB. i.e. Say I have a Dateofbirth field in my source database and an Agegroup field in the target database, and I write a transformation in Java to take the Dateofbirth as an input parameter to the method and calculate the Agegroup e.g. 25-30, and return it from this method which then populates the Agegroup field in the target database. If so, how do I go about this?

    Martin,
    In general, yes you could... but you do not need to. You could use the UI to implement this requirement. The public Java API is there for you to manipulate metadata. How you implement your system, is independent of that.
    The way you would go about the case you just mentioned... you would write the Java code, deploy it into the database, wrap it in a PL/SQL procedure or function, and call it from OWB.
    Would this be a good idea...? I think no. Unless you have very complicated calculations that can only be performed in Java, I strongly encourage you use the PL/SQL language. Reason being: transformation will be much faster, because there is no need to translate PL/SQL into Java and back again.
    Hope this helps,
    Mark.

  • How to Load Sound In Java Application?

    Hi, i dunno what the codes to load sound in java application, can anyone help me and provide me with the codes? Thanks a lot.

    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Btitle%3Aapplication+%2Btitle%3Asound&col=javaforums
    BTW: You can doo this yourself

  • How to load and define Java Store Procedures using Consolidator Manager??

    Hi,
    I am trying to create a store procedure with a very easy example and I can not succeed. i am a bit new with OLite and I will appreciate any help from your side. I am quite lost now regarding of using java with OLite and it is becoming quite urgent for me. Thanks a lot in advanced.
    Those are the steps that I follow:
    - Creating the java class
    I create the java file MYUPPER.java with next code :
    public class MYUPPER {
    public static String doUpper( String p_text )
    return p_text.toUpperCase();
    I compile it and I create the jar file:
    C:\>javac MYUPPER.java
    C:\>jar cf MYUPPER.jar MYUPPER.class
    - This is an abstract of my java code using the API:
    ( m_cm is ConsolidatorManager)
    // Create the java resource
    m_cm.createStoredProc( "MYUPPER.jar", "MYUPPER", "doUpper", "doUpper");
    // Add it to the publication
    m_cm.addJavaResource( "PMTS", "MYUPPER" );
    - After running that code I do not receive any exception and checking into the repository looks ok:
    a) From the Mobile Server I can see the Java Ressource MYUPPER for that publication
    b) I can see the entries in C$Resouces and in C$Pub_Objects as well
    *** ON THE CLIENT:
    Then I go to the client device a Windows XP labtop where I did install the jre 5.0 and I added the bin path to the system variable PATH.
    - I get a POL-8000 error when synchronizing (could not start the Java Visrtual Machine)
    - Anyway, I can see the MYUPPER.class file deployed in the same directory than the databases are.
    - I have also tried next from msql:
    c:\>msql system/manager@jdbc:polite:tomeu_conscli
    Oracle Lite MSQL Version 10.3.0.2.0
    Copyright (c) 1997, 2008, Oracle. All rights reserved.
    Connected to: Oracle Lite ORDBMS
    Database Name: CONSCLI (Read Write)
    Database Version: 10.3.0.2.0
    Auto Commit: off
    Driver Name: oracle.lite.poljdbc.POLJDBCDriver (OLite 4.0)
    SQL> select * from c$resources;
    PUB_NAME | DB_NAME | RESOURCE_NAME | RESOURCE_TYPE | RESOURCE_DATA
    PMTS | pmts | MYUPPER | JAVA CLASS | -¦¦¥ 1
    1 row(s) returned
    SQL>
    SQL> exit
    Disconnected from CONSCLI
    c:\>msql system/*****@jdbc:polite:tomeu_pmts
    Oracle Lite MSQL Version 10.3.0.2.0
    Copyright (c) 1997, 2008, Oracle. All rights reserved.
    Connected to: Oracle Lite ORDBMS
    Database Name: PMTS (Read Write)
    Database Version: 10.3.0.2.0
    Auto Commit: off
    Driver Name: oracle.lite.poljdbc.POLJDBCDriver (OLite 4.0)
    SQL> select doUpper('fhjdjf') from dual;
    [POL-8035] no such attribute or method
    SQL> create table sp (id number(1) primary key );
    Table created
    SQL> alter table sp attach java source "MYUPPER" in '.';
    [POL-8028] error in calling a Java method
    SQL> commit;
    Commit complete
    SQL> select sp.doUpper('fhjdjf') from dual;
    [POL-8035] no such attribute or method
    Lost... :(
    Tomeu

    sorry to bother, similar like above, i tried many times on my computer to load a simple image in java application.. here's my code:
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    public class View extends JFrame {
         private URL imageURL;
         private File file;
         private Image sourceImage;
         private String name, title, message;
         private int width, height;
        public static void main(String[] args) {
            System.out.println( "Hello Eros!!!" );
            View img = new View();
        public View() {
             name = "D:/shared/inputpic.gif";
             file = new File( name );
            Toolkit toolkit = Toolkit.getDefaultToolkit();
            try {
                imageURL = new URL("http://www.google.com.my/images/logo_sm.gif" );
            } catch (MalformedURLException e) {
            if ( file == null ) {
                sourceImage = Toolkit.getDefaultToolkit().getImage( name );
                System.out.println( file );
            } else {
                sourceImage = toolkit.getImage( imageURL );
                System.out.println( file );
            width = sourceImage.getWidth( this );
            height = sourceImage.getHeight( this );
            System.out.println( "Pixel = " + width + "x" + height );
            if ( width * height == 1 ) {
                title = "Greetings";  // Shown in title bar of dialog box.
                if ( file == null ) {
                    message = "Unable to load the file " + name;
                } else {
                    message = "Unable to load the link " + imageURL;
                JOptionPane.showMessageDialog(null, message, title, JOptionPane.INFORMATION_MESSAGE);
    }could anyone test this n give my the reason i couldnt even load the image

  • How do you get the Java API onto Computer

    Hi guys,
    Well I want to practice Java at home, but instead have been staying up late at night at the University's Computer Lab.
    I have downloaded the Forte for Java, but I don't need all the Graphics classes since my programming class is centered on Programming in the UNIX environment. Not too long ago, I purchased SuSE Linux which had the Java Language and the compiler. I successfully managed to dual boot an old computer with it. It was easy because SuSe Partitioned the drive for you if it had a WIN32 filesystem.
    My parents bought me a laptop and it came with Windows XP. I have ever since wanted to Dual Boot this system with Suse Linux, but can't because 1.) SuSe Linux doesn't partition the drive because Windows XP resides on a NTFS filesystem. 2.) I can't risk doing it myself because I have a lot of critcal information.
    It would be really neat to work in Linux to program, because then I could do some serious homework as well practice. Forte for Java I am not really knowledgeable of it. I can't get the editor to work and it doesn't feel like I am in UNIX at all which defeats the purpose of taking trying to succeed in this programming class.
    Could somebody help me with my woes on how to deal with these matters. How can I get SuSe Linux on my XP computer safely and if it can be done how do I use the Forte for Java.
    Thanks for all your support,
    mileinfive-serious about programming

    The first question: http://sdb.suse.de/en/sdb/html/dstark_linux_xp.html
    F4J will be the same on both operating systems.. what actually is your question regarding it?

  • How to sort taxonomy with Java api?  Please Help

    Can someone please help me out?  I understand and can display the contents of a taxonomy. But I need it to be displayed in alphabetical order.  Manual ordering does not exist for taxonomies.  How do you sort a taxonomy in java?
    The following snip of code can get the taxonomy and loop through it but isn't ordered correctly.  Can some kind of comparator be used somehow?  Points will be rewarded!  Please help.
    //Get connection to KMCM path
    RID rid = RID.getRID(strPathToKMCM);
    IResource resource = ResourceFactory.getInstance().getResource(rid, context);
    ICollection collection = (ICollection) resource;
    IResourceList children = collection.getChildren();
    for (int i = 0; i < children.size(); i++){
         IResource ir = children.get(i);

    I'd also be interested to know how to do this.
    I found this code section to sort by date, but couldn't change it to get it to work to sort alphabetically.
    private void sortResouceListByDate(IResourceList resourceList) throws Exception {
    // create property names to index properties
    IPropertyName iPropSort = new PropertyName("http://sapportals.com/xmlns/cm", "modified");
    //create a comparator to order the resource list
    ResourcePropertyComparator rRPC = new ResourcePropertyComparator(iPropSort, false);
    //order the resource list
    resourceList.sort(rRPC);
    Link where code was found:
    https://forums.sdn.sap.com/thread.jspa?forumID=42&threadID=148468&messageID=1670970#1670970
    We are using:
    Portal 6.0.15.0.0
    KM 6.0.15.4.0
    Thanks!!

  • How to load file using Java

    Hello,
    I am trying to load file into the TimesTen (csv or txt) using Java language. I tried using query "LOAD DATA INFILE ..." but I received error that there is something wrong in word "DATA", later I tried to copy solution from sample programs written in Java but I get a lot of error which i couldn't solve. I also tried to use ttBulkCp in Java like this: query = {CALL ttBulkCp ... } but it wasn't working as well. There must be a way to load data from file to the TimesTen table using script written in Java, right?
    Thank you for any ideas.

    If you take a look at the quickstart guide you get when you install the product you'll see a java code example called 'level3.java' which does what you want:
    This program uses the TimesTen JDBC driver to perform order processing operations:
    a) Connect to the database using the TimesTenDataSource interface
    b) Process all orders in the input3.dat file by inserting into the ORDERS and ORDER_ITEM tables.....
    Regards
    Tim

  • How can we access the java API from the BO report

    Post Author: kusammurali
    CA Forum: JAVA
    Hi,
    Pls clarify my doubt
       Busines Objects Developer suit comes with either JAVA SDK or .NET SDK  COM/VISUAL BASIC SDK . am i right?
       By Using visual basic we can customize the report  (Tools--->Macros  and create VB macro)
        What is the process of accessing  .NET or JAVA SDK ? is there any separate editor for java and .net ?
    Thanks
    Murali.

    Using object tags is the correct way and only way to download the plugin and let the client decide whether he can download it r not. There is no way to install automatically
    I dont think there is a way to install automatically without a user intervention coz, it can open the floodgates for potential hackers.
    Can u cite an example about which programs can be installed automatically and why do u want the plugin to be installed automatically?
    ciao

  • How to generate report from JAVA API object if anybody have  the tutorial

    Pls send to this id :[email protected]
    i have lots of doubts in that process .i dont have any matrial to read this
    pls anybody help me
    thank you

    http://forum.java.sun.com/thread.jspa?threadID=5203324&messageID=9811077
    http://forum.java.sun.com/thread.jspa?threadID=5212278
    Hope the above posts might help you.
    Ramesh.v84 wrote:
    if any body having any document regarding ireport pls send it through this id [email protected]
    thank youTake pains and try to search google with appropriate keyword,i'm sure u'd be getting a lot many tutorials there.
    Hope there are no hard issues on this regard :)
    REGARDS,
    RaHuL

  • Java API to work with Oracle Workflow

    Hi,
    I'm new to Oracle Workflow. Currently, I'm starting to work on a java front-end to work with some features of Oracle Workflow.
    The only thing I know, is that I should be using workflow 2.6.3, and someone gave me a jar which is supposed to be the java API to the workflow, and a link to some online info:
    http://download-uk.oracle.com/docs/cd/B19306_01/workflow.102/b15855/toc.htm
    The api I received, was a jar file named "wfapi.jar". It was sent to me by email, don't know where they got it from.
    And that's it ... it's the only info I received.
    Searching the web, I found this interesting article:
    http://www.oracle.com/technology/products/ias/workflow/release262/wfjavawp.pdf
    That teaches me how to work with the java API, but the document itself is intended for release 2.6.2 (november 2001). So I started doing the first coding, and found that I have no way of implementing the instruction: "import oracle.apps.fnd.common.*;"
    Seems I don't have the "common" part of the package ... that just pops up two reasons:
    1. I don't have the complete java API;
    2. This code is for version 2.6.2, and in version 2.6.3 of the API the "common" was removed (which I think it would be quite odd).
    So I endup with no way of testing, and don't know the product well enough to start working and learning with it.
    Anyone can give me some lights?
    Where can I find a complete and definite complete java API?
    What about some guide with some examples on how to start working with the API?
    Where can I search the demo java programs?
    If I download the Oracle Workflow 2.6.3 from oracle.com, will I be able to get that API? Will I need to install it to get the API? Do I need the Oracle DB to be installed first?
    I would appreciate some help on how I can startup using this, or what should I look for, and most importantly, where?
    Thank you very much.
    ----- code example -----
    To test using what I got, I've ran the following code:
              String sUser = "myuser";
              String sPass = "mypass";
              String sJdbc = "jdbc:oracle:thin:@";
              String sStrg = "myserver:1520:mysid";
              String sCharSet = null;
              WFDB myDB;
              WFContext ctx;
              myDB = new WFDB(sUser, sPass, sJdbc, sStrg);
              sCharSet = System.getProperty("CHARSET");
              if(sCharSet==null) {  //cannot be null
                   sCharSet = "UTF8";
    This just gives me the following message:
    [22-11-2005 14:58:54:328 GMT] 7b4542dd WebGroup E SRVE0026E: [Servlet Error]-[oracle/apps/fnd/common/VersionInfo]: java.lang.NoClassDefFoundError: oracle/apps/fnd/common/VersionInfo
         at      at oracle.apps.fnd.wf.WFDB.<clinit>(WFDB.java:27).null(Unknown Source)
    So it seems the "common" is needed after all ...

    Hi,
    Can any one Please Help me out am Stuck up with the following Exception While trying to invoke a External java Function.
    Step 1: Written the attached Java Class from "Oracle WorkFlow's Developers's" guide.
    Ref: http://www.stanford.edu/dept/itss/docs/oracle/10g/workflow.101/b10284/deffa02.htm#stdjfa
    Step 2: In builder created a process and created a Java Function
    <package-name>.<class-name>
    Step 3: Compiled the Java Class,and Created a jar file and included the jar and the required .jar files [which are required to make that class compile free] in the class path.
    Step 4: We modified the wfjvlsnr.bat by including the custom jar file which was created and the dependent jar files in the classpath and ran the Java Agent.
    Step 5: Invoked the Process from client, once the process is invoked we are getting
    Unable to load class gov.oracle.apps.fnd.wf.SampleWF
    java.lang.ClassNotFoundException: gov.oracle.apps.fnd.wf.SampleWF
    Tue Oct 10 14:33:38 GMT+05:30 2006 Enqueuing VAC02/VAC02 gov.oracle.apps.fnd.wf.SampleWF
    null
    Unable to load class gov.oracle.apps.fnd.wf.SampleWF
    : java.lang.ClassNotFoundEx
    ception: gov.oracle.apps.fnd.wf.SampleWF
    please do reply to my mail [email protected]

  • Inetgrating MDM Java API's with Java proxies on XI side

    Hello friends
    Can anyone help me on integrating MDM JAVA API's used for talking to MDM Server and the Javaproxies we generate from the XI side.I am having an application class inside the Java API's (it contains the main function)which triggers the functionality on the MDM side.But how to trigger it from the Java proxies side??I can get the different fields that I have to send  in the impl.java program of my generated proxy,but how to trigger the MDM Java API's from inside this.Also there is one problem I needed to pass the datatype fields from the Javaproxy(XI)side to the CRUDMAINTABLERecord program..Since importing the javaproxy package is giving me an error(I don't know why)I don't know how to pass these datatypes to the CRUD program.Please help me out on this urgently.Thank you all in advance.

    Hi Deepthi,
    I had used the below code for retrieving the workflow's id's
      RetrieveWorkflowsCommand RetriveworksFlows = new RetrieveWorkflowsCommand(connections);
    RetriveworksFlows.setSession(session);
    try{
        RetriveworksFlows.execute();
    catch(Exception e)
    WorkflowProperties[] workflowpro = RetriveworksFlows.getWorkflows();
    WorkflowId[] workflowid = new WorkflowId[workflowpro.length];
    for(int n=0;n<workflowpro.length;n++)
    workflowid[n] = workflowpro[n].getId();
    String workfloName = workflowpro[n].getLaunchType()+"";
    System.out.println("id--"workflowid"name"+workfloName);
    and for creating the workflow job id i had written the below code
    CreateWorkflowJobCommand workflowjobcommand = new CreateWorkflowJobCommand(connections);
    workflowjobcommand.setWorkflowId(workflowid[0]);
    workflowjobcommand.setRecordIds(recordId);
    workflowjobcommand.setSession(session);
    try{
        workflowjobcommand.execute();
    catch(Exception e)
    then to start the workflow what  i  have to do .
    please expain me

  • Steps for java apis and mdm

    Hi all ,
    How we can work with JAVA APIs and MDM .
    Please tell step by step ways.
    thanks in advance.
    Thnks
    nm

    Hi Man,
    You have to specify the correct JAR files in the classpath of the Java Virtual Machine (JVM). The API consists of five JAR files:
    1. mdm-admin.jar
    2. mdm-common.jar
    3. mdm-core.jar
    4. mdm-data.jar
    5. mdm-protocol.jar
    These files in one single archive file with the name MDMJavaAPI_Ver<buildnumber>.zip. you can download this file from the service market place by using mentioned below link:
    http://service.sap.com/swdc
    then goto Download>Support Packages and Patches> Entry by application group -->SAP NetWeaver -->SAP MDM -->SAPMDM5.5 -->Java API
    for the Java API documentation, you can download it from the link below:
    http://help.sap.com/javadocs/MDM/current
    But remember one thing that this JAVA API Version file must be compitable with your MDM Server version.you can verify this as per the build version.
    Hope this will help you.
    TNR,
    Saurabh...
    Edited by: Saurabh Kumar Sahu on Feb 1, 2008 8:09 AM
    Edited by: Saurabh Kumar Sahu on Feb 4, 2008 7:49 AM

  • MDM JAVA API beginners queries

    Hi,
    I am a beginner for Web Dynpro. I am working on MDM and i need to use the MDM JAVA API
    I have downloaded the zip files and reading the documentation.
    I need guidance on how to proceed. Kindly help
    thank you
    bhakti

    Hi Rita,
    You can follow the below likns which will guide you on how to go about using JAVA Apis with MDM:
    How to start to work on MDM JAVA API by using webdynpro for java
    Re: MDM Java Tutorial
    Standard practise to make the APIs reusable ?
    MDM Java API Samples Framework
    Sample code required to Create,Update,Delete,Read & Search for records MDM
    Sample code is required on MDM JAVA APIs thru Webdynpro for java
    Hope It Helped
    Thanks & Regards
    Simona Pinto
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Where is "MDM Java API Samples Framework.zip"?

    hi everyone,
    I was reading the "How To Use tthe MDM Java API" document (https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0eb1f75-136d-2a10-99b2-ea60f1dee9e8) and it referenced a zip file called "MDM Java API Samples Framework.zip".
    Unfortunately I cannot seem to find that zip file anywhere!
    Does anyone know where I can find this file so that I can look at the examples?
    Thanks very much,
    mm

    Hello Mike:
    Go here:
    Data Unification How-to Guides for SAP NetWeaver  7.0 [original link is broken]
    And the First howTo has the "attached system files". Inside you'll find what you are looking for
    Kind Regards
    Alejandro

  • How to create a taxonomy using MDM 5.5 SP05 JAVA API?

    Hi ALL,
    I have a requirement in which i have to create a taxonomy using MDM 5.5 SP05 JAVA API.
    Can anyone tell me how that functionality can be achieved?
    Thanks in Advance.
    Rajat.

    HI, Rajat.
    For exposing hierarchy in WD view you need to use node with recursive children in the context and Tree/TreeNodeType UI elements in view layout.
    For load hierarchy records you have to use RetrieveLimitedHierTreeCommand. You can load whole hierarchy (as I know, SP05 API have a bug - only first 1000 record can be loaded) or load hierarchy nodes on demand (using OnLoadChildren action of TreeNodeType element).
    Refer to this example of loading child records:
    // Context structure:
    // Tree (model node, model class built from com.sap.mdm.data.Record interface)
    //  |-- Children (recursive child node repeating Tree node)
    //  |-- DisplayValue (string value attribute, TreeNodeType's text property bound here)
    //  |-- HasChildren (boolean value attribute, TreeNodeType's hasChildren property bound here)
    // parentElem is element of node Tree or Children for which we must load child records, null for first level of hierarchy
    private void fillNodeWithChildren(IPrivateHierarchySelectView.ITreeElement parentElem) {
         // Determining RecordId of parent record and context node to which child records belong
         RecordId parentRecordId = null;
         if (parentElem != null) parentRecordId = parentElem.modelObject().getId();
         IPrivateHierarchySelectView.ITreeNode parentNode =
              parentElem == null
                   ? wdContext.nodeTree()
                   : parentElem.nodeChildren();
         // Loading children with RetrieveLimitedHierTreeCommand
         try {
              RetrieveLimitedHierTreeCommand retTreeCmd = new RetrieveLimitedHierTreeCommand(...); // use suitable constructor
              if (parentRecordId != null) retTreeCmd.setRootNode(parentRecordId);
              retTreeCmd.setResultDefinition(...); // don't forget set ResultDefinition
              retTreeCmd.execute();
              HierNode subRoot = retTreeCmd.getTree()
              parentNode.invalidate();
              // Processing loaded child records - add elements into parentNode
              if (subRoot == null) return;
              IPrivateHierarchySelectView.ITreeElement childElem;
              HierNode childRecord;
              HierNode[] children = subRoot.getChildren();
              int count = children == null ? 0 : children.length;
              for (int i = 0; i < count; i++) {
                   childRecord = children<i>;
                   childElem = parentNode.createTreeElement(childRecord);
                   childElem.setDisplayValue(childRecord.getDisplayValue());
                   childElem.setHasChildren(!childRecord.isLeaf());
                   parentNode.addElement(childElem);
              if (parentElem != null) parentElem.setHasChildren(count > 0);
         } catch (/* Some MDM Exceptions */) {}
    Don't forget call fillNodeWithChildren(null) in wdDoInit for load first level of hierarchy.

Maybe you are looking for

  • How to store .avi files on a DVD

    I have FCP 3 and a Mac G4. I edit short video clips for a "webumentary" www.cavebiota.com and send the files to a webmaster in another state. The webmaster prefers .avi files which I can supply on a CD if the clip is less than 650MB. Some clips, thou

  • Had problem with PhotoShop Elements 7 and now with Photoshop 9.

    When creating a slideshow the Organizer stops working and closes. What can I do to get back on track?

  • Wire harness design questions

    I'm guessing not many people here are involved with small batch design and construction of harnesses. On the last J1939 250 kbps automotive harness design that went out the manufacturer substituted some Deutsch junction connectors which effectively t

  • Sys account with two password in 9i

    Hi Guys, I got a database that sys have two password. the db is 9.06 in 32 bit window. i do this as SQL> connect sys/EXPassword as sysdba Connected. SQL> connect sys/workingPw as sysdba Connected. S I find EXPassword in exp code that still works well

  • Taglibraries in JSP

    Hi, Please help me out! I've installed Jdk1.4, Tomcat4.0 and jsk2.0 in my system. I want to use taglibraries in my application. I have to import the following packages in my tag handler import javax.servlet.jsp.*; import javax.servlet.jsp.tagext.*; d