You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/01/05 02:43:14 UTC

[GitHub] [shardingsphere] JerryGHH edited a comment on issue #14463: ShardingSphereException:oracle.jdbc.driver.T4CConnection.getSchema()

JerryGHH edited a comment on issue #14463:
URL: https://github.com/apache/shardingsphere/issues/14463#issuecomment-1005332504


   > Can it work normally? And can you offer a demo for me to try?
   
   console will output this exception infomation, but will not block application, and work normally.
   
   Related configuration:
   
   <![CDATA[<bean id="db1" class="com.alibaba.druid.pool.DruidDataSource"  destroy-method="close"> 
   		 <property name="url" value="jdbc:oracle:thin:@*.*.*.*:1521/tt" />
   		 <property name="username" value="root" />
   		 <property name="password" value="root123" />
   	</bean>]]>
   
   <sharding:sharding-algorithm id="dljlTableAlgorithm" type="INTERVAL">
   		<props>
   			<prop key="datetime-pattern">yyyy-MM-dd HH:mm:ss</prop>
   			<prop key="datetime-lower">2022-01-01 00:00:00</prop>
   			<prop key="sharding-suffix-pattern">yyyyMM</prop>
   			<prop key="datetime-interval-amount">1</prop>
   			<prop key="datetime-interval-unit">MONTHS</prop>
   		</props>
   	</sharding:sharding-algorithm>
   	<sharding:standard-strategy id="dljlTableStrategy" sharding-column="DLSJ" algorithm-ref="dljlTableAlgorithm" />
   <sharding:rule id="shardingRules">
   		<sharding:table-rules>
   			<sharding:table-rule logic-table="YH_DLJL" actual-data-nodes="db1.YH_DLJL_20220$->{1..9},db1.yh_dljl_2022$->{10..12}" table-strategy-ref="dljlTableStrategy"/>
   		</sharding:table-rules>
   	</sharding:rule>
   <shardingsphere:data-source id="shardingDataSource"  data-source-names="db1" rule-refs="shardingRules"></shardingsphere:data-source>
   
   
   
   <![CDATA[<dependency><groupId>com.oracle</groupId><artifactId>ojdbc6</artifactId><version>11.2.0.1.0</version</dependency>]]>
           
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org