/glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbcommit/webclient/client/ |
H A D | Client.java | 73 String tableName = "CUSTOMER_cm"; 80 createTable(con, tableName); 95 if(!isDataUpdated(con, tableName, nameEntry, emailEntry)) { 113 dropTable(con, tableName); 120 private void createTable(Connection con, String tableName) throws Exception { argument 123 con.prepareStatement("CREATE TABLE "+tableName+" (NAME VARCHAR(30) NOT NULL PRIMARY KEY, EMAIL VARCHAR(30))"); 127 private void dropTable(Connection con, String tableName) throws Exception { argument 128 PreparedStatement pStmt = con.prepareStatement("DROP TABLE "+tableName); 133 private boolean isDataUpdated(Connection con, String tableName, String name, String email) throws Exception { argument 134 PreparedStatement pStmt = con.prepareStatement("SELECT NAME, EMAIL FROM "+tableName); [all...] |
/glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbrollback/webclient/client/ |
H A D | Client.java | 73 String tableName = "CUSTOMER_rb"; 78 createTable(con, tableName); 93 if(isDataPresent(con, tableName)) { 109 dropTable(con, tableName); 120 private void createTable(Connection con, String tableName) throws Exception { argument 123 con.prepareStatement("CREATE TABLE "+tableName+" (NAME VARCHAR(30) NOT NULL PRIMARY KEY, EMAIL VARCHAR(30))"); 127 private void dropTable(Connection con, String tableName) throws Exception { argument 128 PreparedStatement pStmt = con.prepareStatement("DROP TABLE "+tableName); 133 private boolean isDataPresent(Connection con, String tableName) throws Exception { argument 134 PreparedStatement pStmt = con.prepareStatement("SELECT NAME, EMAIL FROM "+tableName); [all...] |
/glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbcommit/endpoint/ejb/ |
H A D | HelloEJB.java | 64 String tableName = "CUSTOMER_cm"; 69 updateTable(con, tableName, "Vikas", "vikas@sun.com"); 70 readData(con, tableName); 82 private void updateTable(Connection con, String tableName, String name, String email) throws Exception { argument 84 con.prepareStatement("INSERT INTO "+ tableName +" (NAME, EMAIL) VALUES(?,?)"); 90 private void readData(Connection con, String tableName) throws Exception { argument 92 con.prepareStatement("SELECT NAME, EMAIL FROM "+tableName);
|
/glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbcommit1/endpoint/ejb/ |
H A D | HelloEJB.java | 64 String tableName = "CUSTOMER_cm"; 72 updateTable(con, tableName, nameEntry, emailEntry); 73 readData(con, tableName); 85 private void updateTable(Connection con, String tableName, String name, String email) throws Exception { argument 87 con.prepareStatement("INSERT INTO "+ tableName +" (NAME, EMAIL) VALUES(?,?)"); 93 private void readData(Connection con, String tableName) throws Exception { argument 95 con.prepareStatement("SELECT NAME, EMAIL FROM "+tableName);
|
/glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbrollback/endpoint/ejb/ |
H A D | HelloEJB.java | 64 String tableName = "CUSTOMER_rb"; 69 updateTable(con, tableName, "Vikas", "vikas@sun.com"); 70 readData(con, tableName); 82 private void updateTable(Connection con, String tableName, String name, String email) throws Exception { argument 84 con.prepareStatement("INSERT INTO "+ tableName +" (NAME, EMAIL) VALUES(?,?)"); 90 private void readData(Connection con, String tableName) throws Exception { argument 92 con.prepareStatement("SELECT NAME, EMAIL FROM "+tableName);
|
/glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbrollback1/endpoint/ejb/ |
H A D | HelloEJB.java | 64 String tableName = "CUSTOMER_rb1"; 72 updateTable(con, tableName, nameEntry, emailEntry); 73 readData(con, tableName); 85 private void updateTable(Connection con, String tableName, String name, String email) throws Exception { argument 87 con.prepareStatement("INSERT INTO "+ tableName +" (NAME, EMAIL) VALUES(?,?)"); 93 private void readData(Connection con, String tableName) throws Exception { argument 95 con.prepareStatement("SELECT NAME, EMAIL FROM "+tableName);
|
/glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbcommit1/webclient/client/ |
H A D | Client.java | 73 String tableName = "CUSTOMER_cm"; 78 createTable(con, tableName); 88 updateTable(con, tableName, names[1], emails[1]); 94 if(!isDataUpdated(con, tableName, names, emails)) { 111 dropTable(con, tableName); 118 private void createTable(Connection con, String tableName) throws Exception { argument 124 con.prepareStatement("CREATE TABLE "+tableName+" (NAME VARCHAR(30) NOT NULL PRIMARY KEY, EMAIL VARCHAR(30))"); 129 private void dropTable(Connection con, String tableName) throws Exception { argument 132 PreparedStatement pStmt = con.prepareStatement("DROP TABLE "+tableName); 138 private boolean isDataUpdated(Connection con, String tableName, Strin argument 154 updateTable(Connection con, String tableName, String name, String email) argument [all...] |
/glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbrollback1/webclient/client/ |
H A D | Client.java | 73 String tableName = "CUSTOMER_rb1"; 79 createTable(con, tableName); 88 updateTable(con, tableName, names[1], emails[1]); 93 if(isDataPresent(con, tableName)) { 110 dropTable(con, tableName); 121 private void createTable(Connection con, String tableName) throws Exception { argument 127 con.prepareStatement("CREATE TABLE "+tableName+" (NAME VARCHAR(30) NOT NULL PRIMARY KEY, EMAIL VARCHAR(30))"); 132 private void dropTable(Connection con, String tableName) throws Exception { argument 135 PreparedStatement pStmt = con.prepareStatement("DROP TABLE "+tableName); 141 private boolean isDataPresent(Connection con, String tableName) throw argument 154 updateTable(Connection con, String tableName, String name, String email) argument [all...] |
/glassfish-3.1.2/tests/community/jdbc/jdbcusertx/src/java/util/ |
H A D | TablesUtil.java | 55 public static void createTables(DataSource ds1, PrintWriter out, String tableName, String columnName) { argument 62 String query = "create table " + tableName + "(" + columnName + " char(50))"; 85 public static void deleteTables(DataSource ds1, PrintWriter out, String tableName) { argument 92 stmt.executeUpdate("drop table " + tableName); 114 public static boolean verifyTableContent(DataSource ds1, PrintWriter out, String tableName, String columnName, String content) { argument 123 rs = stmt.executeQuery("select count(*) ROW_COUNT from " + tableName + " where " + columnName + " = '" + content + "'");
|
/glassfish-3.1.2/tests/quicklook/jdbc/jdbcusertx/src/java/util/ |
H A D | TablesUtil.java | 55 public static void createTables(DataSource ds1, PrintWriter out, String tableName, String columnName) { argument 62 String query = "create table " + tableName + "(" + columnName + " char(50))"; 85 public static void deleteTables(DataSource ds1, PrintWriter out, String tableName) { argument 92 stmt.executeUpdate("drop table " + tableName); 114 public static boolean verifyTableContent(DataSource ds1, PrintWriter out, String tableName, String columnName, String content) { argument 123 rs = stmt.executeQuery("select count(*) ROW_COUNT from " + tableName + " where " + columnName + " = '" + content + "'");
|
/glassfish-3.1.2/tests/osgi-javaee/osgi-web/hybridapp1/src/main/java/sahoo/hybridapp/example1/impl/ |
H A D | Activator.java | 61 public static final String tableName = "USERINFO"; field in class:Activator 75 String sql = "create table " + tableName + 106 String sql = "drop table " + tableName;
|
H A D | UserAuthServiceEJB.java | 75 Activator.tableName +" where name = '" + name + 112 String sql = "insert into " + Activator.tableName +
|
/glassfish-3.1.2/tests/community/jdbc/jdbcusertx/src/java/test/ |
H A D | UserTxTest.java | 99 String tableName = "user_tx_table_rollback_test"; 102 TablesUtil.createTables(ds1, out, tableName, columnName); 121 stmt.executeUpdate("insert into " + tableName + " values ('" + content + "')"); 128 if (!TablesUtil.verifyTableContent(ds1, out, tableName, columnName, content)) { 160 TablesUtil.deleteTables(ds1, out, tableName); 174 String tableName = "user_tx_table_commit_test"; 177 TablesUtil.createTables(ds1, out, tableName, columnName); 196 stmt.executeUpdate("insert into " + tableName + " values ('" + content + "')"); 202 result = TablesUtil.verifyTableContent(ds1, out, tableName, columnName, content); 233 TablesUtil.deleteTables(ds1, out, tableName); [all...] |
/glassfish-3.1.2/tests/quicklook/jdbc/jdbcusertx/src/java/test/ |
H A D | UserTxTest.java | 99 String tableName = "user_tx_table_rollback_test"; 102 TablesUtil.createTables(ds1, out, tableName, columnName); 121 stmt.executeUpdate("insert into " + tableName + " values ('" + content + "')"); 128 if (!TablesUtil.verifyTableContent(ds1, out, tableName, columnName, content)) { 160 TablesUtil.deleteTables(ds1, out, tableName); 174 String tableName = "user_tx_table_commit_test"; 177 TablesUtil.createTables(ds1, out, tableName, columnName); 196 stmt.executeUpdate("insert into " + tableName + " values ('" + content + "')"); 202 result = TablesUtil.verifyTableContent(ds1, out, tableName, columnName, content); 233 TablesUtil.deleteTables(ds1, out, tableName); [all...] |
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/valves/ |
H A D | JDBCAccessLogValve.java | 94 * the table name (<code>tableName</code>) 168 * tableName = "access"; 187 tableName = "access"; 211 private String tableName; field in class:JDBCAccessLogValve 287 * @param tableName The name of the table. 289 public void setTableName(String tableName) { argument 290 this.tableName = tableName; 584 ("INSERT INTO " + tableName + " (" 591 ("INSERT INTO " + tableName [all...] |
/glassfish-3.1.2/persistence/cmp/generator-database/src/main/java/com/sun/jdo/spi/persistence/generator/database/ |
H A D | DBElementFactory.java | 101 * @param tableName Name of the table without the schema name. 106 String tableName) throws DBException { 109 schema.getName().getName(), tableName); 111 TableElementImpl tableImpl = new TableElementImpl(tableName); 175 String tableName = table.getName().getName(); 176 String fullName = NameUtil.getAbsoluteMemberName(tableName, pKeyName); 105 createAndAttachTable(SchemaElement schema, String tableName) argument
|
H A D | MappingPolicy.java | 1044 * @param tableName Name of the table in which the column name is created. 1048 String tableName) { 1075 return getUniqueLocalName(rc, tableName, columnNameMaxLength); 1081 * @param tableName Name of the table in which the FK column will be 1088 public String getConstraintColumnName(String tableName, argument 1092 new StringBuffer(tableName) 1095 tableName, 1131 * @param tableName Name of a table on which a constraint is to be placed. 1134 public String getPrimaryKeyConstraintName(String tableName) { argument 1135 return getUniqueGlobalName(PK_PREFIX + tableName, constraintNameMaxLengt 1047 getColumnName(String className, String fieldName, String tableName) argument 1161 getUniqueLocalName( String colName, String tableName, int maxLen) argument [all...] |
H A D | DatabaseGenerator.java | 289 String tableName = mappingPolicy.getTableName( 292 schema, tableName); 307 desiredTableName, fieldName, tableName); 321 + tableName + "." + columnName + ": " // NOI18N 335 mappingClass.getTable(tableName).addKeyColumn(
|
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/generator/ |
H A D | UpdateStatement.java | 159 String tableName = ((QueryTable) tableList.get(0)).getTableDesc().getName(); 165 appendQuotedText(statementText, tableName); 171 appendQuotedText(statementText, tableName); 177 appendQuotedText(statementText, tableName);
|
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/service/ |
H A D | JdbcAdminServiceImpl.java | 291 String tableName = rs.getString(3); 292 String actualTableName = tableName; 294 actualTableName = schemaName + "." + tableName; 318 * @param tableName 322 /*private static boolean isPingable(String tableName, java.sql.Connection con) { 325 final String sql = "SELECT COUNT(*) FROM " + tableName; 330 _logger.log(Level.INFO, "pool.exc_is_pingable", tableName);
|
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/util/ |
H A D | ModelValidator.java | 837 String tableName = ((MappingTableElement)i.next()). 839 TableElement table = getTable(tableName, databaseRoot); 1822 String tableName = primaryTable.getName(); 1823 TableElement table = getTable(tableName, schemaName); 1831 new Object[]{tableName, className})); 1841 * @param tableName the table whose existence is being checked 1845 final String tableName) 1847 return createTableExistenceComponent(tableName, null); 1852 * @param tableName the table whose existence is being checked 1860 final String tableName, fina 1844 createTableExistenceComponent( final String tableName) argument 1859 createTableExistenceComponent( final String tableName, final PersistenceFieldElement relatedField) argument 2818 getTable(String tableName, String databaseRoot) argument [all...] |
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/mapping/impl/ |
H A D | MappingFieldElementImpl.java | 354 String tableName = table.getName(); 361 if (NameUtil.getTableName(columnName).equals(tableName))
|
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/ |
H A D | ManagedConnectionFactory.java | 433 * @param tableName table which should be queried 437 String tableName) throws ResourceException { 446 final String statement = "SELECT COUNT(*) FROM " + tableName; 450 _logger.log(Level.INFO, "jdbc.exc_table_validation", tableName); 436 isValidByTableQuery(java.sql.Connection con, String tableName) argument
|
/glassfish-3.1.2/persistence/cmp/ejb-mapping/src/main/java/com/sun/jdo/api/persistence/mapping/ejb/ |
H A D | MappingFile.java | 1245 * Looks up the table element for <code>tableName</code> in the 1250 * @param tableName Table name. 1254 * @return Table element for table <code>tableName</code>. 1258 private TableElement getTableElement(String tableName, argument 1263 TableElement te = (TableElement) knownTables.get(tableName); 1266 te = getTableElement(schema, DBIdentifier.create(tableName), 1268 knownTables.put(tableName, te);
|
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc40/ |
H A D | jdbc40.jar | META-INF/ META-INF/MANIFEST.MF javax/ javax/sql/ javax/sql/StatementEvent.class StatementEvent. ... |