Re: Datatype mapping in Torque 3.2

2006-07-15 Thread Thomas Fischer
Hi, this should be a way that works - extend the platform class you want to change, and end the classname with Impl. Put the resulting class in the same (org.apache.torque.engine.platform.Platform) package. - set the torque.database property in the project.properties (NOT in the

svn commit: r422162 - /db/torque/maven2-plugin/trunk/src/main/java/org/apache/torque/mojo/DataDumpMojo.java

2006-07-15 Thread tfischer
Author: tfischer Date: Sat Jul 15 00:26:30 2006 New Revision: 422162 URL: http://svn.apache.org/viewvc?rev=422162view=rev Log: using the same case for the target as in the ant task and maven1-plugin Modified:

svn commit: r422163 - /db/torque/maven2-plugin/trunk/src/main/java/org/apache/torque/mojo/OMMojo.java

2006-07-15 Thread tfischer
Author: tfischer Date: Sat Jul 15 00:27:52 2006 New Revision: 422163 URL: http://svn.apache.org/viewvc?rev=422163view=rev Log: using the same default value for generateBeans as the ant and maven1 build system Modified:

svn commit: r422164 - /db/torque/maven2-plugin/trunk/src/main/java/org/apache/torque/mojo/DataSqlMojo.java

2006-07-15 Thread tfischer
Author: tfischer Date: Sat Jul 15 00:29:08 2006 New Revision: 422164 URL: http://svn.apache.org/viewvc?rev=422164view=rev Log: Added maven2 Mojo for the datasql task Added: db/torque/maven2-plugin/trunk/src/main/java/org/apache/torque/mojo/DataSqlMojo.java Added:

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

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-39?page=comments#action_12421294 ] Thomas Fischer commented on TORQUE-39: -- Where would you expect the databaseName to come from ? To my knowledge, nowhere in the generator exists the concept of

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

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-39?page=all ] Thomas Fischer updated TORQUE-39: - Affects Version/s: 3.2 (was: 3.2.1) Wrong database name in generated XML schema with jdbc task

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

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-40?page=all ] Thomas Fischer updated TORQUE-40: - Affects Version/s: 3.2 (was: 3.2.1) jdbc task fails on sybase database (schema is set)

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

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-40?page=comments#action_12421295 ] Thomas Fischer commented on TORQUE-40: -- To be more unspecific, the schema name has to be the same as the name of the database user. jdbc task fails on

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

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-40?page=all ] Thomas Fischer reopened TORQUE-40: -- Assignee: Thomas Fischer jdbc task fails on sybase database (schema is set) --

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

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-40?page=all ] Thomas Fischer resolved TORQUE-40. -- Fix Version/s: 3.2 Resolution: Invalid jdbc task fails on sybase database (schema is set) --

[jira] Updated: (TORQUE-41) JDBC Task: Getting Foreign Keys from Views in Sybase throws SybSQLException

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-41?page=all ] Thomas Fischer updated TORQUE-41: - Affects Version/s: 3.2 (was: 3.2.1) JDBC Task: Getting Foreign Keys from Views in Sybase throws SybSQLException

svn commit: r422173 - in /db/torque: generator/trunk/src/java/org/apache/torque/task/TorqueJDBCTransformTask.java site/trunk/xdocs/changes.xml

2006-07-15 Thread tfischer
Author: tfischer Date: Sat Jul 15 01:02:03 2006 New Revision: 422173 URL: http://svn.apache.org/viewvc?rev=422173view=rev Log: Caught SQL exception when foreign keys cannot be retrieved in the jdbc task. Thanks to Thorals Rickert for reporting teh error and suggesting a solution. Fixes TORQUE-41

[jira] Resolved: (TORQUE-41) JDBC Task: Getting Foreign Keys from Views in Sybase throws SybSQLException

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-41?page=all ] Thomas Fischer resolved TORQUE-41. -- Fix Version/s: 3.2.1 Resolution: Fixed Assignee: Thomas Fischer Fixed by catching SQL exceptions when retrieving the foreign keys for a

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

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-27?page=comments#action_12421298 ] Thomas Fischer commented on TORQUE-27: -- First of all, you can tell mysql to use innoDB as default for new tables in the database's my.conf, if that is the

[jira] Commented: (TORQUE-24) Generator doesn't generate data values correctly for BOOLEANCHAR

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-24?page=comments#action_12421300 ] Thomas Fischer commented on TORQUE-24: -- If one would put Y and N instead of true and false in the data-xml, everything would work as expected, so the problem

[jira] Updated: (TORQUE-24) Generator doesn't generate data values correctly for BOOLEANCHAR

2006-07-15 Thread Thomas Fischer (JIRA)
[ http://issues.apache.org/jira/browse/TORQUE-24?page=all ] Thomas Fischer updated TORQUE-24: - Issue Type: Improvement (was: Bug) Generator doesn't generate data values correctly for BOOLEANCHAR

Re: svn commit: r419657 - /db/torque/runtime/trunk/src/java/org/apache/torque/adapter/

2006-07-15 Thread Thomas Fischer
On Tue, 11 Jul 2006, Thomas Vandahl wrote: Thomas Fischer wrote: I did not mean to criticize you there. It was just a general remark. No, you are perfectly right. Sybase and SQLServer do have very similar features. Compatibility is a distinct aim of the development. Ah, I did not know

[Db-torque Wiki] Update of stefanoulissi by stefanoulissi

2006-07-15 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Db-torque Wiki for change notification. The following page has been changed by stefanoulissi: http://wiki.apache.org/db-torque/stefanoulissi New page: ##language:en == Your Name == Email: [[MailTo([EMAIL PROTECTED])]] ...

[Db-torque Wiki] Update of stefanoulissi by stefanoulissi

2006-07-15 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Db-torque Wiki for change notification. The following page has been changed by stefanoulissi: http://wiki.apache.org/db-torque/stefanoulissi --