Henner Kollmann wrote:
>
> Could we get an interims doc how to configure the dbforms-config with
> the new connection stuff? I can not check out your changes while i do
> not know how to configure the connection after the changes....
> Regards,
> Henner
>
I should be backwards compatible, if it is not, something is wrong.
The idea is to have several connections with different names ('ids')
within config file. That one without a name is the default one, like
this:
<dbconnection
name = "jdbc:xyjbc://..."
isJndi = "false"
conClass = "foo.bar.jdbc.JdbcDriver"
username = "jamesbond"
password = "topsecret"
/>
<dbconnection
name = "jdbc:abcddbc://..."
isJndi = "false"
conClass = "foo.bar2.jdbc.JdbcDriver"
username = "M"
password = "queen"
id="db2"
/>
<dbconnection
name = "jdbc:mysql://..."
isJndi = "false"
conClass = "org.gjt.mm.mysql.Driver"
username = "foo"
password = "bar"
id="topsecdb"
/>
The first one does not have the id attribute, it is the default one.
Several tags now have been extended to support a new attribute
'dbConnectionName' that can be used to switch between connection:
<db:dbForm table="abc" dbConnectionName="topsecdb" ....> ...
....
<db:select ...>
<db:tableData dbConnectionName="db2"...>
However:
- as Luca said: He still has to upload some changes
- the code still contains some lines for an earlier version
which might irritate (e.g. a tag 'dbformsconnections' that
will not be used any more)
- there are bugs, some are known
John has volunteered to help here, so I sent him and Luca all
the latest information I had.
Regards
Dirk
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms