using a second database

2006-04-12 Thread Helge Weissig
Hi, I am trying to use a second database but am having trouble accessing it (or configuring it, not sure). Below is what I have so far, most of it taken straight from the 3.2 distribution. When I ask Torque to give me a connection to oracle, I get the mysql db connection. Also and

Re: Torque id broker

2006-04-12 Thread Helge Weissig
On Apr 12, 2006, at 9:34 AM, Greg Monroe wrote: You don't have to do it on each table (unless you want to), just set the defaultIdMethod=native attribute in the database tag. I think that this may also solve the ID_TABLE problem because Torque may think it needs it for some tables and still be

BaseMyTable.getFieldNames() replacement?

2006-04-12 Thread Helge Weissig
Hi, the version of Torque I am upgrading from (too embarrassed to tell) used to put a method getFieldNames() into the generated Base classes. I have re-written this as below to be generic, but to my chagrin, have come to find out a substantial difference in behaviour: the old method

Re: BaseMyTable.getFieldNames() replacement?

2006-04-12 Thread Helge Weissig
On Apr 12, 2006, at 10:35 AM, Greg Monroe wrote: FWIW, I thought this rang a bell... you might look at the following Scarab issue. http://issues.apache.org/scarab/issues/id/TRQS344 It's a enhancement I submitted for adding an XML export feature to Torque's runtime. Include in it is an updated

Re: BaseMyTable.getFieldNames() replacement?

2006-04-12 Thread Helge Weissig
On Apr 12, 2006, at 10:19 AM, Greg Monroe wrote: Hmm, I looked at my Torque 3.2 generated classes and I see a getFieldNames() method being generated. I think the problem may be in your build.properties file. There have been a lot of major changes in the way this is set up and if you use an

Re: using a second database

2006-04-13 Thread Helge Weissig
On Apr 13, 2006, at 9:33 AM, Greg Monroe wrote: I don't believe you can get this sort of logic to work. Here's why: The database name in Torque actually refers to Torque's object space database and not any physical SQL Server database. The Torque db name is defined in your schema xml (name

Re: using a second database

2006-04-13 Thread Helge Weissig
On Apr 12, 2006, at 8:44 AM, Helge Weissig wrote: Hi, I am trying to use a second database but am having trouble accessing it (or configuring it, not sure). Below is what I have so far, most of it taken straight from the 3.2 distribution. When I ask Torque to give me a connection

Re: using a second database

2006-04-18 Thread Helge Weissig
On Apr 17, 2006, at 12:36 PM, Thomas Vandahl wrote: Yes, you can still do that. The name in the schema and the name in the Torque configuration have nothing to do with the real name of the database. This is usually specified in the JDBC-URL only. The other two names are just used to handle

Re: using a second database

2006-04-18 Thread Helge Weissig
As I said below, you and Thomas are correct except for the creation of the database. If you want torque to create it, the name in the schema.xml file needs to be the same as the one specified in your connection URL. cheers, h. On Apr 18, 2006, at 11:54 AM, Guy Galil wrote: All you need

Torque generator leaves too many files open

2006-04-24 Thread Helge Weissig
When running the torque generator for a good-sized turbine project, we run into the system limit of 1024 open file descriptors with the stack trace as below, which occurs in the torque-data-model target. lsof indicates that the process is keeping all {Base}Foo{Peer} and associated map

Re: No search for mailing list archives ??

2006-06-09 Thread Helge Weissig
Additionally, I frequently have luck with site: apache.org in addition to my keywords at google to find what I am looking for. cheers, h. On Jun 8, 2006, at 8:27 AM, Greg Monroe wrote: Try: http://www.mail-archive.com/ -Original Message- From: Eustache [mailto:[EMAIL PROTECTED]

Re: Torque generator leaves too many files open

2007-04-20 Thread Helge Weissig
willing to help. thanks, h. On Apr 24, 2006, at 10:52 AM, Helge Weissig wrote: When running the torque generator for a good-sized turbine project, we run into the system limit of 1024 open file descriptors with the stack trace as below, which occurs in the torque-data-model target. lsof

Criteria.addAsColumn and Criteria.add{Ascending,Descending}OrderByColumn not compatible?

2007-09-07 Thread Helge Weissig
Hi there, I found a message in the archives dated sometime in 2003 that described the exact same problem I am having: if you add an alias for a column with Criteria.addAsColumn(), you cannot use it as a orderByColumn using Criteria.addAscendingOrderByColumn() or

oracle connection pool issue

2008-04-16 Thread Helge Weissig
Hi all, the following configuration and pseudo code cause my web application to hang if the value of numObjects is larger than the value of torque.dsfactory.oracle.pool.maxActive Torque.properties: torque.database.oracle.adapter=oracle torque .dsfactory

Re: oracle connection pool issue

2008-04-21 Thread Helge Weissig
Source). Also check that getNumActive() decreases after the connection is closed. With this information. I might be able to help you further. Thomas Helge Weissig [EMAIL PROTECTED] schrieb am 17.04.2008 01:30:48: Hi all, the following configuration and pseudo code cause my web

foreign keys, complexDataModel, and external schemas

2012-02-28 Thread Helge Weissig
Hi, I just ran into what may be a feature or a bug... trying to find out which: When I define a table in schema1.xml and another two, including a link table for a many-to-many relationship in schema2.xml, where schema2.xml includes schema1.xml as an external schema, torque will not

Re: foreign keys, complexDataModel, and external schemas

2012-02-28 Thread Helge Weissig
-Schema-Test/tree/master/target/generated-sources/torque/org/grajagan getTblLinkInts() in BaseTbl3: https://github.com/helgew/Torque-Schema-Test/blob/master/target/generated-sources/torque/org/grajagan/BaseTbl3.java#L168 cheers, h. On Feb 28, 2012, at 6:47 PM, Helge Weissig wrote: Hi, I just

Re: foreign keys, complexDataModel, and external schemas

2012-02-29 Thread Helge Weissig
Thanks Thomas! I created TORQUE-183 at https://issues.apache.org/jira/browse/TORQUE-183 . cheers, h. On Feb 29, 2012, at 1:09 AM, Thomas Fox wrote: Hi Helge, I just ran into what may be a feature or a bug... trying to find out which: When I define a table in schema1.xml and another two,

Re: 3.3.1 to 4.0 migration

2015-07-01 Thread Helge Weissig
. On Jul 1, 2015, at 9:51 AM, Helge Weissig hel...@grajagan.org wrote: Our code base is heavily invested in some of the functionality removed from torque 4.0 and I was wondering if any one had some advice on a migration path: We make extensive use of village records obtained via

3.3.1 to 4.0 migration

2015-07-01 Thread Helge Weissig
, but the switch between loglevel WARN and INFO is quite severe. Is there a way to log at INFO level but only to a file, not to the console? We use log4j throughout our project. Thanks very much in advance for any advice and pointers! cheers, h. Helge Weissig, Ph.D. Director, Bioinformatics IT ActivX

Re: 3.3.1 to 4.0 migration

2015-07-02 Thread Helge Weissig
Thanks Thomas! Some comments and follow-up questions below: On Jul 1, 2015, at 6:03 PM, Thomas Fox thomas@seitenbau.com wrote: Helge Weissig wrote: I forgot about the HTML filter this group uses… pardon the crappy formatting. Here is a text-only version: Our code base is heavily

Re: 3.3.1 to 4.0 migration

2015-07-08 Thread Helge Weissig
: Hi Helge Helge Weissig wrote: Just a quick follow-up to report on progress on the template conversions. I managed to get the single mergepoint override working by changing the order of outlets and mergepoints. As for the bean classes, I was able to just use the baseBean.vm template