1 10 11 package com.triactive.jdo.store; 12 13 import java.sql.DatabaseMetaData ; 14 15 16 25 26 class CloudscapeAdapter extends DatabaseAdapter 27 { 28 33 34 protected CloudscapeAdapter(DatabaseMetaData metadata) 35 { 36 super(metadata); 37 } 38 39 public String getVendorID() 40 { 41 return "cloudscape"; 42 } 43 44 public boolean supportsDeferredConstraints() 45 { 46 return false; 47 } 48 49 public TableExpression newTableExpression(QueryStatement qs, Table table, SQLIdentifier rangeVar) 50 { 51 57 return new TableExprAsSubquery(qs, table, rangeVar); 58 } 59 60 public String getDropTableStatement(BaseTable table) 61 { 62 return "DROP TABLE " + table.getName(); 63 } 64 } 65 | Popular Tags |