From 8f558bb6437d282a1a2d95864427342164ca14f9 Mon Sep 17 00:00:00 2001 From: wenshao Date: Mon, 26 Nov 2012 13:21:12 +0800 Subject: [PATCH] sharding support --- .../druid/sharding/ShardingConnection.java | 15 +++++++++++++++ .../druid/sharding/ShardingPreparedStatement.java | 15 +++++++++++++++ .../alibaba/druid/sharding/ShardingStatement.java | 15 +++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/src/main/java/com/alibaba/druid/sharding/ShardingConnection.java b/src/main/java/com/alibaba/druid/sharding/ShardingConnection.java index 2fb7d8a264..4ae97aaaa4 100644 --- a/src/main/java/com/alibaba/druid/sharding/ShardingConnection.java +++ b/src/main/java/com/alibaba/druid/sharding/ShardingConnection.java @@ -1,3 +1,18 @@ +/* + * Copyright 1999-2011 Alibaba Group Holding Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.alibaba.druid.sharding; import java.sql.Array; diff --git a/src/main/java/com/alibaba/druid/sharding/ShardingPreparedStatement.java b/src/main/java/com/alibaba/druid/sharding/ShardingPreparedStatement.java index 6043e44ef5..441161ef46 100644 --- a/src/main/java/com/alibaba/druid/sharding/ShardingPreparedStatement.java +++ b/src/main/java/com/alibaba/druid/sharding/ShardingPreparedStatement.java @@ -1,3 +1,18 @@ +/* + * Copyright 1999-2011 Alibaba Group Holding Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.alibaba.druid.sharding; import java.io.InputStream; diff --git a/src/main/java/com/alibaba/druid/sharding/ShardingStatement.java b/src/main/java/com/alibaba/druid/sharding/ShardingStatement.java index 10233d47ec..1bdc96e809 100644 --- a/src/main/java/com/alibaba/druid/sharding/ShardingStatement.java +++ b/src/main/java/com/alibaba/druid/sharding/ShardingStatement.java @@ -1,3 +1,18 @@ +/* + * Copyright 1999-2011 Alibaba Group Holding Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.alibaba.druid.sharding; import java.sql.Connection;