forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6055333
committed
Attached is a patch which deals with
select 'id' as xxx from tableThe issue is:When the driver gets a data type which does not map into the SQL.Typesit attempts to load the object into a java object. Eventually throwingan exception indicating that the type "unknown" was not found.Since the backend defaults "unknown" types to text it was suggested thatthe jdbc driver do the same.This patch does just that.I have tested it on the above select statement as well as a smallprogram that serializes, and deserializes a classDave Cramer1 parent96471bf commit6055333
File tree
2 files changed
+14
-2
lines changed- src/interfaces/jdbc/org/postgresql
- jdbc1
- jdbc2
2 files changed
+14
-2
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
862 | 862 |
| |
863 | 863 |
| |
864 | 864 |
| |
865 |
| - | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
866 | 872 |
| |
867 | 873 |
| |
868 | 874 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
727 | 727 |
| |
728 | 728 |
| |
729 | 729 |
| |
730 |
| - | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
731 | 737 |
| |
732 | 738 |
| |
733 | 739 |
| |
|
0 commit comments
Comments
(0)