You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Thomas Fischer <fi...@seitenbau.net> on 2010/03/05 22:54:40 UTC
torque 4 site and further actions
Time for another status and discussion about further actions.
status:
The Torque 4 site is deployed at
http://db.apache.org/torque/releases/torque-4.0/index.html
It is not yet linked from the main Torque site, my plan is to do that on
monday. So if you find any errors there, there is still time to correct
them.
The test project is now running for the following databases:
- postgresql
- oracle
- mysql
- mssql
with id method "native". There are some remaining problems with the id
methid "idbroker", but I am confident I 'll have it sorted out in the near
future.
I also still need to figure out how to best treat the conditional manager
and bean tests, but I'll document it on the site once this is done.
further actions:
- The external-schema support is missing, I hope I get at it in the near
future. However, I'm curious to know what it is good for. Does anybody
have a use case ?
- As the tool for code generator is called generator, and there is an
interface inside it for a class that produces text for the output which is
also called generator , my personal opinion is that the name of one object
should be changed to avoid confusion. As the name for the module is quite
old, the interface name should be changed, and the references to it in the
configuration. I'm still not sure which name to use. possible candidates
that come to my mind are TextWriter, TextCreator, OutputWriter,
OutputCreator... any recommendations or other ideas ?
- Currently the maven2 generator plugin is just a frontend for the current
code generator. However, there are a few goals from the old generator which
should probably remain like jdbc2xml. I'd like to investigate whether we
want to provide the functionality or if we can use ddlutils for some tasks.
- Ant integration for the generator is still missing. This should not be a
big problem, but needs to be done. In my opinion, this should go into a
separate small package torque-ant-tools
- Do we still want to support java 1.4 in Torque 4 runtime & generated
classes ?
- Which databases do we want to support in Torque 4 ? I believe e.g. the
claim that we support db2 in Torque 3.3 is just nonsense, we do not have a
driver for any recent db2 database. So my suggestion is to concentrate on
the databases that we really support and which we test with each release. A
suggestion for this set would be mysql, postgresql, mssql, oracle, derby
and hsqldb. What do you think ?
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
Re: torque 4 site and further actions
Posted by Ivano Luberti <lu...@archicoop.it>.
Thomas Fischer ha scritto:
>> In any case I would move the releseases section in the Overview page
>> up, right under the What is Torque section.
>>
>
> I'm not sure what you mean by this.
If you look at the home page of the new site (the one you can reach also
using the Torque4->Overview item in the menu), you have the menu on the
left , than the main page is divded into three section:
What is Torque
Elements of Torque
Releases
I suggest this order and a change in the title of the last section:
What is Torque
Releases
Elements of Torque4
--
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
Re: torque 4 site and further actions
Posted by Thomas Fischer <fi...@seitenbau.net>.
> In any case I would move the releseases section in the Overview page
> up, right under the What is Torque section.
I'm not sure what you mean by this. But promped by this comment, I have
looked again at the menu structure and what is confusing about it is that
the "module documentation" menu item is not a sub navigation item of the
"torque 4" menu item. Which should be alleviated by renaming the "torque 4"
menu item to "general information" or something like it.
I'm not sure this is what you meant, though.
> Then in the main component I would still cite village with a note about
> is demotion in Torque 4.
Good point.
> In the maven-plugin section a sohort text about introduction of Maven2
> in Torque4
This will be in the yet-to-write tuorial.
However, the 5-minute-introduction on the maven site is quite ok and the
test project can serve as starting point.
> Short question: since I don'tahave a clue on MAven but I have to leanr
> something if I want to contribute to Torque: I have to start from Maven2
> or I need to know both versions?
Maven1 is dead. Unless you want to understand the torque 3.3 build process
maven2 should do.
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
Re: torque 4 site and further actions
Posted by Ivano Luberti <lu...@archicoop.it>.
Thomas, not sure what the final decision is.
In any case I would move the releseases section in the Overview page
up, right under the What is Torque section.
Then in the main component I would still cite village with a note about
is demotion in Torque 4.
In the maven-plugin section a sohort text about introduction of Maven2
in Torque4
Hope I have been clear enough.
Short question: since I don'tahave a clue on MAven but I have to leanr
something if I want to contribute to Torque: I have to start from Maven2
or I need to know both versions?
Thomas Fischer ha scritto:
> Time for another status and discussion about further actions.
>
> status:
> The Torque 4 site is deployed at
> http://db.apache.org/torque/releases/torque-4.0/index.html
> It is not yet linked from the main Torque site, my plan is to do that on
> monday. So if you find any errors there, there is still time to correct
> them.
>
> The test project is now running for the following databases:
> - postgresql
> - oracle
> - mysql
> - mssql
> with id method "native". There are some remaining problems with the id
> methid "idbroker", but I am confident I 'll have it sorted out in the near
> future.
> I also still need to figure out how to best treat the conditional manager
> and bean tests, but I'll document it on the site once this is done.
>
> further actions:
> - The external-schema support is missing, I hope I get at it in the near
> future. However, I'm curious to know what it is good for. Does anybody
> have a use case ?
> - As the tool for code generator is called generator, and there is an
> interface inside it for a class that produces text for the output which is
> also called generator , my personal opinion is that the name of one object
> should be changed to avoid confusion. As the name for the module is quite
> old, the interface name should be changed, and the references to it in the
> configuration. I'm still not sure which name to use. possible candidates
> that come to my mind are TextWriter, TextCreator, OutputWriter,
> OutputCreator... any recommendations or other ideas ?
> - Currently the maven2 generator plugin is just a frontend for the current
> code generator. However, there are a few goals from the old generator which
> should probably remain like jdbc2xml. I'd like to investigate whether we
> want to provide the functionality or if we can use ddlutils for some tasks.
> - Ant integration for the generator is still missing. This should not be a
> big problem, but needs to be done. In my opinion, this should go into a
> separate small package torque-ant-tools
> - Do we still want to support java 1.4 in Torque 4 runtime & generated
> classes ?
> - Which databases do we want to support in Torque 4 ? I believe e.g. the
> claim that we support db2 in Torque 3.3 is just nonsense, we do not have a
> driver for any recent db2 database. So my suggestion is to concentrate on
> the databases that we really support and which we test with each release. A
> suggestion for this set would be mysql, postgresql, mssql, oracle, derby
> and hsqldb. What do you think ?
>
> Thomas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
>
>
>
--
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
RE: torque 4 site and further actions
Posted by Greg Monroe <Gr...@dukece.com>.
Take a three day weekend and....lol (BTW - Big THANKS Thomas F for doing
all this...)
> The Torque 4 site is deployed at
> http://db.apache.org/torque/releases/torque-4.0/index.html
> It is not yet linked from the main Torque site, my plan is to do that on
> monday. So if you find any errors there, there is still time to correct
> them.
Haven't had time to review.. will do it later today.
>
> The test project is now running for the following databases:
> - postgresql
> - oracle
> - mysql
> - mssql
> with id method "native". There are some remaining problems with the id
> methid "idbroker", but I am confident I 'll have it sorted out in the
> near future.
> I also still need to figure out how to best treat the conditional manager
> and bean tests, but I'll document it on the site once this is done.
> further actions:
Once the dust settles, I may blow the dust off some test project mods I was
playing with during the 3.3 release. I was basically trying to simplify
running the test project against the common variations of build options
in a standardized way. See:
http://www.mail-archive.com/torque-dev@db.apache.org/msg04681.html
> - The external-schema support is missing, I hope I get at it in the near
> future. However, I'm curious to know what it is good for. Does anybody
> have a use case ?
I use this as follows:
I have a core project which has its own DB schema which generates it's
own set of Torque packages.
The core project has several "plug ins" that interact with various 3rd
party applications. Each "plug in" has its own Torque schema that
models the 3rd party DB plus any "interface" tables that map core to
plug-in. I separate the 3rd party DB from my interface tables into
their own XML files. Each of these are generated into their own
packages.
The plug-in interface tables use keys from the core tables and the 3rd
party schema. So, I use the external-schema to include them so it can
use the key columns required.
I also use it with a master test project that builds the entire system
with all plug-ins (e.g. master schema includes all subschema).
This allows me to easily maintain changes in 3rd party code, interface
code and the core.
> - As the tool for code generator is called generator, and there is an
> interface inside it for a class that produces text for the output which
> is also called generator , my personal opinion is that the name of one
> object should be changed to avoid confusion. As the name for the module
> is quite old, the interface name should be changed, and the references to
> it in the configuration. I'm still not sure which name to use. possible
> candidates that come to my mind are TextWriter, TextCreator, OutputWriter,
> OutputCreator... any recommendations or other ideas ?
+1 on removing overloaded terminology.. not sure what it should be
called but in this age of auto completing editors... don't be afraid of
long names like GeneratorInterface. FWIW - In naming stuff, I tend to
try to distill down what the class will be responsible for. I generally
start with trying to get first Javadoc line as clear as possible then
go from there.
> - Currently the maven2 generator plugin is just a frontend for the
> current code generator. However, there are a few goals from the old
> generator which should probably remain like jdbc2xml. I'd like to
> investigate whether we want to provide the functionality or if we can
> use ddlutils for some tasks.
More on this in a separate e-mail... FWIW - When I've pushed DDLUtils
in the past, I was thinking more about using it's API to support
Torque's targets rather than dropping them. It would be less of a
"shock" to current users.
> - Ant integration for the generator is still missing. This should not be
> a big problem, but needs to be done. In my opinion, this should go into a
> separate small package torque-ant-tools
Sound good... IMHO - we can't release a Torque package without ant support.
> - Do we still want to support java 1.4 in Torque 4 runtime & generated
> classes ?
+1 on moving to 1.5. This would probably simplify the templates greatly.
> - Which databases do we want to support in Torque 4 ? I believe e.g. the
> claim that we support db2 in Torque 3.3 is just nonsense, we do not have
> a driver for any recent db2 database. So my suggestion is to concentrate
> on the databases that we really support and which we test with each release.
> A suggestion for this set would be mysql, postgresql, mssql, oracle, derby
> and hsqldb. What do you think ?
I agree on focusing/testing on these popular dbs.. but I don't think we
should drop "db2" from the docs. Perhaps we could have a "testing and
supported" DB list and a "legacy " list (e.g. db2, Sybase, and MS Access
come to mind). These could have a note that we'd welcome someone who
wants to fully support one of these. The idea is to focus but still
show flexibility.
DukeCE Privacy Statement:
Please be advised that this e-mail and any files transmitted with
it are confidential communication or may otherwise be privileged or
confidential and are intended solely for the individual or entity
to whom they are addressed. If you are not the intended recipient
you may not rely on the contents of this email or any attachments,
and we ask that you please not read, copy or retransmit this
communication, but reply to the sender and destroy the email, its
contents, and all copies thereof immediately. Any unauthorized
dissemination, distribution or copying of this communication is
strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
Re: torque 4 site and further actions
Posted by Ivano Luberti <lu...@archicoop.it>.
I keep on browsing the site.
Another thing that lacks in the home page is an explanation of the main
differences between 3.3 and for and the link to a tutorial for porting
3.3 applications to 4.
--
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
Re: torque 4 site and further actions
Posted by Thomas Fischer <fi...@seitenbau.net>.
> >> - The external-schema support is missing, I hope I get at it in the
near
> >> future. However, I'm curious to know what it is good for. Does
anybody
> >> have a use case ?
> >
> > I haven't used this yet, so this is just my understanding what it was
> > meant for. Let's say you have a number of modules in your application,
> > each having it's own set of tables. If you build an application from
> > these modules it might by useful to have all the generated classes in
> > one place. It can make the management easier.
> >
> Where is this feature documented ?
> I don't really understand what you are talking about.
It's the <external-schema> element in the dtd. It is docuimented in the dtd
and an example can be found in the torque 3.3 test project
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
Re: torque 4 site and further actions
Posted by Ivano Luberti <lu...@archicoop.it>.
Thomas Vandahl ha scritto:
>
>> - The external-schema support is missing, I hope I get at it in the near
>> future. However, I'm curious to know what it is good for. Does anybody
>> have a use case ?
>>
>
> I haven't used this yet, so this is just my understanding what it was
> meant for. Let's say you have a number of modules in your application,
> each having it's own set of tables. If you build an application from
> these modules it might by useful to have all the generated classes in
> one place. It can make the management easier.
>
>
Where is this feature documented ?
I don't really understand what you are talking about.
>> - Do we still want to support java 1.4 in Torque 4 runtime & generated
>> classes ?
>>
>
> Well, my own reason for sticking with JDK 1.4 is gone, so on my account
> we can use JDK 1.5.
>
>
Is this going to lead to some rewriting? I don't know the code yet but
could it be that it is needed to rewrite code using unparameterized List
or Map ? Or introducing Enum for some constants set ?
I'm ok with it, just trying to know If I can contribute with this: it
would be quite simple and can help me to know the code browsing it with
some good motivation.
>> - Which databases do we want to support in Torque 4 ? I believe e.g. the
>> claim that we support db2 in Torque 3.3 is just nonsense, we do not have a
>> driver for any recent db2 database. So my suggestion is to concentrate on
>> the databases that we really support and which we test with each release. A
>> suggestion for this set would be mysql, postgresql, mssql, oracle, derby
>> and hsqldb. What do you think ?
>>
>
>
What about H2?
http://www.h2database.com/html/main.html
Look at the features table.
I have never used it but some friend of mine really likes it at least as
a test db
--
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
Re: torque 4 site and further actions
Posted by Thomas Fischer <fi...@seitenbau.net>.
The test project now also works for the id-method idbroker (for mysql,
postgresql, oracle and mssql)
> > - Which databases do we want to support in Torque 4 ? I believe e.g.
the
> > claim that we support db2 in Torque 3.3 is just nonsense, we do not
have a
> > driver for any recent db2 database. So my suggestion is to concentrate
on
> > the databases that we really support and which we test with each
release. A
> > suggestion for this set would be mysql, postgresql, mssql, oracle,
derby
> > and hsqldb. What do you think ?
>
> I guess it should be possible to keep support for all databases we can
> get free access to. DB2 is available free of charge as DB2-Express-C so
> we should at least check if it still works and what efforts would be
> needed to support it before throwing the support away.
I remember dimly that some time ago, I tested the 3.3 DB2 templates against
a current DB2 installation but without success. So most probably, DB2
support must be re-developed.
Each database we support creates additional hassle by setting up a test
database system, understanding its permission system (this usually takes
some hours in my experience) and then testing at least each release
candidate against the database. Let's keep our energy focused.
Don't misunderstand me, if soneone takes care of supporting database X, I'm
all for it, but I do not have the nerve to test against N databases that I
do not have any personal interest in and of which I assume that no other
Torque user is using them.
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
Re: torque 4 site and further actions
Posted by Thomas Vandahl <tv...@apache.org>.
On 05.03.10 22:54, Thomas Fischer wrote:
> The Torque 4 site is deployed at
> http://db.apache.org/torque/releases/torque-4.0/index.html
The site looks ok to me. I haven't found any issues.
> - The external-schema support is missing, I hope I get at it in the near
> future. However, I'm curious to know what it is good for. Does anybody
> have a use case ?
I haven't used this yet, so this is just my understanding what it was
meant for. Let's say you have a number of modules in your application,
each having it's own set of tables. If you build an application from
these modules it might by useful to have all the generated classes in
one place. It can make the management easier.
> - Do we still want to support java 1.4 in Torque 4 runtime & generated
> classes ?
Well, my own reason for sticking with JDK 1.4 is gone, so on my account
we can use JDK 1.5.
> - Which databases do we want to support in Torque 4 ? I believe e.g. the
> claim that we support db2 in Torque 3.3 is just nonsense, we do not have a
> driver for any recent db2 database. So my suggestion is to concentrate on
> the databases that we really support and which we test with each release. A
> suggestion for this set would be mysql, postgresql, mssql, oracle, derby
> and hsqldb. What do you think ?
I guess it should be possible to keep support for all databases we can
get free access to. DB2 is available free of charge as DB2-Express-C so
we should at least check if it still works and what efforts would be
needed to support it before throwing the support away.
Bye, Thomas.
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org