Issue Details (XML | Word | Printable)

Key: OPENEJB-763
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Blevins
Reporter: David Blevins
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenEJB

Auto create non-jta-data-source as a clone of jta-data-source and vice versa

Created: 01/Mar/08 08:45 PM   Updated: 04/Mar/08 06:33 AM
Return to search
Component/s: configuration
Affects Version/s: 3.0-beta-1, 3.0-beta-2
Fix Version/s: 3.0

Time Tracking:
Not Specified

Resolution Date: 04/Mar/08 06:33 AM


 Description  « Hide
In situations where someone has supplied only one of non-jta-data-source or jta-data-source, we could auto-create the matching datasource using the supplied datasource as a template. Currently we do auto-create the missing datasource, but we do so using the defaults in the service-jar.xml which is less than optimal as the datasources are unlikely to point at the same database.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #633370 Tue Mar 04 06:33:07 UTC 2008 dblevins OPENEJB-763: Auto create non-jta-data-source as a clone of jta-data-source and vice versa
As well as about 24 other tested scenarios
Files Changed
MODIFY /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
MODIFY /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/AutoConfig.java
MODIFY /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/ServiceUtils.java
ADD /openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/config/AutoConfigPersistenceUnitsTest.java
MODIFY /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/AppInfoBuilder.java
MODIFY /openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/config/AutoConfigTest.java

David Blevins added a comment - 04/Mar/08 06:33 AM
$ svn ci
Sending container/openejb-core/src/main/java/org/apache/openejb/config/AppInfoBuilder.java
Sending container/openejb-core/src/main/java/org/apache/openejb/config/AutoConfig.java
Sending container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
Sending container/openejb-core/src/main/java/org/apache/openejb/config/ServiceUtils.java
Adding container/openejb-core/src/test/java/org/apache/openejb/config/AutoConfigPersistenceUnitsTest.java
Sending container/openejb-core/src/test/java/org/apache/openejb/config/AutoConfigTest.java
Transmitting file data ......
Committed revision 633370.


David Blevins made changes - 04/Mar/08 06:33 AM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]