Method getDatabaseProductName()
Return type:
java.lang.String
Member of:
java.sql.DatabaseMetaData
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
return createSpecification(c, c.getMetaData().getDatabaseProductName().trim());
2
System.out.println("DatabaseProductName: " + db.getDatabaseProductName());
3
pn = dmd.getDatabaseProductName().trim();
4
assertTrue(dbmd.getDatabaseProductName().equals("PostgreSQL"));
5
productLowerName = meta.getDatabaseProductName();
6
databaseName = con.getMetaData().getDatabaseProductName();
7
System.out.println("Connected to " + dbmd.getDatabaseProductName() + " " + dbmd.getDatabaseProductVersion());
8
System.out.println("Database Product Name = " + m.getDatabaseProductName());
9
log.info("\tDatabase: " + dbmd.getDatabaseProductName());
10
m_info[0] = "Database=" + dbmd.getDatabaseProductName ()
11
String theVendor = dmd.getDatabaseProductName().toLowerCase();
12
this.databaseProductName = dbMeta.getDatabaseProductName ();
13
System.out.println( data.getDatabaseProductName()
14
String theVendor = dmd.getDatabaseProductName().toLowerCase();
15
md.getDatabaseProductName();
16
String databaseProductName = metaData.getDatabaseProductName();
17
String database = connection.getMetaData().getDatabaseProductName().toLowerCase();
18
tTree.addRow("pp", "Product: " + dMeta.getDatabaseProductName());
19
if (Debug.infoOn()) Debug.logInfo("Database Product Name is " + dbData.getDatabaseProductName(), module);
20
"\nVendor product name is " + dmd.getDatabaseProductName()
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.