Lookup issue when staging area diff from target

Hi,
I am using staging area different from target (csv file to database)
Everything is working fine the source data is moved to target. The interface runs suiceessfuly.
Now i want to add a lookup during transformation using a lookup table.
When i do that using lookups in quick edit section, i am getting an error.
When i run the interface, the C$ gets created in staging area - that is correct.
However when inserting from staging to target, now the ODI searches for the C$ table in target area instead of the staging..
Please help.
Thanks,
Rosh

Hi
1st thing you have to give the workschema for temp tables when creating physical schema in dataserver for target.
Then you have to select the workschema in overview of interface as "staging different from target".
After doing this when you will use predefined KM for the interface it will create temp tables in workschema.
Now suppose you are not giving the workschma at the time of creating physical schema and you have selected "staging different than target" in interface.Here your C$ table will be created in your workschema but I$ table that is used by IKM is going to be created on target schema.So for this again you have change the IKM KM i.e. where to create I$ table (wokrschema) by selecting the corresponding logical schema.
So its better you give the workschema at the time of creating physical schema.
Here is the query to give privilege by the sys_dba
Grant create any table to ODI_TEMP.
Hope you got it
(Please mark the answer as correct or helpful and close the thread)
Thanks

Similar Messages

  • Staging area different from target - which KM???

    Hi,
    I need to transfer data from CSV to DB (only new inserts operation)
    I am working the following KM's
    LKM File to SQL
    IKM SQL Control Append
    It's working fine. However now i need to keep the staging area (where C$, I$ etc table are created) in a separate schema.
    I have created a diff schema for staging area and selected in the interface "Staging area different from target"
    However not sure of which KM's to use.
    Please let me know how to achieve this.
    Thanks,
    Rosh

    Hi
    1st thing you have to give the workschema for temp tables when creating physical schema in dataserver for target.
    Then you have to select the workschema in overview of interface as "staging different from target".
    After doing this when you will use predefined KM for the interface it will create temp tables in workschema.
    Now suppose you are not giving the workschma at the time of creating physical schema and you have selected "staging different than target" in interface.Here your C$ table will be created in your workschema but I$ table that is used by IKM is going to be created on target schema.So for this again you have change the IKM KM i.e. where to create I$ table (wokrschema) by selecting the corresponding logical schema.
    So its better you give the workschema at the time of creating physical schema.
    Here is the query to give privilege by the sys_dba
    Grant create any table to ODI_TEMP.
    Hope you got it
    (Please mark the answer as correct or helpful and close the thread)
    Thanks

  • Staging area different from target

    I am using oracle 10g as target database. I want to upload a flat data file into oracle table.
    I uploaded sucessfully using LKM Oracle (SQL Loader) in Interface. In this case i am using oracle database as a staging area. So all load transferred to my database at the timing of processing.
    I want to create staging area at my file server. So please help me out to resolve this problem.

    A staging area must accept SQL syntax.
    A File server won't accept SQL syntax.
    So if you speak about Physical Server where you got your file and if there is a RDBMS installed in maybe but else I don't really know how you can...
    You can specify another data server for your staging area or use the SUNOPSIS_MEMORY_ENGINE which use the cache I think but it's not optimized I think...
    For this in the Definition Tab of your Interface choose Staging Area different from the Target and then select in the list box SUNOPSIS_MEMORY_ENGINE.

  • Mac desktop. 10.6.8. Text edit. Not locked. Read and write. Still, documents are locking when they are moved from desktop to another folder on the server. Techies can't figure it out here. What am I not doing?

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

  • We have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc. from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when

    Hello All,
    we have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc.
    from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when we are trying to access the share folder with IP it asking for credentials i have type again and again
    correct credential but unable to access that. If i re-share the folder then we are access it but when we are restarted the system then same problem is occurring.
    I have checked IP,DNS,Gateway and more each & everything is well.
    Pls suggest us.
    Pankaj Kumar

    Hi,
    According to your description, my understanding is that the same shared folder can be accessed by name, but can’t be accessed be IP address and asks for credentials.
    Please try to enable the option below on the device which has shared folder:
    Besides, check the Advanced Shring settings of shared folder and confrim that if there is any limitation settings.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Why is it on the photo app is that when you add your photos to new albums and when you are deleting from camera roll it will delete photos from everywhere so therefore once your photos are in the albums you have chosen you cannot delete f

    Why is it on the photo app is that when you add your photos to new albums and when you are deleting from camera roll it will delete photos from everywhere so therefore once your photos are in the albums you have chosen you cannot delete from camera roll

    Your photos are actually all in the Camera Roll.  The album you create only contain pointers to these pictures.  Albums are like music playlists; when you delete a song from the playlist it doesn't delete the song from your music library.  But when you delete a song from your music library it will also be deleted from any playlists that it may have been in as well.

  • What will be the movement type when goods are returned from customers

    what will be the movement type when goods are returned from customers

    Hello Ravinder,
    Please see the following description in the SAP Library                                  
    (http://help.sap.com) under the path:                                                                               
    Materials Management (MM)                                                               
    -> Inventory Management (MM-IM)                                                         
        -> Inventory Management and Physical Inventory (MM-IM)                               
           -> Goods Receipt                                                                  
              -> Other Goods Receipts                                                        
                 -> Entering a Customer Return                                                                               
    " Entering a Customer Return                                                             
    Since returns from the customer are usually examined, the quantity                       
    returned is first posted to blocked stock returns. As is the case with                   
    goods receipt blocked stock, blocked stock returns are neither valuated                  
    nor do they count as unrestricted-use stock.                                             
    If an examination proves that the returned quantity should be taken over                 
    into unrestricted-use stock, you enter the transfer to unrestricted-use                  
    stock in a second step. It is at that time that the valuation of the                     
    goods receipt occurs.                                                                    
    Depending on how Customizing for Sales is configured (the movement type                  
    configured in the step Define Schedule Line Category), the delivery is                   
    posted to the following stock:                                                                               
    - Blocked stock returns (non-valuated, not unrestricted-use) (movement                   
      type 651)                                                                               
    - Unrestricted-use stock (movement type 653)                                             
    - Quality inspection stock (movement type 655)                                           
    - Blocked stock (movement type 657)                                                                               
    If the given quantity is posted to blocked stock returns first, you can                  
    make a manual goods movement posting in the Inventory Management                         
    component to transfer the quantity to valuated stock.                                    
    If blocked stock returns are to be transferred into your company's own                   
    stock, you enter the transfer as a transfer posting. Choose movement                     
    type 453 (to unrestricted-use stock), 457 (to stock in quality                           
    inspection stock), or 459 (to blocked stock). "                                          
    Hope this helps!
    Regards,
    Shanthala Kudva.

  • Is there a location aware wifi option (or app) that enables wifi at a specific location (home) and automatically disables it when you are away from the specified location?

    I manually turn off my wifi when leaving home for several reasons:
    1. I don't want my wifi to be on and constantly scanning wifi networks while I am away from home due to privacy reasons.  Many retail stores and airports are now tracking users based on their smartphone's wifi pings.  They can then store your phone's MAC address (the unique identifier of your phone) to determine how often you visit the store and where you go within the store.  It's just a matter of time before they match up your phone's MAC address with your credit card/payment info and then to your identity.  The only way to subvert this is to turn off your phone's wifi.
    2. For security reasons: Wifi access points can track devices that broadcast their wifi signal, even if they don't ever actually connect to the access point's network.  These access points can then store your device's details including your phone's MAC address.  Once your phone's MAC address is discovered, it can be targeted by a hacker.  In addition, there are multiple well known hacker tools that can be used to scan for smartphone wifi signals in order to detect and then hack your iphone.  Bottom line: if your wifi is discoverable, then your device is hackable.
    3. I believe it would save battery life if the iphone's wifi is not on and constantly scanning for networks all the time.
    There are other reasons as well, but the above are my 3 main reasons for asking about this.
    The reminders app is location aware - you can set reminders to alert you when you are at a specific location.  So, why not provide the option (or an app) to only enable wifi when you are at home - or any other location where you have an authorized or trusted wifi?
    As it is right now, the iphone's wifi is broadcasting 24/7 everywhere you go.  Not great for privacy & security.  When I turn off my wifi, the phone uses my 4G plan for data and GPS for location services... so wifi is not needed at all for data or location services while I am away from home (and no, wifi does not improve location accuracy, that is a fallacy... there is nothing within the wifi protocol that could ever improve location accuracy).  But the point is, wifi should have a location aware option.  Otherwise, it's just a matter of time before there is a headline story about how not having this feature is a huge security/privacy problem.

    Understood.  However, the point that I'm trying to make is that it's not the WiFi access point's security that's in question, it's having your phone's WiFi in an always-on mode that's in question.  It's simple: if your phone's WiFi is on, then it is both discoverable and hackable... even when it's not connected to a WiFi network or access point.  Here's an article about a drone in London that was created to hack smartphone WiFi signals (and hackers have been doing what this drone does for years):
    http://money.cnn.com/2014/03/20/technology/security/drone-phone/
    The point is that it's not  secure to have your phone's WiFi in an always-on mode.  It would be better for privacy and security if Apple made WiFi location aware so that it is only enabled when you are at a trusted location (e.g. your home or office).  Or, at least give us the option of location aware WiFi so that each user can determine the best mode for their phone:
    (1) Always-On (current default - not secure and many privacy issues).
    (2) Trusted mode (only on at trusted locations).
    (3) Off.

  • Issue when uploading Sales data from DSO to Cube.

    Dear All,
    I have an issue when I am uploading Sales data from DSO to Cube.  I am using BI 7.0 and I have uploaded all sales document level data to my DSO.  Then I use a transformation rule to calculate the Sales Value when I am doing DTP to cube.  Cube has customer wise aggregation data.
    In DSO I have NetPrice(KF) and Delivered_QTY(KF).  I do a simple multiplication routine in the transformation from DSO to Cube.
    RESULT =   SOURCE_FIELDS-NET_PRICE * SOURCE_FIELDS-DLV_QTY .
    At the moment I use Active Table(With out Archive) on the DSO to get the data since this is my first load.
    Issue is that the figure (Sales Value) in the cube is incorrect. I am getting a very large values which is impossible.
    Can someone please help me.
    Shanka

    Hi,
    are you sure that cube has customer wise aggregated data..since it will always aggregate the values of the key figures for the same set of characters...
    did you checked the values for the key figures as well and if even they are inflated or is the problem with this key figure only.
    During the data load the records may aggregates first for the same values of characters and then multiplication will be happening....if that is the case then you may have to multiply the values before storing it in the data package and then let it aggregate....can be achived through start routine...
    but first verify if other key figures are also having the same issue.
    Thanks
    Ajeet

  • Issue when Calling the RFC from external system

    Hi,
    I have created one RFC, in which I am using one function module to get the material customer status.
    Functional Module name is "QC01_BATCH_VALUES_READ".
    When I run this in SAP, it is giving a value for Cusotmer Status. But when this RFC is called from .Net system it is not returning any value for this field.
    Even I used a different function module 'CLAF_CLASSIFICATION_OF_OBJECTS' for the same, in this also in SAP it is doing good, but when it is called from .Net, the program is giving dump.
    Please help me to resolve this issue
    Thanks
    Ravi

    Hi Ravi,
    Issue can be either in the .NET program or in the RFC destination creation.
    1)
    Check whether data types of .NET program which is calling the SAP function module are correct. 
    If there are issues with data types,  program dont report if you dont so explicitly.
    2) Check whether RFC destination you are giving in your .NET program is correctly configured in
        SAP , verify by testing the same.
    Apart from above two reasons, I dont see any other major reasons for not getting correct results.
    Regards
    Krishna

  • Issue when stats are run

    Hi All,
    When we execute the stats we get the below error.Its a MSCS cluster enterpise portal oracle 10g
    C:\Documents and Settings\ql0adm>brconnect -u ql0adm/<pwd> -c -f stats -t ora
    dict_stats
    BR0801I BRCONNECT 7.00 (44)
    BR0252E Function NetShareGetInfo() failed for 'sapmnt' at location BrEnvProcess-
    89
    BR0253E errno 2310: This shared resource does not exist.
    BR0806I End of BRCONNECT processing: ceehwaio.log 2010-10-11 16.18.54
    BR0280I BRCONNECT time stamp: 2010-10-11 16.18.54
    BR0804I BRCONNECT terminated with errors

    >
    Ambarish annapureddy wrote:
    > HI Volker,
    >
    > You are a champ.I dont have anyother words to express.
    > The issue got resolved.We gave SAPEXE and SAPMNT.We faced issue when we used ops$ then i used system user and it went through.Before closing the thread i want to know how did you get the note.Thanks a ton again.
    Sorry,
    I did not come across this for a while
    Well it was not such an obvious search as for your message, but just from my memory of
    installing on MSCS and that there was something special to the brtools. So that knowlegde
    in behind, my search was "MSCS brtools" -> two hits -> one bingo
    Volker

  • Problem - Values are not stored into Tables when value are accepted from us

    // jsp code
    <%@ page import="java.util.Enumeration" %>
    <%@ page import="java.util.Vector" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.lang.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="beans.register2" %>
    <jsp:useBean id="registerbn" scope= "session" class="beans.register2" />
    <% String base = (String) session.getAttribute("base");
    registerbn.setDburl((String)session.getAttribute("dbUrl"));
    registerbn.setDbuser((String)session.getAttribute("dbUserName"));
    registerbn.setDbpasswd((String)session.getAttribute("dbPassword"));
    System.out.println("Inside jsp - setMembers of promotion successful");
    // registerbn.setMembers1();
    System.out.println("after setting");
    %>
    <%
    String action=request.getParameter("action");
    %>
    <HTML>
    <HEAD>
    <TITLE> TIFR INTRANET </TITLE>
    </HEAD>
    <HEAD>
    <script language="JavaScript1.2">
    //some validations functions
    </script>
    </head>
    <body>
    <table valign="top" align="top">
    <TR>
    <TD COLSPAN="100%"><jsp:include page="Header.jsp" flush="true"/></TD>
    </TR>
    <TR>
    <TD align="top" valign="top"><jsp:include page="menu.jsp" flush="true"/>
    <font face="arial" size="1">
    site developed by ADPCell TIFR
    </font>
    </td>
    <td>
    <table cellpadding="2" cellspacing="3" width="40%">
    <form method="post" action="./beans.register2">
    <td width="40" align="center"
    <font face="arial" size="5" align="right">
    <b>
    Registration <hr> </hr>
    </b>
    </font>
    <br>
    </td>
    <tr valign="center" width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">IdCode </b> </font>
    </td>
    <td width="40%">
    <b><font face="Arial" size="2">
    <input type="text" name="idcode" size="6" style="border-style:solid" value="">
    </font></b>
    </td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">User </font></B></td>
    <td width="40%">
    <input type="text" name="user" size="12" style="border-style: solid" value="">
    </font></b></td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Password </font></B></td>
    <td width="40%">
    <input type="password" name="password" size="25" tabindex="20" style="border-style: solid" width="12" value="">
    </font></b></td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Section code </font></b></td>
    <td width="40%">
    <select size="1" name="section_code" tabindex="9"
    style="border-style: solid">
    <%@ include file="section.txt" %>
    <!-- left for password -->
    1)
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Category </font> </b></td>
    <td width="80%">
    <font face="arial" size="2"> <b>
    <input type="radio" name="Category" value="General">General
    <input type="radio" name="Category" Value="Operators">Operators
    <input type="radio" name="Category" Value="Heads">Heads<BR>
    </b> </font>
    </td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Budget Category </font> <b> </td>
    <td width="40%">
    <font face="Arial" size="2"> <b>
    <input type="radio" name="BCategory" value="General">BGeneral
    <input type="radio" name="BCategory" Value="Operators">Operators
    <input type="radio" name="BCategory" Value="Head">Head
    </td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Budget Heads
    </font></b></td>
    <td width="40%">
    <b><font face="Arial" size="4">
    <textarea rows="2" name="Bheads" cols="20" size="100"
    style="border-style: solid">
    </textarea></font></b></td></tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Other Category</font></b></td>
    <td width="40%">
    <b><font face="Arial" size="2">
    <select size="1" name="OtherCategory" tabindex="20" style="border-style:
    solid" size="2"><OPTION value="EH">EH
    <OPTION value="EO">EO
    <OPTION value="FH">FH
    <OPTION value="FO">FO
    <OPTION value="AO">AO
    <OPTION value="AH">AH
    </select></font></b></td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">email </font></b></td>
    <td width="40%">
    <b><font face="Arial" size="2">
    <input type="text" name="email" size="20" style="border-style:
    solid" width="6">
    </font></b></td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <font face="Arial" size="2"><b>Dob </font></b></td>
    <td width="40%">
    <font face="Arial" size="2"><b>
    <select size="1" name="day" style="border-style: solid"><OPTION value="0">Day
    <% int i;
    for(i=1;i<=31;i++)
    out.print("<OPTION VALUE=\""+i+"\">"+i+"</option>");
    %>
    </select>  
    <select size="1" name="month" style="border-style: solid" ><OPTION value="0">Month
    <OPTION value="1" >January
    <OPTION value="2" >February
    <OPTION value="3" >March
    <OPTION value="4" >April
    <OPTION value="5" >May
    <OPTION value="6" >June
    <OPTION value="7" >July
    <OPTION value="8" >August
    <OPTION value="9" >September
    <OPTION value="10">October
    <OPTION value="11">November
    <OPTION value="12">December
    </select>
    <select size="1" name="year" style="border-style: solid">
    <% int j;
    for(j=1950;j<=2000;j++)
    out.print("<option value=\""+j+"\">"+j+"</option>");
    %>
    </select></b></font></td>
    </tr>
    <br> <br>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Date of Join
    </font></b></td>
    <td width="40%">
    <b><font face="Arial" size="2">
    <select size="1" name="day1" style="border-style: solid"><OPTION value="0">Day
    <% int k;
    for(k=1;k<=31;k++)
    out.print("<OPTION VALUE=\""+k+"\">"+k+"</option>");
    %>
    </select>
    <select size="1" name="month1" style="border-style: solid" ><OPTION value="0">Month
    <OPTION value="1" >January
    <OPTION value="2" >February
    <OPTION value="3" >March
    <OPTION value="4" >April
    <OPTION value="5" >May
    <OPTION value="6" >June
    <OPTION value="7" >July
    <OPTION value="8" >August
    <OPTION value="9" >September
    <OPTION value="10" >October
    <OPTION value="11" >November
    <OPTION value="12" >December
    </select> 
    <select size="1" name="year1" style="border-style: solid">
    <% int l;
    for(l=1950;l<=2000;l++)
    out.print("<OPTION VALUE=\""+l+"\">"+l+"</option>");
    %>
    </select>
    </b></font></td>
    </tr>
    </table>
    <table cellpadding="2" cellspacing="3" width="40%" >
    <tr width="100%">
    <td width="30%">
    <input type="Submit" value="Submit" name="B1" > </td>
    <td width="40%">
    <input type="reset" value="Reset" name="B2"></td>
    <%
    //String action=request.getParameter("Submit1");
    if(action!=null && action.equals("Submit"))
    try{
    String idcode=request.getParameter("idcode");
    String user=request.getParameter("user");
    String password=request.getParameter("password");
    String seccode=request.getParameter("section_code");
    String Category=request.getParameter("Category");
    String BCategory=request.getParameter("BCategory");
    String Bheads=request.getParameter("Bheads");
    String OtherCategory=request.getParameter("OtherCategory");
    String email=request.getParameter("email");
    String day=request.getParameter("day");
    String month=request.getParameter("month");
    String year=request.getParameter("year");
    String Dob=day+"/"+month+"/"+year;
    String day1=request.getParameter("day1");
    String month1=request.getParameter("month1");
    String year1=request.getParameter("year1");
    String Doj=day1+"/"+month1+"/"+year1;
    registerbn.setIdcode("idcode");
    registerbn.setUser("user");
    registerbn.setPasswd("password");
    registerbn.setSec_code("seccode");
    registerbn.setCategory("Category");
    registerbn.setBut_cat("BCategory");
    registerbn.setBut_heads("Bheads");
    registerbn.setOther_Category("OtherCategory");
    registerbn.setEmail("email");
    registerbn.setDob("Dob");
    registerbn.setDoj("Doj");
    registerbn.saveData();
    }catch(Exception ex)
    out.println("ERROR :has occured ");
    %>
    </table>
    </table>
    </table>
    </form>
    </td>
    </tr>
    <jsp include page="Footer.jsp" flush="true"/>
    ------------------ End of JSP Programs ----------------
    // Beans Code
    package beans;
    import java.util.*;
    import java.util.Date;
    import java.util.Vector;
    import java.sql.*;
    public class register
    private String idcode;
    private String user;
    private String passwd;
    private String sec_code;
    private Vector sec_names;
    private String category;
    private String bud_cat;
    private String bud_heads;
    private String other_category;
    private String email;
    private String dob;
    private String doj;
    private String ent_dt;
    private String act_dt;
    private String dbUrl=null;
    private String dbUser=null;
    private String dbPassword=null;
    public void setDburl(String u)
    dbUrl=u;
    public void setDbuser(String us)
    dbUser=us;
    public void setDbpasswd(String Pass)
    dbPassword=Pass;
    public String getIdcode()
    return idcode;
    public void setIdcode(String i)
    idcode=i;
    public String getUser()
    return user;
    public void setUser(String u)
    user=u;
    public String getPasswd()
    return passwd;
    public void setPasswd(String p)
    passwd=p;
    public Vector getSec_names()
    return sec_names;
    public void setSec_names()
    // This function should select valid section code from the database and then populate the sec_names vector.
    public String getSec_code()
    return sec_code;
    public void setSec_code(String s)
    sec_code=s;
    public String getCategory()
    return category;
    public void setCategory(String c)
    category=c;
    public String getBud_cat()
    return bud_cat;
    public void setBud_cat(String b)
    bud_cat=b;
    public String getBud_heads()
    return bud_heads;
    public void setBud_heads(String b)
    bud_heads=b;
    public String getOther_Category()
    return other_category;
    public void setOther_category(String o)
    other_category=o;
    public String getEmail()
    return email;
    public void setEmail(String s)
    email=s;
    public String getDob()
    return dob;
    public void setDob(String d)
    dob=d;
    public String getDoj()
    return doj;
    public void setDoj(String d)
    doj=d;
    public String getAct_dt()
    return act_dt;
    public void setAct_dt(String d)
    act_dt=d;
    public void setMembers()
    Connection conn;
    Statement stmt;
    String query="Select sec_code from web.section";
    sec_details=new Vector();
    try
    conn=DriverManager.getConnection(dbUrl, dbUser, dbPassword);
    System.out.println("connected");
    stmt=conn.createStatement();
    System.out.println("Statement Created");
    ResultSet rs=stmt.executeQuery(query);
    do
    String seccode=rs.getString(1);
    sec_details.addElement(seccode);
    }while(rs.next());
    rs.close();
    stmt.close();
    conn.close();
    }catch(SQLException e)
    System.out.println("Execution Occured" +e);
    catch(Exception e)
    System.out.println("Execution Occured" +e);
    public void saveData()
    Connection conn;
    Statement stmt;
    String id=getIdcode();
    String use=getUser();
    String pass=getPasswd();
    String mail=getEmail();
    String sec=getSec_code();
    String cat=getCategory();
    String oth=getOther_Category();
    String bud=getBud_cat();
    String dob1=getDob();
    String doj1=getDoj();
    String budh=getBud_heads();
    String query="insert into wb_register " + "(idcode, user, passwd, sec_code, category, bud_cat, bud_heads, other_category, email , dob, doj, ent_dt)" + " values('"+id+"','"+use+"','"+pass+"','"+sec+"','"+cat+"','"+bud+"','" budh"','" oth"','"+mail+"','"+dob1+"','"+doj1+"','"+"Sysdate"+"')";
    try
    conn=DriverManager.getConnection(dbUrl,dbUser,dbPassword);
    System.out.println("connected");
    stmt=conn.createStatement();
    stmt.executeUpdate(query);
    stmt.close();
    conn.close();
    catch(SQLException e)
    System.out.println("Exception occured" +e);
    catch(Exception er)
    System.out.println("Exception occured" +er);
    ------------------------End of Beans Program ---------------
    Questions:-
    1) when we are submitting values to form it is not stored into backend (Oracle 9i)
    2) please send some source code for how to fetch values from backend and wants stored into Combo box /select Box
    3) We have faced problem of How call methods of Bean program into JSP programs

    The code to get the values from the database and store them in the combo box or select box would be as follows:
    <%
    zSQL = "select id, name from Users"
    rs = Con.ExecuteQuery(zSQL);
    if(!rs.next()) {
    %>
    <select name="id">
    <option value="0">select the name</option>
    <%
    do {
    %>
    <option value="<%= rs.getString(1) %>"><%= rs.getString(2) %></option>
    <%
    while (rs.next());
    %>
    </select>
    <%
    else {
    out.println("No Record Found");
    %>
    This would help you better.
    and for your first question, please check whether u are able to connect database with your connection method. if you are able to connect to the database, then please check the values (print them on the browser) which are posted from form, if it is also correct then check you r insert statement.
    and for your last question the best tutorial is JAVA API.
    Cheers!
    Rambee

  • Issues when loading Flash Player from Local Domain

    I have a webcam streaming to Flash Media Server via the Media
    Encoder. I have published the .swf file with the flash player and
    rtmp://99.999.999.999:1935/live/livestream address to my website on
    a hosted webserver.
    When I am on another internet source, the player on my
    webpage loads and works fine. However when I load the webpage in a
    browser on the same network that has the Media Server and Webcam on
    it, the browser freezes up.
    I need some help with a solution that will cause the rtmp://
    address to switch to a local host address. Any suggestions.

    It would be more accurate if I said the Explorer browser is
    freezing or at least reducing speed to a incredibily slow crawl.
    The flash player I am using is embedded in my website (which
    is on a hosted web service, different from the computer running
    Flash Media Server.) I have tried pulling up the web page with the
    flash player on several different computers. When they are loading
    that page while using the same network as flash media server, they
    won't load.
    It is not certain computers I am trying to get to react
    differently. It is the webpage that is part of our restaurants
    website. We have several customers that try to pull up the webcam
    while they are setting in front of it.

  • When photos are deleted from photo stream on iCloud

    Hello,
    When I delete photos from my Camera Roll on my iPohne 4 they are not deleted from the photo stream (icloud)....is there a reason for that?
    Can I make it so photos i delete from my Camera Roll will also be deleted from photo stream or there is not such an option?
    One more question, if I transfer photos from my PC to my iPhone and I save them in a new album on my iphone; can I save this album (or just the photos in it)  to the photo stream (so I will have a back up and also that i will be able to see those photos on my ipad)?
    Thank you,
    YoYo

    To avoid any unwonted deletion before you have time to import your photos into iPhoto, you should set the automatic import in iPhoto preferences.

  • When items are deleted from photo stream are they deleted from iPhoto also?

    when I delete photos from the photo stream are they ever deleted from my iphoto library?  I do not want to lose any photos when photo stream reached its limit.

    To avoid any unwonted deletion before you have time to import your photos into iPhoto, you should set the automatic import in iPhoto preferences.

Maybe you are looking for