My data are not gettitng enterted in the data base

import java.io.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class Main implements ActionListener
Frame mainf;
MenuBar mb;
MenuItem List,admitform,inquiry,exit;
Menu newm,update;
Inquiry iq;
Admit ad;
Register reg;
Main()
mainf=new Frame(" Engg College V/S Mumbai University ");
     mb=new MenuBar();
     newm=new Menu(" New ");
     update=new Menu(" Update ");
     List=new MenuItem("List");
     admitform=new MenuItem("Admit");
     inquiry=new MenuItem("Inquiry");
     exit=new MenuItem("Exit");
newm.add(List);
               newm.add(admitform);
newm.add(inquiry);
               newm.add(exit);
          mb.add(newm);
          mb.add(update);
mainf.setMenuBar(mb);
               exit.addActionListener(this);
               List.addActionListener(this);
     inquiry.addActionListener(this);
     admitform.addActionListener(this);
mainf.setSize(400,300);
     mainf.setVisible(true);
public void actionPerformed(ActionEvent ae)
if (ae.getSource() == List)
          reg=new Register();
     if(ae.getSource()==inquiry)
     iq=new Inquiry();
if(ae.getSource()==admitform)
     ad=new Admit();
          if(ae.getSource()==exit)
     mainf.setVisible(false);
public static void main(String args[])
          new Main();
}

>My data are not gettitng enterted in the data
base
no real surprise to me.Can u please help me ??How? There's no connection and prepared staments anywhere in your code. Do you think the database will update itself automagically?

