[jira] [Commented] (TORQUE-170) Cleanup database adapters

2012-01-04 Thread Ludwig Magnusson (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/TORQUE-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179478#comment-13179478 ] Ludwig Magnusson commented on TORQUE-170: - Which adapters are considered t

RE: set(Foreign key) throws exception for no reason?

2010-03-16 Thread Ludwig Magnusson
Message- From: Thomas Vandahl [mailto:t...@apache.org] Sent: den 16 mars 2010 19:04 To: Apache Torque Developers List Subject: Re: set(Foreign key) throws exception for no reason? Ludwig Magnusson wrote: > Hi! > > When torque generates set methods for foreign keys, the methods thorws a

set(Foreign key) throws exception for no reason?

2010-03-15 Thread Ludwig Magnusson
Hi! When torque generates set methods for foreign keys, the methods thorws a TorqueException. Why is this? There is nothing in the methods that throws a TorqueException and removing the throws clause does not generate a compiler error. /Ludwig

RE: What is Torque?

2010-03-10 Thread Ludwig Magnusson
graphical interface. /Ludwig -Original Message- From: Thomas Vandahl [mailto:t...@apache.org] Sent: den 10 mars 2010 19:41 To: Apache Torque Developers List Subject: Re: What is Torque? Ludwig Magnusson wrote: > Otherwise I don't really like the word simple. Too many projects

RE: What is Torque?

2010-03-10 Thread Ludwig Magnusson
If simple means that once the om-classes are generated, they are very easy to use with get, set and save, I agree. Otherwise I don't really like the word simple. Too many projects use this word to describe them, from small libraries to extensive frameworks that rarely are simple to understand. T

RE: torque 4 plan (was: RE: Release candidate of torque 4 site - please review)

2010-03-08 Thread Ludwig Magnusson
Very nice! With documentation like this it's also easy for someone like me to see where I can help (which in this case could be the criteria class). I look forward to seeing it on the site. /Ludwig -Original Message- From: Thomas Fischer [mailto:fisc...@seitenbau.net] Sent: den 8 mars 201

Custom generation with standard templates

2010-03-06 Thread Ludwig Magnusson
Hi! I have studied the generator getting started page for torque 4 and the concept reference. But I have a situation that I think is not mentioned there, since that documentation is about building things from scratch. What I want to do is use some of the standard components, more specific the temp

RE: Release candidate of torque 4 site - please review

2010-03-06 Thread Ludwig Magnusson
Hi! So far I'm just a user of torque but I'm looking to do some development/modification of it so I'm very interested in whats going on. I think the new site is well structured and filled with good information. I will probably have some newbee developer questions coming up in the near future and as

[PROPOSAL] Migrate

2009-12-01 Thread Ludwig Magnusson
Hi! I'm working in a project where we are releasing new versions of our webapp regularly and often. In every release there may or may not be changes to the database. As far as I know there is no really smooth way of doing a release like this. I need to create an sql-file that contains the changes

RE: Extensive memory usage in torque-generator. Bug?

2009-11-24 Thread Ludwig Magnusson
In reply to this, I actually found the maven option to extend the amount of memory. Now the VM can use 512Mb. I tried with my _actual_ data-xml file (which was created by torque:datadump) and that task succeeded but used 415Mb. My computer has 4Gb of RAM but extending the allocated memory does not

Extensive memory usage in torque-generator. Bug?

2009-11-23 Thread Ludwig Magnusson
Hello! A few days ago I posted in the users list that I got a java.lang.OutOfMemoryError while trying to generate my data-sql. I did some stress testing on the generator, here is how it went: I used a simple table and tried to insert different number of rows, ranging from 1 to 2000. This is

RE: Antwort: RE: Adding configuration paramater to maven plugin

2009-11-09 Thread Ludwig Magnusson
bject: Antwort: RE: Adding configuration paramater to maven plugin "Ludwig Magnusson" schrieb am 09.11.2009 16:33:23: > ... > But I did not understand what you meant by > your last sentence: > "My personal opinion is that > the right thing to do is to better support

RE: Adding configuration paramater to maven plugin

2009-11-09 Thread Ludwig Magnusson
g configuration paramater to maven plugin "Ludwig Magnusson" schrieb am 08.11.2009 23:05:03: ... > I now added a parameter called "suppressWarnings" to the OM-task. > If set to true (default is false) it will add the annotation > @SuppressWarnings("all") to the bas

RE: Adding configuration paramater to maven plugin

2009-11-08 Thread Ludwig Magnusson
tion and it's hard to know where to look. When you sent the link I noticed the parameter part at once. /Ludwig -Original Message- From: Thomas Fischer [mailto:fisc...@seitenbau.net] Sent: den 8 november 2009 22:45 To: Apache Torque Developers List Subject: RE: Adding configuration

Adding configuration paramater to maven plugin

2009-11-08 Thread Ludwig Magnusson
Hello! I am trying to add an extra parameter to the torque:om goal in the maven plugin. Everything works except one minor detail. I can't read the parameter from my projects pom.xml. For every other parameter in org.apache.torque.mojo.OMMojo.java there are a key, a private field, a getter, a sett