Another little question about one of your suggestion.
Remeber I use jdbc task to generate chema.xml file from the db.
Greg Monroe ha scritto:
In general, for autoincrement id fields coming out of the JDBC task,
you will need to decide which method to use with automatic id fields.
This is
Message-
From: Thomas Fischer [mailto:fisc...@seitenbau.net]
Sent: Monday, January 26, 2009 12:22 PM
To: Apache Torque Users List
Subject: Re: newbie question about postgres: nextval
Can you explaim why is so overwhelmed by Hibernate ? Is there some
performance related isssue
My personal opinion is that there are two reasons:
1) documentation is _MUCH_ better for hibernate
2) The concept for hibernate seems to be easy: Give an object to
Hibernate
and Hibernate does all the persistence work.
I'd like to add that I tend to disagree with the point easy
Ivano Luberti wrote:
Then, given your answer about the limitations of the jdbc task, I think
that the absence of some visual tool that is able to produce this schema
files is something that prevents Torque to be more successful.
For example if Power Architect would be able to generate both
Hello I have searched the net quite a lot but I have not been able to
find the answer to this problem.
I'm using postgres to generate torque classes but the automatic
generation seems to make a few mistakes.
In the base class I found this java statement
private int pkAnagrafica =
I'm using postgres to generate torque classes but the automatic
generation seems to make a few mistakes.
In the base class I found this java statement
private int pkAnagrafica =
nextval('anagrafica_pk_anagrafica_seq'::regclass);
which is marked as wrong by the compiler.
The same
Here it is .
In my prev message I didn't said that , I have defined the db using the
server , then I have generated the schema using the jdbc ant task and
the classes using the om ant task.
I don't want to define myself the shema file because I'm more famliar
with SQL and then I don't want to make
AM
To: Apache Torque Users List
Subject: Re: newbie question about postgres: nextval
Here it is .
In my prev message I didn't said that , I have defined the db using the
server , then I have generated the schema using the jdbc ant task and the
classes using the om ant task.
I don't want
In my prev message I didn't said that , I have defined the db using the
server , then I have generated the schema using the jdbc ant task and
the classes using the om ant task.
I don't want to define myself the shema file because I'm more famliar
with SQL and then I don't want to make Torque
Ok, now I understand why someone has choosen to change the java code of
the JDBC ant task (found it on some mailing list) !
Thomas Fischer ha scritto:
I am surprised that the jdbc task recognizes foreign keys ? Or did you add
the foreign-key elements yourself ?
Thomas
No the
...@archicoop.it]
Sent: Monday, January 26, 2009 10:15 AM
To: Apache Torque Users List
Subject: Re: newbie question about postgres: nextval
Here it is .
In my prev message I didn't said that , I have defined the db using the
server , then I have generated the schema using the jdbc ant task
Can you explaim why is so overwhelmed by Hibernate ? Is there some
performance related isssue ?
My personal opinion is that there are two reasons:
1) documentation is _MUCH_ better for hibernate
2) The concept for hibernate seems to be easy: Give an object to Hibernate
and Hibernate does all
I guess I need some aid in the field of comprehension ability: I tried
to start using hibernate a few times but I have never found the right
netry point in the docs, Torque has been really fast to learn at least
to produce the first classes and first code for CRUD operations.
Anyway, thanks again
that can be updated as tables change
and re-generate the access objects; and the like.
-Original Message-
From: Thomas Fischer [mailto:fisc...@seitenbau.net]
Sent: Monday, January 26, 2009 12:22 PM
To: Apache Torque Users List
Subject: Re: newbie question about postgres: nextval
Can you
Thomas Fischer wrote:
Can you explaim why is so overwhelmed by Hibernate ? Is there some
performance related isssue ?
My personal opinion is that there are two reasons:
1) documentation is _MUCH_ better for hibernate
2) The concept for hibernate seems to be easy: Give an object to Hibernate
15 matches
Mail list logo