ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clinton Begin (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Updated: (IBATIS-13) Doc error JNDI DataSource configuration
Date Thu, 13 Jan 2005 22:39:20 GMT
     [ 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


Mime
View raw message