Meaningless Drivel is fun!*
The moose likes JDBC and the fly likes create a new autoincremented value from the database to display in textbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "create a new autoincremented value from the database to display in textbox" Watch "create a new autoincremented value from the database to display in textbox" New topic
Author

create a new autoincremented value from the database to display in textbox

Gerry Mark
Greenhorn

Joined: Jul 27, 2012
Posts: 1
hello am using java 2 code actually working on an airline reservation system project ,i have experienced a lot of challenges which i have been able to tackle most if not some of them ,so the things i need help with:
i had previously connected to my database and i was using some tutorials which i was able to connect,and i have posted the code here,(i call the class DbConnect to my main class)
1. i have a created a log inform and i need to send the data to the database,when i click on new user i get a new auto incremented value generated from the dbase(i have created a routine to create a new value which when i add a new user it is generated automatically but it is in the database)i need this to be displayed on a jtextfield)

}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: create a new autoincremented value from the database to display in textbox