Bug 198904 - Redundant URL property for JDBC Connection Pool
Redundant URL property for JDBC Connection Pool
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: GlassFish
7.0
PC All
: P3 (vote)
: 7.4
Assigned To: TomasKraus
issues@serverplugins
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-26 08:55 UTC by arungupta
Modified: 2013-05-14 14:36 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arungupta 2011-05-26 08:55:22 UTC
Create a new JDBC connection pool using "GlassFish" category and here is how it looks like:

  <jdbc-connection-pool  ...>
    <property name="URL" value="jdbc:derby://localhost:1527/sun-appserv-samples"/>
    <property name="serverName" value="localhost"/>
    <property name="PortNumber" value="1527"/>
    <property name="DatabaseName" value="sun-appserv-samples"/>
    <property name="User" value="APP"/>
    <property name="Password" value="APP"/>
  </jdbc-connection-pool>

The first property of "URL" is redundant cause all the information already exists in the subsequent properties.
Comment 1 Sergey Petrov 2011-05-26 10:56:09 UTC
what wizards/steps/manus are used to create jdbc pool? I wonder if it's persistence related issue.
Comment 2 arungupta 2011-05-26 12:22:48 UTC
Already mentioned in the bug report.

"Other" -> "GlassFish" -> "JDBC Resource" and create the pool as part of that.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo