Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B3AFE811 for ; Mon, 11 Feb 2013 10:49:18 +0000 (UTC) Received: (qmail 95821 invoked by uid 500); 11 Feb 2013 10:49:17 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 95449 invoked by uid 500); 11 Feb 2013 10:49:16 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 94805 invoked by uid 99); 11 Feb 2013 10:49:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 10:49:13 +0000 Date: Mon, 11 Feb 2013 10:49:13 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6059) Document Derby usage running on Java 8 JEP 161 Compact Profiles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575724#comment-13575724 ] Knut Anders Hatlen commented on DERBY-6059: ------------------------------------------- Dag is correct. DERBY-5880 made the suffix-less data sources more capable, and the javadoc comments were updated to reflect the new reality. The suffix-less data sources can (still) be used on JDBC 3.0 platforms, but now they also support the full JDBC 4.0 API. The data sources with the "40" suffix require at least JDBC 4.0 support in the JVM, otherwise the classes will fail to load. They support the full JDBC 4.1 API. I guess we should add a sentence to the javadoc of the 40-suffixed classes to say that they will also work on Java SE 6/JDBC 4.0. They will have to continue supporting that platform for backward compatibility reasons, and we could just as well say that explicitly in the javadoc. That might make the naming less confusing too. > Document Derby usage running on Java 8 JEP 161 Compact Profiles > --------------------------------------------------------------- > > Key: DERBY-6059 > URL: https://issues.apache.org/jira/browse/DERBY-6059 > Project: Derby > Issue Type: Improvement > Components: Documentation > Reporter: Dag H. Wanvik > Assignee: Kim Haase > Fix For: 10.10.0.0 > > Attachments: javadoc-snapshot.pdf > > > Document that Derby can run even under constrained Java runtime as planned for Java 8 Compact Profiles 2 and 3 (not 1, the smallest runtime, since it has no JDBC). Cf work in DERBY-5955 which made Derby run gracefully even when some normal Java runtime packages are missing, notably JNDI and JMX. > That work introduced six new data sources which have reduced functionality compared with the corresponding ones for full Java SE, in that there is no JNDI support. The six new data sources are for the client driver: > Client/server data sources for use with Java 8 Compact Profile 2 and above: > BasicClientDataSource40 - Data source > BasicClientConnectionPoolDataSource40 - Connection pooling data source > BasicClientXADataSource40 - XA data source > Embedded data sources for use with Java 8 Compact Profile 2 and above: > BasicEmbeddedDataSource40 - Data source > BasicEmbeddedConnectionPoolSource40 - Connection pooling data source > BasicEmbeddedXASource40 - XA data source -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira