Re: Dovecot Proxy

2020-09-02 Thread Thoralf Rickert-Wendt
01.09.20 um 13:59 schrieb Thoralf Rickert-Wendt: Hi Philon, now, it's time for "Mahlzeit" ;-) Sorry, that I read the wiki1 instead of wiki2. I thought the 1 means that it is server one of ... my fault. Also not reading the first line above the menu. My focus was really on the content.

Re: Dovecot Proxy

2020-09-01 Thread Thoralf Rickert-Wendt
Postfixs master.cf. If you want to keep Dovecot for Submission you can check the latest docs for Dovecot submission service: https://doc.dovecot.org/admin_manual/submission_server/. It has a relay server option with port. Also settings for STARTTLS etcpp can be found there. Mahlzeit! Philon On

Dovecot Proxy

2020-08-31 Thread Thoralf Rickert-Wendt
Hello everyone, it's my first post here on this mailing list and I hope, I make it right. I posted a question on https://serverfault.com/questions/1031441/dovecot-as-proxy-with-submission and nobody was able to answer it. So I decided to push that question here (I'm talking about any new

Strange NPEs after redeploy

2008-12-29 Thread Thoralf Rickert
Hi all, I'm note sure, if this is a log4j issue but maybe you can give me a clue where to look. Actually I want to update from Velocity 1.4 to 1.6. This means I have to update some other libraries too including commons-logging. I'm using now log4j 1.2.15 and commons-logging-1.1.1. After

Re: Strange NPEs after redeploy

2008-12-29 Thread Thoralf Rickert
to add slf4j-api.jar and slf4j-log4j.jar to you class path (in addition to log4j.jar and commons-loggig.jar). See http://www.slf4j.org/ for more details. Please report back to confirm that the above solved the problem you are facing. HTH, Thoralf Rickert wrote: Hi all, I'm note sure

AW: Derby autogenereted keys

2008-05-27 Thread Thoralf Rickert
keys Thoralf Rickert wrote: I've defined a table: table name=report column name=id required=true type=BIGINT primaryKey=true autoIncrement=true/ Does table name=report idMethod=native change something? Bye, Thomas

[jira] Created: (TORQUE-116) property for object state

2008-05-27 Thread Thoralf Rickert (JIRA)
/a Reporter: Thoralf Rickert Priority: Minor Sometimes it would be very helpful to know the state of an Object. Currently we have the states new and modified. Additionally I think there could be at least one state more. During initializing of the object (populateObject) the Base class

AW: Derby autogenereted keys

