| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Jython Database Specification API 2.0 | 2 * Jython Database Specification API 2.0 |
| 3 * | 3 * |
| 4 * $Id$ | 4 * $Id$ |
| 5 * | 5 * |
| 6 * Copyright (c) 2001 brian zimmer <bzimmer@ziclix.com> | 6 * Copyright (c) 2001 brian zimmer <bzimmer@ziclix.com> |
| 7 * | 7 * |
| 8 */ | 8 */ |
| 9 package com.ziclix.python.sql; | 9 package com.ziclix.python.sql; |
| 10 | 10 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 dict.__setitem__("classDictInit", null); | 124 dict.__setitem__("classDictInit", null); |
| 125 dict.__setitem__("toString", null); | 125 dict.__setitem__("toString", null); |
| 126 } | 126 } |
| 127 | 127 |
| 128 /** | 128 /** |
| 129 * Finds the attribute. | 129 * Finds the attribute. |
| 130 * | 130 * |
| 131 * @param name the name of the attribute of interest | 131 * @param name the name of the attribute of interest |
| 132 * @return the value for the attribute of the specified name | 132 * @return the value for the attribute of the specified name |
| 133 */ | 133 */ |
| 134 public PyObject __findattr__(String name) { | 134 public PyObject __findattr_ex__(String name) { |
| 135 | 135 |
| 136 if ("__methods__".equals(name)) { | 136 if ("__methods__".equals(name)) { |
| 137 return __methods__; | 137 return __methods__; |
| 138 } else if ("__members__".equals(name)) { | 138 } else if ("__members__".equals(name)) { |
| 139 return __members__; | 139 return __members__; |
| 140 } | 140 } |
| 141 | 141 |
| 142 return super.__findattr__(name); | 142 return super.__findattr_ex__(name); |
| 143 } | 143 } |
| 144 | 144 |
| 145 /** | 145 /** |
| 146 * Only table descriptions matching the catalog, schema, table name and type | 146 * Only table descriptions matching the catalog, schema, table name and type |
| 147 * criteria are returned. They are ordered by TABLE_TYPE, TABLE_SCHEM and | 147 * criteria are returned. They are ordered by TABLE_TYPE, TABLE_SCHEM and |
| 148 * TABLE_NAME. | 148 * TABLE_NAME. |
| 149 * | 149 * |
| 150 * @param qualifier | 150 * @param qualifier |
| 151 * @param owner | 151 * @param owner |
| 152 * @param table | 152 * @param table |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 case 105: | 589 case 105: |
| 590 cursor.procedurecolumns(arg1, arg2, arg3, arg4); | 590 cursor.procedurecolumns(arg1, arg2, arg3, arg4); |
| 591 | 591 |
| 592 return Py.None; | 592 return Py.None; |
| 593 | 593 |
| 594 default : | 594 default : |
| 595 throw info.unexpectedCall(4, false); | 595 throw info.unexpectedCall(4, false); |
| 596 } | 596 } |
| 597 } | 597 } |
| 598 } | 598 } |
| OLD | NEW |