db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Waibel (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OJB-119) JDBC connection documentation out of date
Date Wed, 16 Aug 2006 00:19:15 GMT
    [ http://issues.apache.org/jira/browse/OJB-119?page=comments#action_12428276 ] 
            
Armin Waibel commented on OJB-119:
----------------------------------

Hi Mike,

> This page clearly states that the default JDBC level is "1.0" whereas the 1.0.4 codebase
shows "2.0" as the 
> default.

In class ClassDescriptor jdbc-level "2.0" is used by default. In repository.dtd level "1.0"
is used by default and documentation states "1.0". This isn't well-defined ;-)
Think jdbc-level "2.0" is useful as default , because most DB support "2.0" - will fix this.

> It looks like they are old attributes used pre-datasource (protocol, subprotocol, dbalias,
etc).
These attributes are further on used by OJB (except when a Datasource is used), e.g.
http://db.apache.org/ojb/repository_database.xml.txt
By the way for OJB 2.x we plan to rework the metadata classes.

> JDBC connection documentation out of date
> -----------------------------------------
>
>                 Key: OJB-119
>                 URL: http://issues.apache.org/jira/browse/OJB-119
>             Project: OJB
>          Issue Type: Bug
>    Affects Versions: 1.0.4
>            Reporter: Mike Perham
>            Priority: Minor
>
> This page clearly states that the default JDBC level is "1.0" whereas the 1.0.4 codebase
shows "2.0" as the default.  
> http://db.apache.org/ojb/docu/guides/repository.html#Attributes-N10127
> There are also a number of attributes which are handled in ConnectionDescriptorXmlHandler.java
which are not documented at all.  I don't know if this is because they are old cruft or new
undocumented features.  It looks like they are old attributes used pre-datasource (protocol,
subprotocol, dbalias, etc).

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message