wood burning stoves 2.0*
The moose likes JDBC and the fly likes i want to send data from swings to oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "i want to send data from swings to oracle" Watch "i want to send data from swings to oracle" New topic
Author

i want to send data from swings to oracle

liyakhat mohammed
Greenhorn

Joined: Jun 12, 2007
Posts: 2
Hello i am havig 2 java files named maptextdata.java and mapsql.java
i want to send data from maptextdata which is swing type.

when i type some data in JTextField in maptextdata and when i click enter the data should be inserted in oracle database.

can anyone tell me how to do it..
liyakhat mohammed
Greenhorn

Joined: Jun 12, 2007
Posts: 2
im even sendiNg the maptextdata.java file.. see it
arulk pillai
Author
Ranch Hand

Joined: May 31, 2007
Posts: 3219
When you click on the enter button the actionlistener code for that button (i.e. actionPerformed(...) method)should extract the input text and pass it to a business layer java class, which makes use of a DAO (Data Access Object layer - use JDBC, Hibernate etc) java class to insert.


To insert any data into a database look at a JDBC (Java DataBase Connectivity) tutorial.

http://w2.syronex.com/jmr/edu/db/oracle-and-java


http://www.jdbc-tutorial.com/

http://www.cs.unc.edu/Courses/wwwp-s98/members/thornett/jdbc/


Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i want to send data from swings to oracle
 
Similar Threads
how to write BLOB type of data from java application into an oracle table
how to send the attributes of JTextPane over the network
how to get data from oracle through jdbc
Calling Stored procedures
How to return data from a database table using Apache CXF web service?