Skip to content

Commit 43f9213

Browse files
committed
Minor changes to README.md
* mention `timestamptz` and `timetz` in the list of type mappings * some minor changes to the text
1 parent 84ae530 commit 43f9213

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ The following table shows the mapping between a database type and a Java type:
8282
| char | char |
8383
| text | java.lang.String |
8484
| timestamp | java.sql.Timestamp |
85+
| timestamptz | java.sql.Timestamp |
8586
| date | java.sql.Timestamp |
8687
| time | java.sql.Timestamp |
88+
| timetz | java.sql.Timestamp |
8789
| boolean | boolean |
8890
| enum | java.lang.Enum |
8991
| array | java.util.List / java.util.Set |
@@ -101,9 +103,9 @@ Dependencies
101103
------------
102104

103105
* Spring Framework
104-
* PostgreSQL driver ;)
106+
* PostgreSQL JDBC driver ;)
105107
* Google Guava
106-
* and more see pom.xml for details
108+
* and more see `pom.xml` for details
107109

108110
How to run integration tests
109111
----------------------------
@@ -121,12 +123,12 @@ How to run integration tests
121123
Known issues
122124
------------
123125

124-
* PostgreSQL JDBC driver does not honor identical type names in different schemas, this may lead to issues if typemapper is used where types are present with equal name in more than one schema (this problem is solved now with the commit [3ca94e64d6322fa91c477200bfb3719deaeac153](https://github.com/pgjdbc/pgjdbc/commit/3ca94e64d6322fa91c477200bfb3719deaeac153) to [pgjdbc](https://github.com/pgjdbc/pgjdbc/) driver)
125-
* PostgreSQL domains are not supported as for now
126-
* PostgreSQL `hstore` type is mapped from and to `Map<String,String>`, there is no way to use `Map` of different types for now
127-
* Two different datasources with the same jdbc URL and different search paths might not work properly when we have types with the identical name.
128-
* SprocWrapper relies on the search path to resolve conflicting types with the same name (right now, we are not checking the schema). If one specifies the schema of the stored procedure's return type, SprocWrapper might end up using the wrong one, because it will use the search_path to resolve the conflict. For more info check test: SimpleIT.testTypeLookupBugWithSchema.
129-
* For integration with Spring's transaction management use the TransactionAwareDataSourceProxy as the data source injected into the data source provider.
126+
* PostgreSQL JDBC driver does not honor identical type names in different schemas, this may lead to issues if typemapper is used where types are present with equal name in more than one schema (this problem is solved now with the commit [3ca94e64d6322fa91c477200bfb3719deaeac153](https://github.com/pgjdbc/pgjdbc/commit/3ca94e64d6322fa91c477200bfb3719deaeac153) to [pgjdbc](https://github.com/pgjdbc/pgjdbc/) driver);
127+
* PostgreSQL domains are not supported as for now;
128+
* PostgreSQL `hstore` type is mapped from and to `Map<String,String>`, there is no way to use `Map` of different types for now;
129+
* Two different datasources with the same JDBC URL and different search paths might not work properly when we have types with the identical name;
130+
* SprocWrapper relies on the search path to resolve conflicting types with the same name (right now, we are not checking the schema). If one specifies the schema of the stored procedure's return type, SprocWrapper might end up using the wrong one, because it will use the `search_path` to resolve the conflict. For more info check test: `SimpleIT.testTypeLookupBugWithSchema`;
131+
* For integration with Spring's transaction management use the `TransactionAwareDataSourceProxy` as the data source injected into the data source provider.
130132

131133
Documentation
132134
-------------
@@ -154,4 +156,3 @@ distributed under the License is distributed on an "AS IS" BASIS,
154156
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
155157
See the License for the specific language governing permissions and
156158
limitations under the License.
157-

0 commit comments

Comments
 (0)