.net - Retrieving MYSQL Database structure information from Java -


i'm trying java , mysql same used .net , sql server:

by using microsoft.sqlserver.management.smo can access database structure information instance ( server name, table structure, columns, datatype, description, default value)

i tried find same java + mysql seems not popular

any directions?

thanks

ed

the simplest way accomplish retrying connection metadata, first open connection:

connection conn = drivermanager.getconnection("jdbc:mysql://localhost:3306/db", "user","****"); databasemetadata metadata = conn.getmetadata(); 

then start navigating through metadata, can check available operations in databasemedata


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -