Skip to content

Commit b7a86b1

Browse files
michaelcgoodpivovarit
authored andcommitted
BAEL-1341 JDBC RowSet Interface (eugenp#3175)
* michael.good703@gmail.com michael.good703@gmail.com * michael.good703@gmail.com michael.good703@gmail.com * michael.good703@gmail.com michael.good703@gmail.com * update * michael.good703@gmail.com Had to add @SpringBootApplication(exclude = MySQLAutoconfiguration.class) * Updated for 3.3.0.Final BAEL-1238 * Update pom.xml * BAEL-1238 Added new module spring-boot-keycloak and removed Keycloak code from spring-boot module * Minor changes to pom.xml * Update CustomConverterTest.java * Update StringToEmployeeConverter.java * Update GenericBigDecimalConverter.java * Update MyFeatures.java * Update .gitignore * Formatting changes * "Resolving conflicts" * Updated spring-boot to remove keycloak * Updated to see * Update * Updated * Found remnant file and deleted it * Update pom.xml Added spring-boot-keycloak module * Added reference to parent-boot-5 I changed the parent from org.springframework.boot to parent-boot-5. * Update GenericBigDecimalConverter.java Copy current GenericBigDecimalConverter to resolve any conflicts * Update StringToEmployeeConverter.java Copy current version to resolve any conflicts * Update pom.xml * Update pom.xml * Delete remnant files * Updated pom.xml * Update pom.xml * BAEL-1341 JDBC RowSet Interface This commit includes the main package and test package to accompany the tutorial JDBC RowSet Interface. * Update pom.xml * Changed from MySQL to h2 Changed MySQL to embedded database for ease of use.
1 parent e9a56b2 commit b7a86b1

7 files changed

Lines changed: 1007 additions & 478 deletions

File tree

‎core-java/customers.xml‎

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
<?xml version="1.0"?>
2+
<webRowSet xmlns="http://java.sun.com/xml/ns/jdbc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://java.sun.com/xml/ns/jdbc http://java.sun.com/xml/ns/jdbc/webrowset.xsd">
4+
<properties>
5+
<command>SELECT * FROM customers</command>
6+
<concurrency>1008</concurrency>
7+
<datasource><null/></datasource>
8+
<escape-processing>true</escape-processing>
9+
<fetch-direction>1000</fetch-direction>
10+
<fetch-size>0</fetch-size>
11+
<isolation-level>2</isolation-level>
12+
<key-columns>
13+
</key-columns>
14+
<map>
15+
</map>
16+
<max-field-size>0</max-field-size>
17+
<max-rows>0</max-rows>
18+
<query-timeout>0</query-timeout>
19+
<read-only>true</read-only>
20+
<rowset-type>ResultSet.TYPE_SCROLL_INSENSITIVE</rowset-type>
21+
<show-deleted>false</show-deleted>
22+
<table-name>customers</table-name>
23+
<url>jdbc:h2:mem:testdb</url>
24+
<sync-provider>
25+
<sync-provider-name>com.sun.rowset.providers.RIOptimisticProvider</sync-provider-name>
26+
<sync-provider-vendor>Oracle Corporation</sync-provider-vendor>
27+
<sync-provider-version>1.0</sync-provider-version>
28+
<sync-provider-grade>2</sync-provider-grade>
29+
<data-source-lock>1</data-source-lock>
30+
</sync-provider>
31+
</properties>
32+
<metadata>
33+
<column-count>2</column-count>
34+
<column-definition>
35+
<column-index>1</column-index>
36+
<auto-increment>false</auto-increment>
37+
<case-sensitive>true</case-sensitive>
38+
<currency>false</currency>
39+
<nullable>0</nullable>
40+
<signed>true</signed>
41+
<searchable>true</searchable>
42+
<column-display-size>11</column-display-size>
43+
<column-label>ID</column-label>
44+
<column-name>ID</column-name>
45+
<schema-name>PUBLIC</schema-name>
46+
<column-precision>10</column-precision>
47+
<column-scale>0</column-scale>
48+
<table-name>CUSTOMERS</table-name>
49+
<catalog-name>TESTDB</catalog-name>
50+
<column-type>4</column-type>
51+
<column-type-name>INTEGER</column-type-name>
52+
</column-definition>
53+
<column-definition>
54+
<column-index>2</column-index>
55+
<auto-increment>false</auto-increment>
56+
<case-sensitive>true</case-sensitive>
57+
<currency>false</currency>
58+
<nullable>0</nullable>
59+
<signed>true</signed>
60+
<searchable>true</searchable>
61+
<column-display-size>50</column-display-size>
62+
<column-label>NAME</column-label>
63+
<column-name>NAME</column-name>
64+
<schema-name>PUBLIC</schema-name>
65+
<column-precision>50</column-precision>
66+
<column-scale>0</column-scale>
67+
<table-name>CUSTOMERS</table-name>
68+
<catalog-name>TESTDB</catalog-name>
69+
<column-type>12</column-type>
70+
<column-type-name>VARCHAR</column-type-name>
71+
</column-definition>
72+
</metadata>
73+
<data>
74+
<currentRow>
75+
<columnValue>1</columnValue>
76+
<columnValue>Customer1</columnValue>
77+
</currentRow>
78+
<currentRow>
79+
<columnValue>2</columnValue>
80+
<columnValue>Customer2</columnValue>
81+
</currentRow>
82+
<currentRow>
83+
<columnValue>3</columnValue>
84+
<columnValue>Customer3</columnValue>
85+
</currentRow>
86+
<currentRow>
87+
<columnValue>4</columnValue>
88+
<columnValue>Customer4</columnValue>
89+
</currentRow>
90+
<currentRow>
91+
<columnValue>5</columnValue>
92+
<columnValue>Customer5</columnValue>
93+
</currentRow>
94+
</data>
95+
</webRowSet>

0 commit comments

Comments
 (0)