|
| 1 | +/*------------------------------------------------------------------------- |
| 2 | + * |
| 3 | + * AbstractJdbc2ResultSet.java |
| 4 | + * This class defines methods of the jdbc2 specification. This class |
| 5 | + * extends org.postgresql.jdbc1.AbstractJdbc1ResultSet which provides the |
| 6 | + * jdbc1 methods. The real Statement class (for jdbc2) is |
| 7 | + * org.postgresql.jdbc2.Jdbc2ResultSet |
| 8 | + * |
| 9 | + * Copyright (c) 2003, PostgreSQL Global Development Group |
| 10 | + * |
| 11 | + * IDENTIFICATION |
| 12 | + * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.17 2003/03/14 05:36:58 barry Exp $ |
| 13 | + * |
| 14 | + *------------------------------------------------------------------------- |
| 15 | + */ |
1 | 16 | packageorg.postgresql.jdbc2; |
2 | 17 |
|
3 | | - |
| 18 | +importjava.io.CharArrayReader; |
| 19 | +importjava.io.InputStream; |
| 20 | +importjava.io.IOException; |
4 | 21 | importjava.math.BigDecimal; |
5 | | -importjava.io.*; |
6 | 22 | importjava.sql.*; |
7 | | -importjava.text.ParseException; |
8 | | -importjava.text.SimpleDateFormat; |
9 | | -importjava.util.*; |
| 23 | +importjava.util.Enumeration; |
| 24 | +importjava.util.Hashtable; |
| 25 | +importjava.util.Iterator; |
| 26 | +importjava.util.StringTokenizer; |
| 27 | +importjava.util.Vector; |
10 | 28 | importorg.postgresql.Driver; |
11 | 29 | importorg.postgresql.core.BaseStatement; |
12 | 30 | importorg.postgresql.core.Field; |
13 | 31 | importorg.postgresql.core.Encoding; |
14 | | -importorg.postgresql.largeobject.*; |
15 | | -importorg.postgresql.util.PGbytea; |
16 | 32 | importorg.postgresql.util.PSQLException; |
17 | 33 |
|
18 | 34 |
|
19 | | -/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.16 2003/03/08 06:06:55 barry Exp $ |
20 | | - * This class defines methods of the jdbc2 specification. This class extends |
21 | | - * org.postgresql.jdbc1.AbstractJdbc1ResultSet which provides the jdbc1 |
22 | | - * methods. The real Statement class (for jdbc2) is org.postgresql.jdbc2.Jdbc2ResultSet |
23 | | - */ |
24 | 35 | publicabstractclassAbstractJdbc2ResultSetextendsorg.postgresql.jdbc1.AbstractJdbc1ResultSet |
25 | 36 | { |
26 | 37 |
|
@@ -1413,7 +1424,7 @@ public void parseQuery() |
1413 | 1424 | { |
1414 | 1425 | String[]l_sqlFragments = ((AbstractJdbc2Statement)statement).getSqlFragments(); |
1415 | 1426 | Stringl_sql =l_sqlFragments[0]; |
1416 | | -StringTokenizerst =newStringTokenizer(l_sql,"\r\t"); |
| 1427 | +StringTokenizerst =newStringTokenizer(l_sql,"\r\t\n"); |
1417 | 1428 | booleantableFound =false,tablesChecked =false; |
1418 | 1429 | Stringname =""; |
1419 | 1430 |
|
|