| Summary: | Add SQL Database Binding Wizard | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Tony Chen <chenzhh> | ||||||
| Component: | EDT | Assignee: | Zhi Zhu <zhuzhi> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | jspadea, smythew | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Tony Chen
Tony, in SQLDatabaseBinding, there exists a 'name' property, from my understanding, it refers to 'user name' while connection database, if my understanding is correct, then it should be changed to 'userName', and add a 'name' property for the item, now no property for newly added item. The checked code can added 4 properties, for others, need discussion about it. Please review code. Created attachment 202502 [details]
Check in code
Tony, please review code
Justin - to avoid the situation we found ourselves in RBD where we didn't store enough parameters to create, for example, the context.xmL, can you confirm we're storing enough of the db connection parameters and in a way such that a deploy operation to create a context.xml will have what it needs? My thought would be to add every db property we can to the DD ... The following properties are the minimum needed to configure a data source in context.xml for Tomcat: JNDI name User name Password JDBC URL Driver class name There are other data source properties that can be set, but we haven't exposed them before. Users are free to edit context.xml if they don't like the settings. Examples include: maxWait="5000" auth="Container" maxIdle="2" maxActive="4" type="javax.sql.DataSource" The issue in RBD was configuring a data source on WAS. The RAD tooling in the EAR's DD expected the pieces broken up differently. There was sufficient information if you had a workspace database connection, but the problem was when the values came from the build descriptor - and I don't remember exactly what settings WAS needed that we didn't have. name refers to the name of the binding sqlId is the username (In reply to comment #1) > Tony, in SQLDatabaseBinding, there exists a 'name' property, from my > understanding, it refers to 'user name' while connection database, if my > understanding is correct, then it should be changed to 'userName', and add a > 'name' property for the item, now no property for newly added item. > > The checked code can added 4 properties, for others, need discussion about it. > Please review code. see this bug 356157 for egldd model changes (In reply to comment #4) > The following properties are the minimum needed to configure a data source in > context.xml for Tomcat: > Created attachment 202649 [details]
Complete the feature
Complete the feature close the feature |