Lines Matching refs:con
66 XConnection con = openConnectionWithDriverManager(); in main() local
67 if ( con != null ) { in main()
69 SalesMan sm = new SalesMan( con ); in main()
84 Sales sm = new Sales( con ); in main()
98 displayTableStructure( con ); in main()
111 public static void checkConnection(XConnection con) throws com.sun.star.uno.Exception in checkConnection() argument
113 if(con != null) in checkConnection()
117 XComponent xComponent = (XComponent)UnoRuntime.queryInterface(XComponent.class,con); in checkConnection()
132 XConnection con = null; in openConnectionWithDriverManager() local
152 con = xDriverManager.getConnectionWithInfo(url,props); in openConnectionWithDriverManager()
154 return con; in openConnectionWithDriverManager()
160 XConnection con = null; in openConnectionWithDriver() local
180 con = xDriver.connect(url,props); in openConnectionWithDriver()
182 return con; in openConnectionWithDriver()
199 public static void displayTableStructure(XConnection con) throws com.sun.star.uno.Exception in displayTableStructure() argument
201 XDatabaseMetaData dm = con.getMetaData(); in displayTableStructure()
229 …public static String quoteTableName(XConnection con, String sCatalog, String sSchema, String sTabl… in quoteTableName() argument
231 XDatabaseMetaData dbmd = con.getMetaData(); in quoteTableName()
305 XConnection con = xDS.getConnection("",""); in printQueryColumnNames() local
307 UnoRuntime.queryInterface(XQueriesSupplier.class, con); in printQueryColumnNames()