Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how can we get the metaData (columnNames) from a table which
has no Records..

Answer Posted / sreenivas

Hi,
You can use DatabasrMetaData class to get the databse
information like... schenmaname, tables, columnnames,
etc....

DatabaseMetaData metaData = new DBConnection().getMetaData
();

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is best database for java?

992


How to connect html page to database using jdbc?

897


What is metadata in java programming?

1025


What is jdbc explain?

926


What is connection data?

918


How can we store the file in the oracle database?

937


What is jdbc and why is it required?

926


What is new in JDBC 2.0?

1026


What is the query used to display all tables names in SQL Server (Query analyzer)?

1072


What is the use of getGeneratedKeys() method in Statement?

1019


What is xe in oracle jdbc url?

1092


Explain the locking system in jdbc?

951


What does connection pooling mean ?

1004


What is serialization and deserialization in java programming?

1000


What are the considerations for deciding on transaction boundaries?

1013