mirror of https://github.com/apache/openjpa.git
OPENJPA-279
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
774e7b5b8c
commit
0826b7a717
|
@ -755,7 +755,8 @@ public class JDBCConfigurationImpl
|
|||
public Object getConnectionFactory2() {
|
||||
// override to configure data source
|
||||
if (dataSource2 == null) {
|
||||
DataSource ds = (DataSource) connectionFactory2.get();
|
||||
// superclass will lookup from JNDI.
|
||||
DataSource ds = (DataSource) super.getConnectionFactory2();
|
||||
if (ds == null) {
|
||||
// the driver name is always required, so if not specified,
|
||||
// then no connection factory 2
|
||||
|
|
Loading…
Reference in New Issue