2008-05-24 Thread Thoralf Rickert
Hi, yes that's it. I forgot the defaultIdMethod. That happens when I don't copy paste the definition from one file to another. Definitely user-fault! Thanks Thoralf -Urspr?ngliche Nachricht- Von: Thomas Fischer [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 22. Mai 2008 20:58 An:

Bug#460398:

2008-04-25 Thread Thoralf Rickert
I have this bug also/too in 1.2.26-2. smime.p7s Description: S/MIME cryptographic signature ___ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Bug#460398:

2008-04-25 Thread Thoralf Rickert
I have this bug also/too in 1.2.26-2. smime.p7s Description: S/MIME cryptographic signature

AW: RE: Column names with spaces

2008-04-15 Thread Thoralf Rickert
the classes that don't compile. You'd also have to make sure the Map classes used the correct strings as well. Not very maintainable but... -Original Message- From: Thoralf Rickert [mailto:[EMAIL PROTECTED] Sent: Friday, April 11, 2008 8:39 AM To: 'Apache Torque Users List

AW: MSSQL JDBC2XML Task generates no XML

2008-04-11 Thread Thoralf Rickert
you try to use the configured schema name instead of % ? Maybe a case sensitivity issue ? Sorry, just wild guesses, Thomas Thoralf Rickert [EMAIL PROTECTED] schrieb am 10.04.2008 18:05:45: What Torque does is it opens a connection to the db, goes for the metadata

Column names with spaces

2008-04-11 Thread Thoralf Rickert
Hi, Of course the list of problems with mssql doesn't stop... I've got now a xml schema from the existing database. Some lovely boy decided years ago that it would be nice to use spaces inside the column names of the database scheme. For example: Time after. This is not a problem if you use

AW: RE: Column names with spaces

2008-04-11 Thread Thoralf Rickert
maintainable but... -Original Message- From: Thoralf Rickert [mailto:[EMAIL PROTECTED] Sent: Friday, April 11, 2008 8:39 AM To: 'Apache Torque Users List' Subject: Column names with spaces Hi, Of course the list of problems with mssql doesn't stop... I've got now a xml schema

MSSQL JDBC2XML Task generates no XML

2008-04-10 Thread Thoralf Rickert
Hi all, I try to extract a database schema from a SQL Server 2005. I tried both drivers jTDS and the Microsoft JDBC Driver 1.2. In both versions I can access the database, but the resulting XML schema for Torque is empty. When I run the JDBC task in build-torque.xml (fresh 3.3) I got this

AW: MSSQL JDBC2XML Task generates no XML

2008-04-10 Thread Thoralf Rickert
What Torque does is it opens a connection to the db, goes for the metadata of the connection and makes the call tableNames = dbMeta.getTables(null, dbSchema, %, types); Maybe you can try to do this manually and play around to see what goes wrong ? It may also be that you have a

AW: RE: MSSQL JDBC2XML Task generates no XML

2008-04-10 Thread Thoralf Rickert
One question, the tasks part of torque uses your build.properties info to connect to the server. Are you changing the values here or in the Torque.properties file, which only effects the runtime? Actually I changed the build-torque.xml to use a config.properties. Which contains

AW: [ANNOUNCE] Torque 3.3 released

2008-03-04 Thread Thoralf Rickert
Hi all, I was a little bit quiet in the last months, but anyhow: Great work! How about for 4.0 we drop support for Java versions earlier than 5? Comments? +1 from me. Java5 was released 3 1/2 years ago, which will probably be 4 1/2 years when 4.0 is out, given our release cycles. Plus

AW: foreign-key generation maps NumberKey to int, and code fails to compile

2007-08-14 Thread Thoralf Rickert
Hi! I'm not sure if I understand you problem. But does it make sense to declare a foreign key for primary key in the same table? Normally you declare the foreign key in COUPON and make a reference to MEMBER. Maybe Torque doesn't like this double key-definition in MEMBER. But I'm not sure

AW: AW: foreign-key generation maps NumberKey to int, and code fails to compile

2007-08-14 Thread Thoralf Rickert
, since there can be only one member per coupon! I want a member object, with a list of (zero or more) coupons. Thoralf Rickert wrote: I'm not sure if I understand you problem. But does it make sense to declare a foreign key for primary key in the same table? Normally you

AW: AW: AW: foreign-key generation maps NumberKey to int, and code fails to compile

2007-08-14 Thread Thoralf Rickert
by one member. A member may have any number of coupons. SQL has no trouble setting up such a relationship without a third table. Do I need the third table to satisfy Torque? Thoralf Rickert wrote: Ah, okay, a coupon has only one member. Is it possible to have a member that has

AW: Could not retrieve connection info from pool

2007-05-02 Thread Thoralf Rickert
Hi! Is it possible, that your application uses many transactions? If you forget to close this connections - the pool is running out of connections from time to time. Maybe there is just one unclosed transaction somewhere in your application. If you have a lot of traffic on your site you can

AW: Could not retrieve connection info from pool

2007-05-02 Thread Thoralf Rickert
of the connections. Even though I've set the validationQuery. Thank you. Eduardo. - Original Message - From: Thoralf Rickert [EMAIL PROTECTED] To: Apache Torque Users List torque-user@db.apache.org Sent: Wednesday, May 02, 2007 8:22 AM Subject: AW: Could not retrieve connection

AW: Torque is very slow to do a .copy of an object :( Why?

2007-04-13 Thread Thoralf Rickert
Hi! Could you try a myObject1.copy(false) to avoid making a deepcopy. bye Thoralf I'm using torque to connect to my Mysql database. I'm trying to improve performence of my application and I saw that torque is taking more than 600 ms to execute a command like:

AW: CriteriaEnumeration

2007-03-12 Thread Thoralf Rickert
Hi Thomas, Yes, you're right. It's similar to LargeSelect. But I think, it has two advantages. With the correct combination of Criteria and CriteriaPopulator I'm able to use doSelectJoinXXX and construct multiple Torque objects at the same time (in my example this could be a store and the

CriteriaEnumeration

2007-03-09 Thread Thoralf Rickert
Hi! I'm not sure, if this was discussed before, but I want to send you this extension. Currently I'm working on somekind of backup-procedure that reads some data from a database and creates a complex XML file (for example: stores with addresses and products). To do this, I have to get all

[jira] Created: (TORQUE-85) setOffset(int) in Criteria should be setOffset(long)

2007-03-09 Thread Thoralf Rickert (JIRA)
: Runtime Reporter: Thoralf Rickert Priority: Minor The Criteria.setOffset() method should accept long instead of int as the parameter value to allow an offset above 2 billion. Of course it's not recommended to have such Criteria's but it should be possible. -- This message

AW: Best practice for entity update.

2007-02-09 Thread Thoralf Rickert
Hi! If it isn't possible to use a transaction connection you can use a timestamp column to verify if the row is changed in the database. Before saving the instance you can read the timestamp column from the DB and compare it with the timestamp that is set in your instance (this should be done

AW: Setting foreign key column as null

2007-01-09 Thread Thoralf Rickert
Hi! Did you try database defaultJavaType=object. Then every primitive (long,int,boolean,...) is an object (Long, Integer, Boolean, ...). I think, you cannot set this for a single table. Just for all. bye Thoralf -Ursprüngliche Nachricht- Von: Shilpa Kulkarni [mailto:[EMAIL

[jira] Created: (TORQUE-75) Map XML column informations to the generated Objects

2006-12-15 Thread Thoralf Rickert (JIRA)
: Generator Reporter: Thoralf Rickert There is a small leakage of informations between XML definition and the generated Object. For example if you define a column as required=true it would be good to get this information in the object. So there could be a method like isMandatory

[jira] Commented: (TORQUE-75) Map XML column informations to the generated Objects

2006-12-15 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-75?page=comments#action_12458959 ] Thoralf Rickert commented on TORQUE-75: --- Okay, then is this improvement request obsolet. Sorry. Map XML column informations to the generated Objects

AW: BigDecimal and MySQL decimal

2006-12-14 Thread Thoralf Rickert
Try size=7,2 instead of size=.. scale=.. -Ursprüngliche Nachricht- Von: Jon August [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 14. Dezember 2006 13:52 An: Apache Torque Users List Betreff: Re: BigDecimal and MySQL decimal Hey Alvaro, Thanks for the suggestion. I tried

AW: duplicate ID exception in cluster

2006-12-06 Thread Thoralf Rickert
It's a little bit off-topic but have a look at How to set up a load-balanced MySQL cluster (http://www.howtoforge.com/loadbalanced_mysql_cluster_debian). If you use a load-balancing server in front of the mysql cluster you don't have to change your application. The HowTo uses UltraMonkey to

AW: Torque 4.0 - Add delete() / loadByPk(...) methods to Record object

2006-12-06 Thread Thoralf Rickert
So this would be shortcuts for *Peer.retrieveByPK and *Peer.delete(...)? -Ursprüngliche Nachricht- Von: Greg Monroe [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 5. Dezember 2006 20:10 An: Apache Torque Developers List Betreff: Torque 4.0 - Add delete() / loadByPk(...) methods to

[jira] Commented: (TORQUE-74) Targets sql and datasql can't find required files

2006-12-06 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-74?page=comments#action_12456094 ] Thoralf Rickert commented on TORQUE-74: --- I think, the sqldb.map file is generated when you call the sql ant-task. But I don't know why this file is necessary

AW: duplicate ID exception in cluster

2006-12-05 Thread Thoralf Rickert
Hi! I just set up a new 2 server cluster with two instances of Tomcat both reading/writing from a single database. I'm using Torque 3.0, the default ID Broker and MySQL 5. (InnoDB) It's not the answer for your question, but why do you use ID Broker with MySQL? It has integrated auto

[jira] Updated: (TORQUE-71) custom velocity renderer to have nicely trimmed generated code

2006-12-05 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-71?page=all ] Thoralf Rickert updated TORQUE-71: -- Attachment: patch.txt Okay, here is a first patch. I didn't test it, because I don't have a suitable test environment. What I did was to change

AW: Aliases with Joins (was: Torque 4.0 plan)

2006-12-03 Thread Thoralf Rickert
Dec 2006, Thoralf Rickert wrote: I forgot something: We've implemented a working and easy way to use Aliases with JOINs. This is necessary if you join a table twice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[jira] Created: (TORQUE-71) custom velocity renderer to have nicely trimmed generated code

2006-12-03 Thread Thoralf Rickert (JIRA)
Components: Generator Reporter: Thoralf Rickert Priority: Minor The current Torque templates have spaces and tabs in front of Velocity commands (#foreach, #set, #end,...). The Velocity renderer puts this spaces and tabs into the generated code - that is the reason why

Java5 (was: Torque 4.0 plan)

2006-12-03 Thread Thoralf Rickert
I don't have an idea of how can we support JDK1.5 and JDK1.4 because of the compatibility problems between 1.4 and 1.5 - but I think like Thomas that we have to make a break. The next release of the JDK is on the way and we're still programing in the old 1.4. I don't want to start a principle

AW: Custom Velocity Renderer (was: Torque 4.0 plan)

2006-12-02 Thread Thoralf Rickert
(was: Torque 4.0 plan) Hi Thoralf, would you mind to put this into jira as enhancement ? If I recall correctly, you have done this already, so a diff against the current svn version would be gerat. Thomas On Thu, 30 Nov 2006, Thoralf Rickert wrote: ... Another small topic is my suggestion some

AW: Torque 4.0 plan

2006-12-01 Thread Thoralf Rickert
I forgot something: We've implemented a working and easy way to use Aliases with JOINs. This is necessary if you join a table twice. And the Add full support for views is something that would be very useful. T. -Ursprüngliche Nachricht- Von: Greg Monroe [mailto:[EMAIL PROTECTED]

AW: Torque 4.0 plan

2006-11-30 Thread Thoralf Rickert
Hi! [] - Use Java 5 style generics and enumerations. One can use compiler settings to produce pre-1.5-executable class files. Oh yes. I will be glad to help on this topic. Another small topic is my suggestion some months ago (July, 10.) to replace the ant velocity render task with our

Best Solution for Column Compares

2006-10-23 Thread Thoralf Rickert
Hi! What is the best solution to compare two columns in a criteria? Or is a CUSTOM-Criteria in criteria.add(COLUMN_A,(Object)(COLUMN_A+=+COLUMN_B),Criteria.CUSTOM); the only possible solution (using plain SQL) or is there something better? bye Thoralf

Best Practice: Column Compares

2006-10-23 Thread Thoralf Rickert
Hi! What is the best solution to compare two columns in a criteria? Or is a CUSTOM-Criteria in criteria.add(COLUMN_A,(Object)(COLUMN_A+=+COLUMN_B),Criteria.CUSTOM); the only possible solution (using plain SQL) or is there something better? bye Thoralf

AW: Problems to set up a subquery

2006-10-20 Thread Thoralf Rickert
Sort of a clean approach, but not working due sql exections: [...] criteria.addNotIn(KundenadressePeer.KUNDENADRESS_ID, AdressenreferenzPeer.doSelect(subCriteria)); [...] Just a question because I'm not sure if you just show an example or the real code, that you're using. The

AW: Problems to set up a subquery

2006-10-20 Thread Thoralf Rickert
- Von: Thoralf Rickert [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 20. Oktober 2006 11:24 An: Apache Torque Users List Betreff: AW: Problems to set up a subquery Sort of a clean approach, but not working due sql exections: [...] criteria.addNotIn(KundenadressePeer.KUNDENADRESS_ID

[jira] Created: (TORQUE-59) correctBooleans() overwrites complex boolean criteria

2006-10-09 Thread Thoralf Rickert (JIRA)
Affects Versions: 3.2 Environment: MySQL 5 Reporter: Thoralf Rickert If you have a table with a nullable boolean column: column name=test type=booleanint size=1/ and create a criteria like this: Criterion c1 = criteria.getNewCriterion(TEST, false, Criteria.EQUAL

AW: Oracle - Null and Zero-length string problem

2006-10-06 Thread Thoralf Rickert
Just one idea - I'm not using Oracle - but what about: (column = '' OR column IS NULL) In Torque Criteria.Criterion c1 = criteria.getNewCriterion(COLUMN, , Criteria.EQUAL); Criteria.Criterion c2 = criteria.getNewCriterion(COLUMN, (Object)null, Criteria.ISNULL); criteria.add(c1.or(c2));

AW: Oracle - Null and Zero-length string problem

2006-10-06 Thread Thoralf Rickert
Why cannot we write a code in this method which simply says - if db is of type dboracle and if criteria= then criteria is null Maybe because nobody wrote a patch or a jira issue. :) http://issues.apache.org/jira/browse/TORQUE

AW: Old torque bugs from scarab

2006-10-06 Thread Thoralf Rickert
I think it is better to have just one jira Key for Torque. It isn't so confusing. It is easier to get an overview. And it isn't understandable why there is an OLD key, just because the bugs in it are imported from Scarab. -Ursprüngliche Nachricht- Von: Thomas Fischer [mailto:[EMAIL

Bug#386497: linux-image-2.6.17-2-686: oops on boot

2006-09-29 Thread Thoralf Rickert
I've the same problem with an AMD/nforce2 on a german STRATO rootserver (sarge testing). Linux version 2.6.17-2-k7 (Debian 2.6.17-9) ([EMAIL PROTECTED]) (gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)) #1 SMP Wed Sep 13 17:18:46 UTC 2006 ... BUG: unable to handle kernel NULL pointer

Bug#386497: linux-image-2.6.17-2-686: oops on boot

2006-09-29 Thread Thoralf Rickert
I've the same problem with an AMD/nforce2 on a german STRATO rootserver (sarge testing). Linux version 2.6.17-2-k7 (Debian 2.6.17-9) ([EMAIL PROTECTED]) (gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)) #1 SMP Wed Sep 13 17:18:46 UTC 2006 ... BUG: unable to handle kernel NULL pointer

[jira] Commented: (TORQUE-44) Column names in generated classes are uppercase

2006-09-14 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-44?page=comments#action_12434608 ] Thoralf Rickert commented on TORQUE-44: --- I think, the uppercase table names was a bug. It looks like a copypaste error. So, if you wish to have a switch

[jira] Created: (TORQUE-51) Wrong Link on Download Page

2006-08-13 Thread Thoralf Rickert (JIRA)
Wrong Link on Download Page --- Key: TORQUE-51 URL: http://issues.apache.org/jira/browse/TORQUE-51 Project: Torque Issue Type: Bug Reporter: Thoralf Rickert Priority: Trivial The is a wrong

[jira] Commented: (TORQUE-49) Encoding will not be used in insert-sql if it is used in generation task

2006-08-13 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-49?page=comments#action_12427744 ] Thoralf Rickert commented on TORQUE-49: --- Okay, but then is the sql output of torque incorrect because it is generated in the encoding of the xml schema. My

[jira] Created: (TORQUE-49) Encoding will not be used in insert-sql if it is used in generation task

2006-08-04 Thread Thoralf Rickert (JIRA)
: Bug Components: Generator Reporter: Thoralf Rickert Priority: Trivial My schema.xml is encoded in UTF-8 and torque generates a SQL file in UTF-8. But when I run insert-sql the TorqueSQLExec task decodes the file with the system encoding because it doesn't know

[jira] Updated: (TORQUE-49) Encoding will not be used in insert-sql if it is used in generation task

2006-08-04 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-49?page=all ] Thoralf Rickert updated TORQUE-49: -- Affects Version/s: 3.2 Encoding will not be used in insert-sql if it is used in generation task

AW: Sybase case insensitive column names

2006-07-20 Thread Thoralf Rickert
generation flag? -Original Message- From: Thoralf Rickert [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 4:45 AM To: Apache Torque Users List Subject: AW: Sybase case insensitive column names Okay, I'll submit a bug report. -Ursprüngliche Nachricht

AW: Columns are converted to uppercase

2006-07-19 Thread Thoralf Rickert
Hi, there is currently a discussion about that problem on this list and a bug report ( http://issues.apache.org/jira/browse/TORQUE-44). If you need it now, you have to change the Torque templates that generates the column names in the Torque classes (Peer.vm and MapBuilder.vm). There is no

AW: Sybase case insensitive column names

2006-07-17 Thread Thoralf Rickert
the database; if the database is case sensitive and the DatabaseMetaData does not preserve case it is a bug of the jdbc driver. Thomas On Thu, 13 Jul 2006, Thoralf Rickert wrote: Hi! I've created a schema.xml for an existing Sybase database and I was able to generate

AW: Sybase case insensitive column names

2006-07-17 Thread Thoralf Rickert
in the same case as they appear in the schema file. If this is not the case, this is a bug. This is Torque 3.2 and you did not change anything there, I assume ? If yes, would you mind to submit a bug report to Jira ? Thomas Thoralf Rickert [EMAIL PROTECTED] schrieb am 17.07.2006 09

[jira] Commented: (TORQUE-39) Wrong database name in generated XML schema with jdbc task

2006-07-17 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-39?page=comments#action_12421539 ] Thoralf Rickert commented on TORQUE-39: --- Is it a big problem to hand over a property like torque.databaseName to the task or to parse the property

[jira] Created: (TORQUE-44) Column names in generated classes are uppercase

2006-07-17 Thread Thoralf Rickert (JIRA)
Reporter: Thoralf Rickert Attachments: patch.txt The generator creates constants for the column names in tables. The content of this constants uses upper cases. For example if you have a table like: table name=address column name=class javaName=aClass primaryKey=true required

[jira] Updated: (TORQUE-44) Column names in generated classes are uppercase

2006-07-17 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-44?page=all ] Thoralf Rickert updated TORQUE-44: -- Attachment: patch.txt The problem is that the generator uses the variable $cup=$col.Name.toUpperCase() for the name of the constant and for the content

[jira] Commented: (TORQUE-45) Generated SQL is in wrong order when dropping tables on table re-creation

2006-07-17 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-45?page=comments#action_12421580 ] Thoralf Rickert commented on TORQUE-45: --- So how are tables with circular references dropped? I have this circular references problem in one of my schemes

Sybase case insensitive column names

2006-07-13 Thread Thoralf Rickert
Hi! I've created a schema.xml for an existing Sybase database and I was able to generate the corresponding java classes. If I try to make a query with them I run into a problem. The database uses case sensitive column names but torque generates uppercase column names. For example the following

AW: AW: Problem with SQL Task jdbc

2006-07-12 Thread Thoralf Rickert
with SQL Task jdbc Hello, Do not set torque.database.schema to null. Try to set it to the name of the user who connects to the DB or to value DBO (or dbo) I had to add to SQL server so it might work for Sybase also. Best regards, Andras. Thoralf Rickert wrote: Okay

[jira] Commented: (TORQUE-40) jdbc task fails on sybase database (schema is set)

2006-07-12 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-40?page=comments#action_12420568 ] Thoralf Rickert commented on TORQUE-40: --- You have to set torque.database.schema = dbo in the properties to avoid this problem. Thanks to Andras Balogh. I think

[jira] Resolved: (TORQUE-40) jdbc task fails on sybase database (schema is set)

2006-07-12 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-40?page=all ] Thoralf Rickert resolved TORQUE-40: --- Resolution: Won't Fix See my previous comment. torque.database.schema must be set to dbo. jdbc task fails on sybase database (schema is set

[jira] Commented: (TORQUE-27) Need ability to pass global user-configurable platform-specific hints to templates

2006-07-12 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-27?page=comments#action_12420575 ] Thoralf Rickert commented on TORQUE-27: --- The proposal to create application specific custom templates isn't flexible. If you upgrade torque, you've to upgrade and change

[jira] Created: (TORQUE-43) retrieveByPK uses name instead of javaName

2006-07-12 Thread Thoralf Rickert (JIRA)
retrieveByPK uses name instead of javaName -- Key: TORQUE-43 URL: http://issues.apache.org/jira/browse/TORQUE-43 Project: Torque Type: Bug Components: Generator Versions: 3.2.1 Reporter: Thoralf Rickert

[jira] Updated: (TORQUE-43) retrieveByPK uses name instead of javaName

2006-07-12 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-43?page=all ] Thoralf Rickert updated TORQUE-43: -- Attachment: patch.txt This is a patch for this bug in Peer.vm retrieveByPK uses name instead of javaName

Problem with SQL Task jdbc

2006-07-11 Thread Thoralf Rickert
Hi! I try to generate a XML schema for a Sybase database. The problem is that the task runs without an error but the generated schema.xml is empty. I think, I forgot a property but I don't know which one. Here are my torque properties and the generated output: # torque.database.type=

AW: Problem with SQL Task jdbc

2006-07-11 Thread Thoralf Rickert
(it works with mysql). bye Thoralf -Ursprüngliche Nachricht- Von: Thoralf Rickert [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 11. Juli 2006 15:42 An: Apache Torque Users List Betreff: Problem with SQL Task jdbc Hi! I try to generate a XML schema for a Sybase database

[jira] Created: (TORQUE-38) Wrong Default Setting for torque.enableJava5Features on website

2006-07-11 Thread Thoralf Rickert (JIRA)
: Thoralf Rickert Priority: Trivial On the site http://db.apache.org/torque/releases/torque-3.2/generator/properties-reference.html is a bug in the documentation for the torque.enableJava5Features property. The default should been false and not Bean. -- This message is automatically

[jira] Updated: (TORQUE-38) Wrong Default Setting for torque.enableJava5Features on website

2006-07-11 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-38?page=all ] Thoralf Rickert updated TORQUE-38: -- Description: On the site http://db.apache.org/torque/releases/torque-3.2/generator/properties-reference.html is a bug in the documentation

Velocity Templates

2006-07-10 Thread Thoralf Rickert
Hi! I think there is an open discussion thread (in 2005) about the generated code style in the Base* classes but I can't find it. The problem is that the generated code looks a little bit ugly because of too many spaces. This is a velocity problem, because of leading spaces in front of velocity

AW: Velocity Templates

2006-07-10 Thread Thoralf Rickert
: Re: Velocity Templates Hi, The spaces in front of the velocity commands exist because it makes the templates themselves readable. I'd put more emphasis on keeping the templates readable than the generated code, so I'd rather leave the spaces where they are. Thomas Thoralf

AW: Velocity Templates

2006-07-10 Thread Thoralf Rickert
to a working system (just uncomment one line of code). Thomas Thoralf Rickert [EMAIL PROTECTED] schrieb am 10.07.2006 11:59:43: No, I don't want to change the templates. They will be changed virtually during loading into the velocity renderer in a stream. -Ursprüngliche

[jira] Updated: (TORQUE-31) complete generic type compatible API

2006-06-22 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-31?page=all ] Thoralf Rickert updated TORQUE-31: -- Attachment: TORQUE-31.patch Okay, this are the changes for the Peer.vm to be a little bit more generic type compatible. complete generic type compatible

[jira] Created: (TORQUE-31) complete generic type compatible API

2006-06-18 Thread Thoralf Rickert (JIRA)
complete generic type compatible API Key: TORQUE-31 URL: http://issues.apache.org/jira/browse/TORQUE-31 Project: Torque Type: Improvement Components: Generator Versions: 3.2.1 Reporter: Thoralf Rickert

AW: [jira] Resolved: (TORQUE-23) DeepCopy

2006-06-01 Thread Thoralf Rickert
in call of copyInto() in method copy(boolean) DeepCopy Key: TORQUE-23 URL: http://issues.apache.org/jira/browse/TORQUE-23 Project: Torque Type: New Feature Components: Generator Reporter: Thoralf Rickert Assignee: Thomas

AW: Copying Torque Object

2006-05-29 Thread Thoralf Rickert
Is it useful to make a feature request in JIRA? -Ursprüngliche Nachricht- Von: Thoralf Rickert [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 24. Mai 2006 15:13 An: Apache Torque Developers List Betreff: Copying Torque Object Hi! I've a small problem with the copy

[jira] Created: (TORQUE-23) DeepCopy

2006-05-29 Thread Thoralf Rickert (JIRA)
DeepCopy Key: TORQUE-23 URL: http://issues.apache.org/jira/browse/TORQUE-23 Project: Torque Type: New Feature Components: Generator Reporter: Thoralf Rickert Priority: Minor I've a small problem with the copy() and copyInto() methods

[jira] Updated: (TORQUE-23) DeepCopy

2006-05-29 Thread Thoralf Rickert (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-23?page=all ] Thoralf Rickert updated TORQUE-23: -- Attachment: patch.txt Okay, this is a patch for the Object.vm generated with Eclipse. It creates a strange (localized) path to the Object.vm resource. I've

AW: Is Maven really necessary?

2006-05-24 Thread Thoralf Rickert
Yes, you can do it very easy with ant. See http://db.apache.org/torque/releases/torque-3.2/generator/index.html and http://db.apache.org/torque/releases/torque-3.2/generator/tasks-reference.html bye Thoralf -Ursprüngliche Nachricht- Von: Matthias Klein [mailto:[EMAIL PROTECTED]

Caching Rows

2006-04-27 Thread Thoralf Rickert
Hi! I like to have a feature in Torque that - I think - doesn't exists in it at present. I could implement it in Torque, but I think it is better to discuss it first here, because I'm not sure if it possible. Here is my problem: I've several tables where the data never changes during runtime of

AW: Caching Rows

2006-04-27 Thread Thoralf Rickert
Betreff: Re: Caching Rows Thoralf Rickert wrote: I've several tables where the data never changes during runtime of my application (for example a table called 'currency' which holds every currency that is used on this planet). These tables hold static data like state-types etc

AW: [village] Value.asDouble uses Integer.valueOf to parse strings

2006-04-19 Thread Thoralf Rickert
Hmm, yes, I think so. It should be return Double.valueOf((String)valueObject).doubleValue() But I'm not sure, what happens with the conversion of NaN in a primitive double value... T. -Ursprüngliche Nachricht- Von: Jonathan Purvis [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19.

AW: Torque with Java5 features

2006-01-23 Thread Thoralf Rickert
Would you mind to sign a cla and fax it to the ASF office ? see http://www.apache.org/licenses/#clas Yepp, done. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: using Ant based Torque generator while going thro a HTTP PROXY

2006-01-16 Thread Thoralf Rickert
Yes, have a look at the ant documentation. You have to set a proxy in the ant build file, like this. project setproxy proxyhost=192.168.. proxyport=8080 nonproxyhosts=mylocalhosts,.../ ... /project Is UnknownHostException really a Proxy problem or a DNS problem?... -Ursprüngliche

AW: proposal for reorganizing the Torque site

2006-01-16 Thread Thoralf Rickert
Hi! I think, it's a good idea to reorganize the website. I'd a look and two or three comments: - When you select the Documentation link in the menu you see a lot of options in the content (Runtime, Generator and so on). When you click on one of this options the menu changes and you see the

AW: Mapping column types

2005-12-27 Thread Thoralf Rickert
I have the exact same problem. After some debugging, I found out that the problem lies on the way village translates the output of the jdbc driver. The drivers returns an integer for the fields of type bit (1 for true, 0 for false). Village obviously (I don't have the source code)

AW: Torque with Java5 features

2005-12-23 Thread Thoralf Rickert
-Ursprüngliche Nachricht- Von: Thoralf Rickert Gesendet: Freitag, 25. November 2005 12:07 An: 'Apache Torque Developers List' Betreff: AW: Torque with Java5 features Just to make sure that I understood you correctly: You were able to convert the templates without chamnging

XML-Description to Java SQL Comment

2005-12-15 Thread Thoralf Rickert
Hi! I've a small feature request... In the XML schema it is possible to declare descriptions on table an column tags. I think, this attribute is currently unused. I've made some changes in the OM templates and now I can see this descriptions in the comments in the generated java classes (so it's

AW: CamelCase, Object Population and Relational Selects

2005-12-07 Thread Thoralf Rickert
Question 1: Is there a way to maintain the CamelCase of the tables inside of the torque classes? ex: If I have a table named accountTypes I get classes such as AccounttypesBase, AccounttypesPeer and Accounttypes. Is it possible to get proper casing out of Torque like AccountTypesBase?

Torque with Java5 features

2005-11-25 Thread Thoralf Rickert
Hi! I'm not sure, if this feature was discussed already on this list, but how big is the chance, that torque supports the Java5 features, like generics, in a future version? I know that this means a lot of work and much trouble with users, who aren't able to use Java5 because of some restrictions

AW: Torque with Java5 features

2005-11-25 Thread Thoralf Rickert
Just to make sure that I understood you correctly: You were able to convert the templates without chamnging the Runtime jar, and it worked ? Jo. - Testing would be more complicated. At the moment, it is already a nuisance to change the databases by hand, and to change the idtable

AW: SQL generated schema

2005-11-18 Thread Thoralf Rickert
) -Original Message- From: Thoralf Rickert I don't think that there is really a problem with torque and mysql. Normally everything is fine, but at that time something like this, doesn't worked: table name=tableA foreign-key foreignTable=tableB reference local

  1   2   >