You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Clinton Begin (JIRA)" <ib...@incubator.apache.org> on 2005/01/13 23:39:20 UTC
[jira] Updated: (IBATIS-13) Doc error JNDI DataSource configuration
[ http://issues.apache.org/jira/browse/IBATIS-13?page=history ]
Clinton Begin updated IBATIS-13:
--------------------------------
Priority: Minor (was: Major)
> Doc error JNDI DataSource configuration
> ---------------------------------------
>
> Key: IBATIS-13
> URL: http://issues.apache.org/jira/browse/IBATIS-13
> Project: iBatis for Java
> Type: Bug
> Components: Documentation
> Reporter: Clinton Begin
> Priority: Minor
>
> >> of the gate attempting to configure a JNDI
> DataSource.
> >>
> >> The examples in the documentation are incorrect.
> >>
> >> What's documented:
> >>
> >> iBATIS-DAO-2.pdf (page 6):
> >>
> >> <!-- Example JNDI DataSource JDBC
> Transaction Manager
> >> -->
> >> <transactionManager type="JDBC">
> >> <property name="DataSource"
> value="JNDI"/>
> >> <property name="DBJndiContext"
> >> value="java:comp/env/jdbc/MyDataSource"/>
> >> </transactionManager>
> >>
> >> iBATIS-SqlMaps-2.pdf (page 10):
> >>
> >> JndiDataSourceFactory
> >> ...
> >> <transactionManager type="JDBC" >
> >> <dataSource type="JNDI">
> >> <property name="DataSource"
> >> value="java:comp/env/jdbc/jpetstore"/>
> >> </dataSource>
> >> </transactionManager>
> >>
> >> What actually works ("DBJndiContext"
> not "DataSource"):
> >>
> >> <transactionManager type="JDBC">
> >> <dataSource type="JNDI">
> >> <property name="DBJndiContext"
> >> value="java:comp/env/jdbc/MyDataSource"/>
> >> </dataSource>
> >> </transactionManager>
> >>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira