You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Junjie Peng (JIRA)" <ji...@apache.org> on 2008/07/03 11:58:45 UTC
[jira] Created: (DERBY-3754) Convert
"org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
--------------------------------------------------------------------------------
Key: DERBY-3754
URL: https://issues.apache.org/jira/browse/DERBY-3754
Project: Derby
Issue Type: Test
Components: Test
Environment: windows xp, sp2.
Reporter: Junjie Peng
Assignee: Junjie Peng
Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit. It it a part of 2008 GSOC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DERBY-3754) Convert
"org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
Posted by "Junjie Peng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junjie Peng resolved DERBY-3754.
--------------------------------
Resolution: Fixed
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
> --------------------------------------------------------------------------------
>
> Key: DERBY-3754
> URL: https://issues.apache.org/jira/browse/DERBY-3754
> Project: Derby
> Issue Type: Test
> Components: Test
> Environment: windows xp, sp2.
> Reporter: Junjie Peng
> Assignee: Junjie Peng
> Attachments: derby-3754-1-patch.txt, derby-3754-2-patch.txt, derby-3754-2-stat.txt
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit. It it a part of 2008 GSOC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-3754) Convert
"org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
Posted by "Junjie Peng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612736#action_12612736 ]
Junjie Peng commented on DERBY-3754:
------------------------------------
I will review the code. Thank you, Kathey!
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
> --------------------------------------------------------------------------------
>
> Key: DERBY-3754
> URL: https://issues.apache.org/jira/browse/DERBY-3754
> Project: Derby
> Issue Type: Test
> Components: Test
> Environment: windows xp, sp2.
> Reporter: Junjie Peng
> Assignee: Junjie Peng
> Attachments: derby-3754-1-patch.txt
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit. It it a part of 2008 GSOC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-3754) Convert
"org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613654#action_12613654 ]
Kathey Marsden commented on DERBY-3754:
---------------------------------------
Committed revision 676953.
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
> --------------------------------------------------------------------------------
>
> Key: DERBY-3754
> URL: https://issues.apache.org/jira/browse/DERBY-3754
> Project: Derby
> Issue Type: Test
> Components: Test
> Environment: windows xp, sp2.
> Reporter: Junjie Peng
> Assignee: Junjie Peng
> Attachments: derby-3754-1-patch.txt, derby-3754-2-patch.txt, derby-3754-2-stat.txt
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit. It it a part of 2008 GSOC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-3754) Convert
"org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
Posted by "Junjie Peng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junjie Peng updated DERBY-3754:
-------------------------------
Attachment: derby-3754-1-patch.txt
derby-3754-1-patch is not a mature one. There are some exceptions when running it, which I don't know why. When I use DriverManager.getConnection(). A SQLException will be thrown and prompting "not suitable Driver". Who can help me resovle it? Thank you!
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
> --------------------------------------------------------------------------------
>
> Key: DERBY-3754
> URL: https://issues.apache.org/jira/browse/DERBY-3754
> Project: Derby
> Issue Type: Test
> Components: Test
> Environment: windows xp, sp2.
> Reporter: Junjie Peng
> Assignee: Junjie Peng
> Attachments: derby-3754-1-patch.txt
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit. It it a part of 2008 GSOC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DERBY-3754) Convert
"org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
Posted by "Junjie Peng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junjie Peng closed DERBY-3754.
------------------------------
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
> --------------------------------------------------------------------------------
>
> Key: DERBY-3754
> URL: https://issues.apache.org/jira/browse/DERBY-3754
> Project: Derby
> Issue Type: Test
> Components: Test
> Environment: windows xp, sp2.
> Reporter: Junjie Peng
> Assignee: Junjie Peng
> Attachments: derby-3754-1-patch.txt, derby-3754-2-patch.txt, derby-3754-2-stat.txt
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit. It it a part of 2008 GSOC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-3754) Convert
"org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
Posted by "Junjie Peng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junjie Peng updated DERBY-3754:
-------------------------------
Attachment: derby-3754-2-stat.txt
derby-3754-2-patch.txt
It works well. Please check the patch. Thank you!
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
> --------------------------------------------------------------------------------
>
> Key: DERBY-3754
> URL: https://issues.apache.org/jira/browse/DERBY-3754
> Project: Derby
> Issue Type: Test
> Components: Test
> Environment: windows xp, sp2.
> Reporter: Junjie Peng
> Assignee: Junjie Peng
> Attachments: derby-3754-1-patch.txt, derby-3754-2-patch.txt, derby-3754-2-stat.txt
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit. It it a part of 2008 GSOC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-3754) Convert
"org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612568#action_12612568 ]
Kathey Marsden commented on DERBY-3754:
---------------------------------------
Hi Junjie,
You have code like:
String conSql = "connect 'jdbc:derby:wombat;create=true'";
Connection con = DriverManager.getConnection(conSql);
The connect statement is just ij language and is not used. You only pass the url to DriverManager. e.g.
String url = "jdbc:derby:wombat;create=true";
Connection con = DriverManager.getConnection(url);
One thing to not as well is since this test uses DriverManager we don't want to run with JSR169, Your suite() method should have something like:
if ( JDBC.vmSupportsJSR169())
// Test uses DriverManager which
// is not supported with JSR169
return new TestSuite("empty ConnectTest:DriverManager not supported");
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
> --------------------------------------------------------------------------------
>
> Key: DERBY-3754
> URL: https://issues.apache.org/jira/browse/DERBY-3754
> Project: Derby
> Issue Type: Test
> Components: Test
> Environment: windows xp, sp2.
> Reporter: Junjie Peng
> Assignee: Junjie Peng
> Attachments: derby-3754-1-patch.txt
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit. It it a part of 2008 GSOC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-3754) Convert
"org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Myrna van Lunteren updated DERBY-3754:
--------------------------------------
Fix Version/s: 10.5.0.0
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
> --------------------------------------------------------------------------------
>
> Key: DERBY-3754
> URL: https://issues.apache.org/jira/browse/DERBY-3754
> Project: Derby
> Issue Type: Test
> Components: Test
> Environment: windows xp, sp2.
> Reporter: Junjie Peng
> Assignee: Junjie Peng
> Fix For: 10.5.0.0
>
> Attachments: derby-3754-1-patch.txt, derby-3754-2-patch.txt, derby-3754-2-stat.txt
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit. It it a part of 2008 GSOC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-3754) Convert
"org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden updated DERBY-3754:
----------------------------------
Derby Info: (was: [Patch Available])
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit
> --------------------------------------------------------------------------------
>
> Key: DERBY-3754
> URL: https://issues.apache.org/jira/browse/DERBY-3754
> Project: Derby
> Issue Type: Test
> Components: Test
> Environment: windows xp, sp2.
> Reporter: Junjie Peng
> Assignee: Junjie Peng
> Attachments: derby-3754-1-patch.txt, derby-3754-2-patch.txt, derby-3754-2-stat.txt
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.connect.sql" to junit. It it a part of 2008 GSOC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.