Equivalent of a prepared stmt (with mapping table to a java class) ?

Hi,
We can fire raw-sql using SQLCall(). Do we have something similar to make and use prep stmts ?
If we have mapped tables to some java classes, this cud be done with the use of toplink 'Query' classes.
But if I dont have anything mapped and want to use the raw-sql kinda method, is it possible to make and use a prep stmt in toplink ?
Thanks,
Krishna

Hi Donald, You are right...I was actually looking for something to use JDBC code directly for these parts. So is there a way to get a java.sql.Connection out of the TopLink session and then fire prepared statements (JDBC code) using that connection ?
Can we do something like this... (do let me know if this is not the right way to do it at all...or if it is not possible at all)
ConnectionPool oCP = RuntimeServices.getConnectionPools().elementAt(0); // plz ignore that i assumed pools are returned as Vector
java.sql.Connection oCon = oCP.getDatabaseLogin().connect(prop); // is it necessary to give prop (since I got it from existing conn pools that are already setup in the server session)
Thanks,
Krishna

Similar Messages

  • Mapping data model to java classes and Interface.

    Need help in mappning my data model into java classes;
    Here are some of the details:
    Table, Poll:
    PollID int
    PollName varchar
    BusinessUnit varchar
    DisplaySchemeID int // reference to DisplayScheme table.
    Table, DisplayScheme
    DisplaySchemeID
    DisplaySchemeName
    etc
    Table, URL
    UrlID
    UrlName
    UrlDesc
    Table, PollURL
    PollURLID
    PollID
    UrlID
    PublishDate
    etc
    Table, Tag
    TagID
    TagName
    PollID
    So, a POLL is associate with a DisplayScheme.
    A Poll can have many URLs and a URL can be associate with many Polls , mapped in the PollURL table.
    and same is the situation with tags.
    Essentially I want to learn how to do one to many mappning and many to many mapping.
    Also to add, since I plan to use Ibatis for OR mapping.
    So I should a Parameter call to map for creaint a Poll. And to create a poll the form submitted will have:
    - PollName
    - URLs ( multiple )
    - one display scheme.
    - Tags ( many )
    So if you can show how to write a DAO createPoll method, then it would be great.
    Not sure if am asking a lot, but this would be a great example to move forward.

    The below is the sample DAO Class.
    For your case, you have to create your own PollBean with getters and setters and just pass the object to the method
    public int create(Connection con, ProjectBean projectBean) throws SQLException {
              int result = 0;
              String insertQuery = " INSERT INTO" +
                        " M_PROJECT(" +
                        " PROJECT_ID," +
                        " PROJECT_NAME," +
                        " PROJECT_DESCRIPTION) " +
                        " VALUES(?,?,?,?)";          
              initPrepareStmt(con, insertQuery);
              setString(projectBean.getProjectID());
              setString(projectBean.getProjectName());
              if(projectBean.getProjectDescription().equals("")){
                   setString(" ");
              }else{
                   setString(projectBean.getProjectDescription());
              result = executeUpdate();          
         return result;
         }

  • Can not map .xsql to the java class name

    I am using IBMWebAS V2.0 with HTTP server V1.3.3, but I having problem mapping .xsql to the java servlet class oracle.xml.xsql.XSQLservlet. class path is properly defined in the bootstap.properties file but where can I need to put the codes for proper servlet passing with proper extention.

    I am using IBMWebAS V2.0 with HTTP server V1.3.3, but I having problem mapping .xsql to the java servlet class oracle.xml.xsql.XSQLservlet. class path is properly defined in the bootstap.properties file but where can I need to put the codes for proper servlet passing with proper extention.

  • Bing Maps REST route service - java classes

    I am able to use the WSDL to generate the classes required to hit the SOAP Web Service.  But it appears that the classes generated using the SOAP service do not match the classes used for the REST service.  How
    can I generate the Java classes required for hitting the REST Route Web Service.  I am able to call the REST service and get an XML or JSON response, but having issues creating the objects with the data returned.

    The REST and SOAP services are completely different. The SOAP services were created about 8 years ago and the REST services about 4 years ago. The REST services have a bunch more features and functionalities. There are a couple of ways you can consume the
    Bing Maps REST services in Java. The first is to manually parse the responses. Here are some examples:
    http://javaprogramming.language-tutorial.com/2012/10/geocoding-using-bing-rest-api.html
    http://javaprogramming.language-tutorial.com/2012/10/reverse-geocoding-using-bing-rest-api.html
    https://ngjon.wordpress.com/2011/05/20/bing-maps-geocoding-rest-service-java-ized/
    Alternatively you can create a set of classes that can be used for serializing the responses. I have a set of .NET data contracts for the RST services that can be ported to Java here:
    http://msdn.microsoft.com/en-us/library/jj870778.aspx
    I also created some tools to parse the REST responses in an Android app a while back. You can find the code for that here:
    http://bingmapsandroidsdk.codeplex.com/SourceControl/latest#BingMapsAndroidSDK/src/org/bingmaps/rest/BingMapsRestService.java
    http://rbrundritt.wordpress.com

  • Mapping Value Objects to Java Classes

    Hi All,
    I have one Java Class:
    public class MyBean {
        private ArrayList numbers;
    I have created one mapping value object for the same in Flex:
    package vo
        import mx.collections.ArrayCollection;
        [RemoteClass(alias="com.tcs.example.MyBean")]
        public class MyBean
            public function MyBean()
            public var numbers:ArrayCollection;
    but when I fetch the object using Remote Object, the returned object has "numbers" as null even though I'm returning from Java a filled ArrayList.
    Does any one know Why is it happening and what should I do for this.
    Thanks in advance

    Do you have getNumbers and setNumbers methods on your java bean?
    Try to activate the logs on blazeDS to see what's going on.

  • Pass table rowtype between java class and PL/SQL package

    I am a complete newbie when it comes to java itself but I've been asked to investigate the possibility of passing a rowtype datatype from a PL/SQL package to a java class and vice versa.
    I have heard of oracle.sql.ArrayDescriptor as an option but this appears to address only SQL types that are defined outside of a package.
    I'm talking about using, say, SCOTT.EMP%rowtype instead of a user-defined type. I'm thinking that a java array could be defined from the definition of a table in the database but I don't know what class would be appropriate.
    Could someone provide a simple proof-of-concept example that shows how you could use a java array to pass data to a package that is expecting a table rowtype variable and conversely a java class that reads the rowtype returned into a java array?
    Would oracle.jdbc.driver.OracleDatabaseMetaData be a way of doing this?
    Thanks!

    Kuassi:
    <br><br>
    Not at all. I didn't feel like you misled me at all. I'm grateful for your help. I think that maybe I failed to describe my problem adequately in the first place.
    <br><br>
    Perhaps I've also gotten stuck on the term <i>ref cursor</i>.
    <br><br> At any rate, the people I'm gathering information for have further refined their requirement. We want to take a collection of data and send it to a procedure. It doesn't have to be a "ref cursor" or "%rowtype" per se, but something that is maintainable and workable from both ends.
    <br><br>
    For example, to use the old SCOTT/TIGER paradigm, let's suppose we have a website where you can indicate which employees work for a given department. The website allows us to fill in information for multiple employees at once. We want to use a servlet that gathers all the employees data and sends it on through to a PL/SQL package so that the data is validated and committed in the database.<br><br>
    Perhaps the java servlet should handle the multiple employee records as an array? If so, how can a PL/SQL procedure be made to recognize that construct?<br><br>
    I can accept that java cannot create a "ref cursor" type to send information to a package, but might this be possible via some other implementation?
    <br><br>
    Hopefully this is a little more clear. If not, please let me know and I'll try to inject more details as to what we are trying to accomplish.
    <br><br>
    Once again, thanks for your persistent replies and help.
    <br>

  • Performance of mapping Oracle objects to Java classes

    Hi,
    By retrieving some test data from Oracle database in a Java application, I compared the traditional JDBC/RDBMS solution to JPublisher-generated-classes/Oracle-object-tables solution. The underlaying Oracle database and the client environment was the same in both tests. Although the table schemas were different, they represented the same data.
    It seems that the traditional JDBC/RDBMS solution is much faster. Is this a reality or did I make a mistake somewhere?
    BR,
    Timo

    I am also facing performance overhead when using Jpub generated
    classes for the object types.
    I am using 817 jdbc and jpub but my database is 816. I have seen
    that following statements each take around 2-3 seconds to
    execute. Is there any communication between driver and database
    to resolve the object type ?
    Please help.
    cCallableStatement =
    (OracleCallableStatement)m_cConnection.prepareCall("{call
    list_unsync_appts_array(?,?,?,?,?,?,?,?)}");
    ((OracleCallableStatement)cCallableStatement).setCustomDatum(1,ct_number_arr);
    cCallableStatement.registerOutParameter(2,OracleTypes.ARRAY,"T_EVENT_SUMMARY_ARR");
    cCallableStatement.registerOutParameter(3,OracleTypes.ARRAY,"T_EVENT_DETAIL_ARR");
    cCallableStatement.registerOutParameter(4,OracleTypes.ARRAY,"T_EVENT_SUMMARY_ARR");
    cCallableStatement.registerOutParameter(5,OracleTypes.ARRAY,"T_EVENT_DETAIL_ARR");
    cCallableStatement.registerOutParameter(6,OracleTypes.ARRAY,"T_EVENT_SUMMARY_ARR");
    cCallableStatement.registerOutParameter(7,OracleTypes.ARRAY,"T_ATTENDEE_EMAIL_ARR");
    cCallableStatement.registerOutParameter(8,OracleTypes.ARRAY,"T_ATTENDEE_EMAIL_ARR");
    cCallableStatement.execute();

  • Java Class Mapping Program in BPM process

    I have a scenario where I'm receiving an IDOC I then use a JAVA mapping program in my first transformation step.  Immediately following I have a switch step but there is not data in from the mapping program.
    1) Receive Step
    2) Transformation IDOC to Table using Java class
    3) Switch step based on Table field value
    Problem is there is no values in the table. 
    This java class was not developed within NetWeaver but was used in our old process. We simply imported the jar file for accessing our existing java classes.  Is there something else we need to do to utilize our java modules within the BPM process?

    Hi,
    You must to have in the java class:
    - You java have to be like:
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import java.util.HashMap;
    import com.sap.aii.mapping.api. AbstractTrace;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    public class JavaMapping implements StreamTransformation {
       private Map           param = null;
       private AbstractTrace  trace = null;
       public void setParameter (Map param) {
          this.param = param;
          if (param == null) {
             this.param = new HashMap();
       public void execute(InputStream in, OutputStream out) {
    try {
             trace = (AbstractTrace)param.get(
                       StreamTransformationConstants.MAPPING_TRACE );
             trace.addInfo(‘...’);
             String receiverName = (String)param.get(
                       StreamTransformationConstants.RECEIVER_NAME);
    The method execute take the InputStream with the XML source. The out (OutputStream) have to be an XML like the IDOC structure.
    Regards.

  • Where find java classes corresponding to message mapping and interfaces ?

    Hi
    Forum,
    when i create my objects in Repository, like Message interface and messgae mapping, correspoding to them, java class in created,  where can i see these java classes in the XI's file system,

    Hi sudeep,
    During the installation of Xi we select a database.So all the objetcs and related things that we create in IR and ID will be saved in the database only.I dont know how to check the .class file for each object...
    Check these weblogs from sravya where she has given you the table names where the IR and ID objects are stored:
    /people/sravya.talanki2/blog/2007/01/11/ripping-off-sap-xi-stack-133sharing-the-goodies-of-abap-api146s
    /people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off
    /people/sravya.talanki2/blog/2006/12/28/skelton-of-mapping-runtime-in-sap-xi
    regards
    BILL

  • Insert/flag data to PV9 (db) with CVP script (Call Studio) and create java class

    Hi all,
    i already created workflow with CVP script using Call studio, i have a problem how to insert call entered digit to PV9 and check the bill customerID with java class.
    The workFlow design:
    1. Customer enter the customerID (sessionID from ICM)
    2. Play the customerID ---> Insert to PV9 (ex: 12390)
    3. Check monthly bill
    4. Option enter another customerID
    5. Back to step 2 ---> Insert to PV9 (ex:12390,12380)
    When we want to create a java class is enough to install default call studio + JDK and create new call studio project? because when i created new call studio project only will be created callflow folder and app.callflow
    thx before,
    darma

    Hi Chintan,
    This'is my callflow design with callStudio
    i want create java class to get value from REST Url, i already have the script but i'm still confused how to deploy it in call studio, my call studio project is like this
    this'is the java source, how to compile and what prerequisites are required?
    /*   1:    */ import com.audium.server.AudiumException;
    /*   2:    */ import com.audium.server.session.ActionElementData;
    /*   3:    */ import com.audium.server.voiceElement.ActionElementBase;
    /*   4:    */ import java.io.BufferedReader;
    /*   5:    */ import java.io.InputStreamReader;
    /*   6:    */ import java.io.PrintStream;
    /*   7:    */ import java.net.URL;
    /*   8:    */ import java.net.URLConnection;
    /*   9:    */ 
    /*  10:    */ public class MyBill
    /*  11:    */   extends ActionElementBase
    /*  12:    */ {
    /*  13:    */   static final int PREDICT_THRESHOLD = 3;
    /*  14:    */   private static String vBill;
    /*  15:    */   
    /*  16:    */   public static void GetDataBill(String strDataBill)
    /*  17:    */     throws Exception
    /*  18:    */   {
    /*  19: 23 */     vBill = "0";
    /*  20:    */     
    /*  21: 25 */     URL strBill = new URL("http://192.168.10.23//wsclient.php?id=" + strDataBill);
    /*  22:    */     
    /*  23:    */ 
    /*  24:    */ 
    /*  25: 29 */     URLConnection hpCon = strBill.openConnection();
    /*  26: 30 */     int len = hpCon.getContentLength();
    /*  27: 32 */     if (len > 0)
    /*  28:    */     {
    /*  29: 36 */       BufferedReader in = new BufferedReader(
    /*  30: 37 */         new InputStreamReader(strBill.openStream()));
    /*  31: 38 */       vBill = in.readLine();
    /*  32:    */     }
    /*  33:    */     else
    /*  34:    */     {
    /*  35: 45 */       vBill = "0";
    /*  36:    */     }
    /*  37: 49 */     System.out.println("YourBill : " + vBill);
    /*  38:    */   }
    /*  39:    */   
    /*  40:    */   public void doAction(String name, ActionElementData actionAPI)
    /*  41:    */     throws AudiumException
    /*  42:    */   {
    /*  43: 63 */     String strCustID = (String)actionAPI.getSessionData("QueueIDs");
    /*  44:    */     try
    /*  45:    */     {
    /*  46: 66 */       GetDataBill(strCustID);
    /*  47:    */     }
    /*  48:    */     catch (Exception e)
    /*  49:    */     {
    /*  50: 69 */       System.out.println("0");
    /*  51:    */     }
    /*  52: 74 */     String balance = vBill.trim();
    /*  53: 81 */     if (balance == "0")
    /*  54:    */     {
    /*  55: 83 */       actionAPI.removeAllSessionData();
    /*  56: 84 */       actionAPI.setSessionData("balance", balance);
    /*  57:    */     }
    /*  58:    */     else
    /*  59:    */     {
    /*  60: 91 */       String strSess = balance.substring(0, 1);
    /*  61: 92 */       String strSess2 = balance.substring(1);
    /*  62:    */       
    /*  63:    */ 
    /*  64: 95 */       actionAPI.setSessionData("StsBill", strSess);
    /*  65: 96 */       actionAPI.setSessionData("ValBill", strSess2);
    /*  66: 99 */       if (strSess > "1")
    /*  67:    */       {
    /*  68:102 */         actionAPI.setSessionData("StsBill", "1");
    /*  69:103 */         actionAPI.setSessionData("balance", strSess2);
    /*  70:    */       }
    /*  76:110 */       if (strSess == "0")
    /*  77:    */       {
    /*  78:112 */         actionAPI.setSessionData("StsBill", "0");
    /*  79:113 */         actionAPI.setSessionData("balance", strSess2);
    /*  80:    */       }
    /*  81:115 */       if (strSess == "9")
    /*  82:    */       {
    /*  83:117 */         actionAPI.setSessionData("StsBill", "9");
    /*  84:118 */         actionAPI.setSessionData("balance", "0");
    /*  85:    */       }
    /*  86:121 */       if (strSess2.trim() == "") {
    /*  87:122 */         actionAPI.setSessionData("balance", "0");
    /*  88:    */       } else {
    /*  89:124 */         actionAPI.setSessionData("balance", strSess2);
    /*  90:    */       }
    /*  91:    */     }
    /*  92:    */   }
    /*  93:    */ }
    please help Me

  • Problem about mapping 1 column with different tables..

    Hi,
    I have 3 Tables (I will give examples not exact tables but same structure and logic)
    Cars :
       ID  ( Car ID)
       Name
    Planes :
       ID ( Plane ID)
       Name
    Processes :
       ID ( Process ID )
       Type
       VehicleID {code}*Sample Processes Table Data*
    {code:java}ID     Type      VehicleID
    1          1               1       
    2          1               2
    3          2               1
    3          2               2{code}
    When type is *1*, This is *Car* and means that *VehicleID* maps to *Cars Table*,
    When type is *2*, This is *Plane* and means that *VehicleID* maps to *Planes Table*.
    And So On 3, 4, 5, 6 .. for Additional tables.
    How can i map something like that? I can not merge these tables, they all must be separated..
    I used to handle this by writing native SQL with some functions, however with JPA i could not figure it out..
    Thanks again
    Regards.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I do not know an easy way to do this in pure JPA. EclipseLink though is able to do this using a variable one to one mapping:
    http://wiki.eclipse.org/Introduction_to_Relational_Mappings_%28ELUG%29#Variable_One-to-One_Mapping
    This can be set using a customizer or JPA like annotations:
    @VariableOneToOne(
    targetInterface=Vehicle.class,
    cascade=PERSIST,
    fetch=LAZY,
    discriminatorColumn=@DiscriminatorColumn(name="TYPE", discriminatorType=INTEGER),
    discriminatorClasses={
    @DiscriminatorClass(discriminator="1", value=Cars.class),
    @DiscriminatorClass(discriminator="2", value=Planes.class)
    Best Regards,
    Chris

  • Issue with Value Mapping table

    Hi
    I want to upload a external value mapping table to XI.
    I do not want to code for it on the SAP R/3 side. and there might be more than 2000 value mappings. so can we upload a external mapping table.
    Is it possible?? if yes, then how??.
    Thanks
    Nikhil

    XI 3.0
    Hi,
    first of all one helpful information:
    You can see all data of the value mapping tables using the
    runtime workbench: Go to the IntegrationBuilder->
    Integration Monitoring->Cache Monitoring, select 'Search
    for Value-Mapping' and choose your context.
    The value mapping tables are located in the J2EE part of
    XI. You have to send your value mapping data to an Java proxy
    located in the J2EE part. First, the inbound proxies
    (synchronous and asynchronous) need to be activated.
    There are two urls, named in the docu, you have to call
    from a web browser:
    (asynchronous replication scenario)
    http://<Server>:<Port>/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplicationSynchronous&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous&method=valueMappingReplicationSynchronous
    (synchronous replication scenario)
    http://<Server>:<Port>/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplication&method=valueMappingReplication
    You only need to perform this step once (for each
    installation).
    If you already have a sender for the mapping data, the
    next step is to configure the scenario in the directory
    Create a communication channel with
    Adapter type: XI
    Transport protocol: HTTP 1.0
    Message-Protocol: XI 3.0
    Adapter-Engine: Integration Server
    and host name and http port of the XI J2EE Engine and Path Prefix: /MessagingSystem/receive/JPR/XI
    The user XIAPPLUSER has the required permissions.
    For an asynchronous communication you can use the
    inbound interface ValueMappingReplication from the namespace http://sap.com/xi/XI/System.
    In that namespace there are also outbound interfaces you
    can use to generate a sender proxy and synchronous
    interfaces for the same purpose. Set the created communication channel as the receiver channel.
    You may need a mapping and so on depending on your
    sender. If you use the provided outbound interfaces there
    is no mapping required.
    The Data:
    You can create your own GUIDs using some function like GUID_CREATE in ABAP. You don't need to declare the context you use. Something like http://mycompany.com/Test should be ok.
    A sample in ABAP:
    CRM and R3 are the names of the business systems.
    data: lcl_value_mapping type ref to co_svmr_value_mapping_rep,
            ls_value_mappings type svmr_value_mapping_replication,
            ls_item type svmr_value_mapping_rep_item,
            lcl_system_fault type ref to cx_ai_system_fault.
      ls_item-operation = 'Insert'.
      ls_item-group_id = '315286378563858425463215845123548'.
      ls_item-context = 'http://Test'.
      ls_item-identifier-scheme = 'FormOfAddress'.
      ls_item-identifier-agency = 'CRM'.  <- Business System A
      ls_item-identifier-value = '2'.
      append ls_item to ls_value_mappings-value_mapping_replication-item.
      ls_item-operation = 'Insert'.
    Use the same guid for another value of the same group
      ls_item-group_id = '315286378563858425463215845123548'.
      ls_item-context = 'http://Test'.
      ls_item-identifier-scheme = 'FormOfAddress'.
      ls_item-identifier-agency = 'R3'. <- Business System B
      ls_item-identifier-value = '1'.
      append ls_item to ls_value_mappings-value_mapping_replication-item.
      create object lcl_value_mapping.
      try.
          call method lcl_value_mapping->execute_asynchronous
            exporting
              output = ls_value_mappings.
          commit work.
        catch cx_ai_system_fault into lcl_system_fault.
          write: 'Error: ', lcl_system_fault->errortext.
      endtry.
    See the XI documentation at SAP XI Design and Configuration Time -> Configuration -> Value Mapping -> Value mapping Replication for Mass Data.
    Hope that helps.
    Regards,
    Christian

  • Create multiple idoc with multiple receivers based on value mapping table

    Hi,
    Scenario: 
    Step1 : sender sends a finance doc iin the form of an idoc. This idoc will have multiple line items based on profit center. Do determine the value of receiving comp code(header field) n receiving system(logical sys name) value mapping table has to be used.
    Solution so far: I can put an rfc lookup for fetching receiving comp code from mapping table with i/p paraameter as profit center . And split the incoming idoc based on comp code value by using split by value. Now I need your advise 2 take this further.
    Issue 1 : say the incoming idoc has 4  line seg wid 4 diff profit center
    Profit center.       Rec comp code.   Recv sys
    P1.                       C1.                        R1
    P2.                       C2.                        R1
    PS.                       C2.                        R1
    P3.                       C3.                        R2
    Nw using this info, I want 3 diff idocs to be created for each unique comp code.
    Idoc 1 : for C1 wid one line item + 1 for reconsilation ( to be generated additionally)
    Idoc2 : for C2 wid 2 line items + 1 for reconsilation
    Idoc 3: for C3 wid 1 line item + 1 for reconsilation
    Idoc 1 and idoc 2 shud be sent to R1.
    Idoc 3 shud be sent to R2.
    Kindly advise on this

    Hi experts,
    U all r pretty close, but let me put this more clearly.
    Step1: create multiple idocs based on unique comp code - I'm able to do this using rfc lookup n split by value. So I get 3 idocs each for c1, c2 n c3.
    Nw as per the values from value mapping table.
    Idoc for c1 contains 1 line seg.
    Idoc for c2 contains 2 line segs.
    N idoc for c3 contains 1 line seg.
    steps2 n 3,  where I do not have a confirmed solution yet n need ur advise.
    Step 2 : for each idoc generated I need 2 create n additional segment, mapping 4 which will be based on the values in the original segments for that idoc.
    In d above scenario, idoc for c1 contains 1 line seg, nw I want 2 add one more seg to it. The amount and pisting key values in this segment wud be calculated based on the values of the amount and posting key belonging to the original segment in this idoc.
    Similarly for idoc for c2 there are 2 segs, nw I need one more, means 3 in allm
    Hence for idoc for c3, 1 orig already present + 1 more. = total 2.
    Nw I need ur advise on how 2 generate this additional seg in each idocm
    Step 3: when all dese 3 idocs are generated, ( in this case itz 3, in real time it can be n), I need to find their respective receivers using rfc lookup n then based on the receiver send 2 resp recvng systm
    Nw how do I do this?
    Please explain with examples if possible 4 bettr understanding.
    u2020ђąu03B7kўu03C3u03C5 in advance.

  • Must a EntityBean map with data table?

    I know Not every data table will map with Entity bean
    but must a EntityBean map with a datatable?
    rgds

    Ofcourse Not, EntityBean Just A style of Bean,
    We declare something as EntityBean because it perform some action like a Entity
    For Example,A Man Contain some attribute, or A File with some attribute,
    usually we have store this in the database ,so EntityBean Usually map with data table.
    but you can also store the data in the file format as you like,you can control it in the BMP model
    in my opinion ,Entitybean is the object base on the attribute , the Sessionbean is the object base on the action with the user.So we can distinguish them��:-)

  • Problem with mapping the Entity beans onto database tables

    Hi,
    I got a problem with mapping the Entity beans onto database tables. Here are what I did:
    First Step:
    asant capture-schema
    Second Step:
    capture-schema -driver com.pointbase.jdbc.jdbcUniversalDriver -dburl jdbc:pointbase:server://localhost/sun-appserv-samples -username pbPublic -password pbpublic -table APPLICANT -table APPLICANTSKILL -table CUSTOMER -table LOCATION -table job -table JOBSKILL -table SKILL -out build/agency.dbschema
    The first step was fine. But, in the second step, I got the error message as follow:
    using dburl:jdbc:pointbase:server://localhost/sun-appserv-samples
    using username:pbPublic
    using password:pbpublic
    using driver:com.pointbase.jdbc.jdbcUniversalDriver
    using schemaname:null
    using output file:build/agency.dbschema
    JDO71100: Failed to find a class. Verify that the class is available on your CLASSPATH
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at com.sun.forte4j.modules.dbmodel.jdbcimpl.ConnectionProvider.<init>(Co
    nnectionProvider.java:38)
    at com.sun.jdo.api.persistence.mapping.ejb.CaptureSchema.main(CaptureSch
    ema.java:130)
    at com.sun.jdo.spi.persistence.support.ejb.util.CaptureSchemaWrapper.mai
    n(CaptureSchemaWrapper.java:29)
    Thanks for your help!

    You need to add the pbclient.jar or some similar name like that, in the CalssPath.

Maybe you are looking for

  • I save a file and Snow Leopard hangs

    Looking for some simple summary comments here. Since going to SL, I keep having hangs and crashes. I have read through the discussions, but never seen one quite like mine reported. I have cleaned fonts etc etc but... 1. Open Application (this occurs

  • I Can't save a contact number on my contact list on my 8520

    Hi there, My Blackberry 8520 is refusing to add contacts on my contact and freeze when I insist. What should I do? Thanks Trey Solved! Go to Solution.

  • New episodes not appearing in iTunes

    I have uploaded eight episodes total and only one is showing up in iTunes. I checked my feed on feedvalidator.org and the feed works fine. I also subscribed to the podcast and I am able to download all eight episodes but only the first episode shows

  • Opening port in Firewall to allow media sharing with PS3

    What I'm trying to do: Stream media from my G5 to my PlayStation3 using Nullriver's Media Link. It would not work and I've determined that it's the Firewall that's the problem. I've read elsewhere that the firewall in my router (Airport extreme) will

  • ALV distinguish zero and initial for type P.

    Hi all, I met an involved problem about ALV, please give me a hand. there are fields with data type P in ALV, and there could have initial value(No value) and zero value in that field, but system can not distinguish them, it will dispaly all the fiel