blob: 97f202df458fa8b75bc2869240665f253e875d22 [file] [log] [blame]
/*
Derby - Class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource40
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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 org.apache.derby.jdbc;
/**
<P>
This is a vacuous, deprecated class. At one time, it had real behavior and helped us support
separate data sources for Java 5 and Java 6.
Now that we no longer support Java 5, all functionality has migrated into the superclass, EmbeddedConnectionPoolDataSource.
This class is preserved for backward compatibility reasons.
</P>
@deprecated Use {@link EmbeddedConnectionPoolDataSource} instead.
*/
public class EmbeddedConnectionPoolDataSource40
extends EmbeddedConnectionPoolDataSource
implements javax.sql.ConnectionPoolDataSource // compile-time check for
// 4.1 extension
{
// This explicit UID was missing for releases 10.10.1.1 and lower.
// The default changed between 10.7 and 10.8,
// so even with this explicit UID in place, serialized data sources
// created with 10.7 or older would not be readable.
// The default UID in 10.7 was -2155993232624542236.
// This was not caught by the serialization tests at the time since
// the "40"-suffixed data sources were not tested back then, cf DERBY-5955
// http://svn.apache.org/viewvc?view=revision&revision=1438035 .
private static final long serialVersionUID = -4368824293743156916L;
}