Re: newbie question about postgres: nextval

2009-01-26 Thread Thomas Vandahl
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 Hi

RE: newbie question about postgres: nextval

2009-01-26 Thread Greg Monroe
FYI - Schema docs are under the Generator tab. As to the Torque vs Hibernate, I agree with what Thomas said and would add the following: Hibernate is supported and "marketed" by Redhat/JBoss (a great deal initially, but now it's a community thing). In addition, they designed it on better "buzz

Re: newbie question about postgres: nextval

2009-01-26 Thread Ivano Luberti
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

Re: newbie question about postgres: nextval

2009-01-26 Thread Thomas Fischer
> 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

Re: newbie question about postgres: nextval

2009-01-26 Thread Ivano Luberti
Greg, thanks for your answer really exhaustive. But then where I can find a reference for the schmea file , so that I can change or add all the db information I need ? This ml seems really supportive: since Torque seems no more progressing since 2007 I was fearing there was no actrivity on the lis

Re: newbie question about postgres: nextval

2009-01-26 Thread Ivano Luberti
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 f

Re: newbie question about postgres: nextval

2009-01-26 Thread Thomas Fischer
> 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 Tor

RE: newbie question about postgres: nextval

2009-01-26 Thread Greg Monroe
OK, the part about the jdbc task clears a lot up. This task does the best it can using the standard meta info supplied by the JDBC drivers. Since this is a standard across all the various DB server types, there are some limitations when it comes to various "pseudo" standards that Torque supports

RE: torque documentation about peer base beans and map classes

2009-01-26 Thread Greg Monroe
Hmm, that should be "reference" instead of "documentation".. or you can find it in the side bar under Torque 3.3. / Runtime / Reference / Relevant classes. > -Original Message- > From: Ivano Luberti [mailto:lube...@archicoop.it] > Sent: Monday, January 26, 2009 10:25 AM > To: Apache Tor

Re: torque documentation about peer base beans and map classes

2009-01-26 Thread Ivano Luberti
Ok but it seems there is a broken link at the beginning to a page that seems promising http://db.apache.org/torque/releases/torque-3.3/runtime/documentation/relevant-classes.html Thomas Fischer ha scritto: >> Hello, can someone point me to some documentation explaining the role of >> the various

Re: newbie question about postgres: nextval

2009-01-26 Thread Ivano Luberti
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

RE: torque documentation about peer base beans and map classes

2009-01-26 Thread Thomas Fischer
> Hello, can someone point me to some documentation explaining the role of > the various type of classes generated by Torque ? Documentation by example: http://db.apache.org/torque/releases/torque-3.3/tutorial/step5.html Thomas

RE: newbie question about postgres: nextval

2009-01-26 Thread Thomas Fischer
> 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 s

torque documentation about peer base beans and map classes

2009-01-26 Thread Ivano Luberti
Hello, can someone point me to some documentation explaining the role of the various type of classes generated by Torque ? - To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org For additional commands, e-mail: torque-us

newbie question about postgres: nextval

2009-01-26 Thread Ivano Luberti
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 = nextval('anagraf