Similar Messages

  • In the attached VI I dont understand why data from the inner case structures are not being transmitted to the array.

    In the attached VI I don't understand why data from the inner case structures are not being transmitted to the array.
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    TEMP.vi ‏25 KB

    It took me some time to figure what you are trying to do but I think I have it now.
    The SR is still required.
    What is happening is your "Bundle By Name" is replacing all of the fields of the cluster, not just the value coming out of the case structure. So to maintain the cluster stuff you do in earlier iterations you can either...
    1) Put the "Index array, Bundle by name, and Replace array" inside the case structure and ONLY bundle the value you are setting in that iteration. (as you will see Tim post shortly)
    OR
    2) Move the Index array before the Case, unbundle all of the fields and feed teh case structure and run them across the case so that ALL of your output tunnels come from the coresponding input tunnel EXCEPT for the filed you are trying to set.
    Ben
    Message Edited by Ben on 05-05-2010 01:31 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • HT5287 If DVD Movies, Audio CD's and even burning CD and DVD's are not supported, what is the point of DVD & CD Sharing then? Wouldn't it just be better to remote in or use a thumb drive if it's only able to be used for data transfer?

    If DVD Movies, Audio CD's and even burning CD and DVD's are not supported, what is the point of DVD & CD Sharing then? Wouldn't it just be better to remote in or use a thumb drive if it's only able to be used for data transfer?
    Or am I missing the bigger picture?

    As long as you have a Superdrive or an external burner/drive, burning, watching, installing, etc. from CD or DVD will work just fine. And so will sharing.

  • Pricing errors are not cleared after fixing the master data

    Hi All,
    Kindly go through the issue explained below.
    Pricing is determined properly in transaction level(Oppt) when the master data is correct. cool.  
    System shows pricing error (Mandatory condition 0PR0 is missing, Pricing could not be determined) when price(condition record) is not maintained in product. This is also fine.  Now the issue is, Pricing errors are not going away from Opportunity even after the master data(product) fixed with maintaining pricing.
    Scenario     :  Opportunity is saved with pricing errors. 
    Analysis     :  Price or/and Sales area are not maintained in Product that is maintained in Oppt.  That is why this error occurs.  So, we have maintained the Sales area/Price(condition record) in product. Now master data is corrected.
    Expected result: After maintaining the price/sales area in product, the errors should go off from the created Opportunities and pricing should be determined properly.
    Actual result: When we create a new opportunity with the same product, pricing is determined.  But the errors are not going away from the already created opportunity transactions.
    Please let me know if this scenario is not clear to understand. 
    Please help with your inputs.  Thank you for your time.
    Regards,
    Maddy

    Hi Luis,
    Thank you very much for your reply.  Could you please help me where is the button 'Redermine Pricing' available?  I have checked in Opportunity transaction but failed.
    Regards,
    Maddy

  • In Firefox 4 how can I cause the date on downloaded files to be the current date? (Some are and some are not. In FF3 the dates were ALWAYS the current ones.)

    In Firefox 4 how can I cause the date on downloaded files to be the current date? (Some are and some are not. In FF3 the dates were ALWAYS the current ones.)
    == This happened ==
    Every time Firefox opened
    == I upgraded to Firefox 4 (beta)

    Firefox 3.6.* and earlier set the downloaded file's modification time to the current time. In Firefox 4.0 the behavior has been changed, if a server returns a timestamp telling when the file was last modified (Last-Modified header), it is used instead.
    You can revert to the previous behaviour by using the [https://addons.mozilla.org/en-US/firefox/addon/93121/ Download Timestamp] add-on.

  • We are not able to pass the presentation variables(date & Date1) to the det

    Hi,
    We have followed the below link to use the date between prompt and passed the presentation variables in the filter condition of the report criteria.
    http://obiee101.blogspot.com/2009/03/obiee-between-dates-prompt.html
    But we are not able to pass the presentation variables(date & Date1) to the detail report.
    Any suggestions are highly appreciated.
    Thanks in Advance
    Siva.

    Yes,I think it wont pass the parameters from one parent report to child report.one thing you can do is put the detailed report on a page in the same dashboard as that of prompt.Put the same between condition on that report also.Give navigation link to this page instead of report.You can hide this page as well so that it will be available only on navigation.
    i have not tried it.Give it a try.
    Regards,
    Sandeep

  • You are not authorized to open the form ORA-01403: no data found

    Hi,
    I have created a new Oracle 10g forms. It compiles sucessfully but when it is opened it gives a error message : You are not authorized to open the form ORA-01403: no data found.
    I am already connected to database. Can anyone please help what is the reason for this issue and any possible resolution?

    Sounds like you have some kind of security enabled.  However, because you didn't share the details about your environment or what you are doing there isn't much we can do is guess.
    Exactly which Forms version are you using?
    Exactly which database version are you using?
    Are you using anything like Oracle E-Business (e.g. template.fmb)?
    Did you create the form with Oracle Designer?
    If you create a simple form using only the DataBlock and Layout Wizards against the Oracle demo schema (SCOTT), does this form run?
    Any additional details outlining what you are doing or have already done might be helpful.

  • You are not authorized to display the data transfer process

    Dear Experts,
                          Good Morning!
                          I want to that I am getting one Message no. RSM906:"You are not authorized to display the data transfer process
    ".What does it mean .I want to load the data in the 0SD_C03 cube ,can able to load upto PSA but unable to create the DTP.IS this because of this messege of authorization or some other reason ,Request  you to please suggest me for this issue ,thanks in advance .

    Hi,
    You may not have authorisation for S&D cubes, so i feel it is an authorisation issue, kindly take one of your colleagues id to check this, if it is working for them, then i think you have to add those to roles to your ID..
    Still there is a option to override this, but you have debug it once, and change the authorisation code(sy-subrc) value, and please dont try this if you are not familiar at ABAP, and this is not adviceable if it is an authorisation issue as there will be logs recorded for all the things you are doing and oreover each time when u click on DTP you have debug it to change the authorisation
    code..
    Note: If it is QA or Dev system you can try debugging it, but if it is production system then i think u have to use an alternate ID...
    Regards,
    Nanda.S

  • Whenever a record is Edited the rows are not getting displayed in the repor

    Hi all,
    When a new record is added or edited, It is physically getting added or edited according to the process, but those records are not getting displayed in the report..
    Please Any body faced this situation...
    Help me to identify what error i am doing........
    thanks in advance
    kavitha L

    Hi KChamarti,
    I am also trying to display images insid the datagrid but i get a weird broken image(all silver gray).
    My item renderer is:
              <mx:DataGridColumn headerText="Type">
                   <mx:itemRenderer>
                     <mx:Component>
                      <mx:HBox verticalGap="2">
                          <mx:Image id="dgImage" source="\assets\images\{toLowerCase(data.type)}.jpg" />
                          <mx:Label text="{data.type}"/>
                        </mx:HBox>
                     </mx:Component>
                   </mx:itemRenderer>
                </mx:DataGridColumn>
    Am i mentioning the source of the image in the right way?

  • You are not a receiver of the work item in ESS Leave

    Hi,
    We are using standard ESS leave application in our portal, where employee can raise leave and his manager can approve/reject his leave. But I want in case manager rejects the leave, the rejected leave should not come into MSS UWL of employee, we will send a mail to employee and he can again login to ESS leave application and where he will see the rejected leave and he can re apply/change/delete  the rejected leave. We do not want rejected leave to come in UWL of employee as a work item.
    As of now when manager rejects the leave rejected leave of an employee , it is coming in UWL of the employee which we do not want, so what we did, we went to standard leave work flow template WS12300111, in that we double clicked on Task (TS12300116, Process Request by Employee) and in that  we clicked on agent assignment icon and than we clicked on attribute and we selected General forwarding not allowed radio button, by default general task radio button was selected.
    After selecting General forwarding not allowed radio button, even when manager rejects employee leave, rejected leave is not coming in UWL of employee which we want exactly, but another error is coming when employee goes to ESS leave application again and change or delete this rejected leave he is getting the error You are not a receiver of the work item .
    But if we select general task radio button in agent assignment in work flow , than eveything is working fine but employee is getting rejected leave in his UWL, that we do not want  at all, so why after selecting different radio button this error is coming ?
    Why employee is getting this error, why employee can not reapply/change his rejected leave. Is this portal error OR workflow error OR HR configuration error and  what is the solution for this..

    If you need this option then you need to change the WF Task.
    General Forwarding Not Allowed
    This indicator enables you to determine that work items for this task can only be forwarded to users who are agents for the task.
    If this indicator is not set, a work item for this task can be forwarded to all users.
    The best way to take care of User
    Forwaring authorization is the Task Classification (PFTC -> Additional
    Data -> Classification). Classify tasks with General Forwarding Not
    allowed, will give you the oppotunity to let the user allow to forward
    items JUST to the Possible Agents Assigned to the task
    (Additional Data -> Agent Assingment -> Maintain)...
    Clear that everything depends on How you have developed your workflows
    definitions. In that cases  the best think to do is
    create Different Tasks definition (TSxxxxxx) and let they start
    depending on Company Code (That can be driven via Conditions steps in
    the workjflow definition, for example). This will allow you to define
    Just the responsible Agents per each task, depending on the Companny
    Code. This definitively Resolve the Forwarding frelated Question.

  • CIN: Items are not displayed while updating the RG1 Register using T Code:

    Hi Experts,
    Items are not displayed while updating the RG1 Register using T Code: J1I5.
    System is not showing any error message.
    Can any one explain to update the RG1 Register?
    Thanks
    Chandra

    Hi,
    dont go the table again and again . the table is updated at intial stage only for stock update but not when SAP is running.
    In day to day bussiness the flow is as follows:
    Production - MB31 - to Unres stock
    Sales - VL02n - PGI - to customer - i.e out of unres stock
    Every day u can run TC J1i5 once in a day as decided and update the register so all transactions which have happend in that day gets updated i.e both input and output.
    and this will happen every day.
    hence dont use table as it is only for intial data upload i.e just before golive.
    Hope i am clear.
    krishna

  • HT1296 Calendar items created on my Iphone 4S are not showing up in the Calendar on my MacPro after USB Sync..  even though they are still on the phone... ideas???

    Calendar items created on my Iphone 4S are not showing up in the Calendar on my MacPro after USB Sync..  even though they are still on the phone... ideas???

    In the Event mode use the View ➙ Sort ➙ By Date ➙ Decending menu option.  Then the latest imports will be near the top of the Event window (depending on when the photos were taken of course). 
    Or Control-Click on one of the thumbnails in the Last Import album and select Show Event from the contextual menu:
    OT

  • OLE images are not getting transfered to the pdf format

    After executing the oracle report file 6i and while sending the report file directly from the report screen to the microsoft outlook mail by clicking the mail option from the report, the OLE Images are NOT getting converted to the mail attachment. Rest of the data is getting converted fine.

    hope this is not the correct forum to place this question.
    if not, mention DB and OS versions and state your problem more clearly
    mark answered post as helpful / correct*

  • Invoice outputs are not printing after saving the document..!

    Invoice outputs are not printing after saving the document. Eventhough we maintain all condition records not only that Processing log also it showed that it has been processed on some date. but customer not received the printout
    Amar

    hI,
    GO TO IMG, SD, BF, OUTPUT CONTROL, OUTPUT TYPES, SELECT UR OUTPUT TYPE, GO TO DETAILS ICON AND ASSIGN THE VALUE "ISSUE OUTPUT IMMEDIATELY SAVING THE APPLICATION" FROM DROP DOWN DOWN LIST IN THE DEFAULT VALUES
    AND ASSIGN THE RELEVENT PRINTER TO USER ID IN SU01 AND IN CONDITION RECORDS
    REGARDS,
    SK
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:07 PM
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:08 PM
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:10 PM

  • Getting error message " You are not authorized to access the migration tool "

    One of the users is noticed with error message " You are not authorized to access the migration tool " in SAP Cloud for Customer tenant. thanks

    Hello Raj,
    It seems that this user does not have proper authorization to perform Data Migration.
    You need to go to the WorkCenter View Assignment for this user under his access rights & need to assign him the workcenter "Business Configuration" & under it, also assign him relevant access to Data Migration.
    This shall fix the issue & the user shall not get this error while trying to perform Data Migration.
    Steps:
    1. Go to Workcneter: "Application and User Management => Business Users => Seerach for the suer who gets this error => Edit-> Access Rights => Click on Workcenter view Assignment tab & assign the above mentioned worokcenter access and save."
    Let me know for any further queries.
    BR
    Ankur

Maybe you are looking for

  • Error in code while using Execute immediate

    Hi, Mentioned below is my script, when i am trying to execute it its saying ORA-00911: invalid character ORA-06512: at line 17 which is acctually EXECUTE IMMEDIATE statement. Please help me out to resolve it. Declare v_tab VARCHAR2(500); s_sql VARCHA

  • 8.0.1 running very well here........

    Well, I have been reading all the threads now on 8.0 and 8.0.1. I converted over to 10.5 then 10.5.1 just a week ago. I read threads on doing clean installs, had never done one before, so I took the plunge and did it. Now I don't have alot of 3rd par

  • How to fill array with random number?

    I need to fill a 3-dimensional array that has user-controlled dimension sizes with random numbers (1-10). I'm unsure of how to do this. I feel like I have to use the initialize array and maybe the build array functions somehow but I'm not entirely su

  • EM Link for  10g R2

    Hi guys, After installation I the i receive some links to manage the DB. im having http://TEST01:5560/isqlplus http://TEST01:5560/isqlplus but i lost the Enterprise Manager one I tried http://TEST01:1158/em as i remmeber but is not working .. can som

  • Apple TV 2 is not playing through Airplay speakers.

    I just installed two Airport express base stations, one as a router adn the other as a range extender. Both are connected to speakers for the purpose of using as AIrplay speakers. My other iOS and iMac devices recognize and play through the airplay s