Re: Problems migrating to Torque 4

2013-07-08 Thread Thomas Vandahl

On 04.07.2013 15:52, Thomas Fox wrote:

Thomas Vandahl wrote:


- What is the equivalence of
true ? I have Maven
integration active in Eclipse so the current situation means that the OM
classes are being generated on every build which in turn means that the
sources are never current. This is at least irritating.


No such functionality is implemented at the moment. It is not a fundamental
problem, it just isn't there and noone noticed till now.


Well, the current effect is that every time the Maven build is kicked 
off by
Eclipse, the OM files are re-generated. In default setting, this happens 
every
time I save a modified file. This slows down the build process by an 
order of
magnitude. It would be helpful to give some hint to the user how to 
handle this (using Maven profiles or the like). I don't have a really 
good idea, though.



Why would you want to reuse a criteria and clear all its content? Just
create a new one.


Because it used to be that way. If it's gone, it's gone. No problem here.


- I use the getAJoinB() methods in the OM classes. I have the following
table relation:

A - AtoB - B


I am not really sure about this. I never understood the logic how the
getSomethingJoinSomething methods were created, so it is probably a bug.


This feature is very helpful when dealing with m:n relations. It allows 
to access all Bs that belong to a certain A with one call. So to get all 
As that belong to a certain A is not very useful. I'll create an issue.



Yes, in the test project pom:


Thanks for the hint. I had some difficulties finding those examples. 
What about putting them into the docs?



If the meaning is a different database vendor, then the generated code ist
the same for all vendors.


The documentation of the option "torque.database" says that it is 
required for the "generate" goal.


Thanks for the help.
Bye, Thomas.

-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



Re: Problems migrating to Torque 4

2013-07-08 Thread Thomas Fox
Thomas Vandahl wrote:
> On 04.07.2013 15:52, Thomas Fox wrote:
> > Thomas Vandahl wrote:
> >
> >> - What is the equivalence of
> >> true ? I have Maven
> >> integration active in Eclipse so the current situation means that the
OM
> >> classes are being generated on every build which in turn means that
the
> >> sources are never current. This is at least irritating.
> >
> > No such functionality is implemented at the moment. It is not a
fundamental
> > problem, it just isn't there and noone noticed till now.
>
> Well, the current effect is that every time the Maven build is kicked
> off by
> Eclipse, the OM files are re-generated. In default setting, this happens
> every
> time I save a modified file. This slows down the build process by an
> order of
> magnitude. It would be helpful to give some hint to the user how to
> handle this (using Maven profiles or the like). I don't have a really
> good idea, though.

Probably the best idea is to reimplement the feature. Personally I do not
use it (I use maven on the command line) so I did not miss it.
Please create an issue.

> > Why would you want to reuse a criteria and clear all its content? Just
> > create a new one.
>
> Because it used to be that way. If it's gone, it's gone. No problem here.
>
> >> - I use the getAJoinB() methods in the OM classes. I have the
following
> >> table relation:
> >>
> >> A - AtoB - B
> >>
> > I am not really sure about this. I never understood the logic how the
> > getSomethingJoinSomething methods were created, so it is probably a
bug.
>
> This feature is very helpful when dealing with m:n relations. It allows
> to access all Bs that belong to a certain A with one call. So to get all
> As that belong to a certain A is not very useful. I'll create an issue.

Yes, please.

> > Yes, in the test project pom:
>
> Thanks for the hint. I had some difficulties finding those examples.
> What about putting them into the docs?

Oops, I thought it was in

http://db.apache.org/torque/torque-4.0/documentation/orm-reference/running-the-generator.html

but it is not.
Please create an issue.

> > If the meaning is a different database vendor, then the generated code
ist
> > the same for all vendors.
>
> The documentation of the option "torque.database" says that it is
> required for the "generate" goal.

Which documentation?
In
http://db.apache.org/torque/torque-4.0/documentation/orm-reference/running-the-generator.html
the only required option is torque.om.package.
But maybe there is another place in the dcs I am not aware of...

   Thanks,

Thomas


-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



[jira] [Created] (TORQUE-292) The feature of runOnlyOnSchemaChange is missing from the maven plugin

2013-07-08 Thread Thomas Vandahl (JIRA)
Thomas Vandahl created TORQUE-292:
-

 Summary: The feature of runOnlyOnSchemaChange is missing from the 
maven plugin
 Key: TORQUE-292
 URL: https://issues.apache.org/jira/browse/TORQUE-292
 Project: Torque
  Issue Type: Improvement
  Components: Maven 2 Plugin
Affects Versions: 4.0
Reporter: Thomas Vandahl


The Mavan plugin used to have a feature to skip the generation of source files 
if the schema file is unchanged. This feature is missing from the version 4.0 
of the plugin and should be re-implemented.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



[jira] [Created] (TORQUE-293) The generated OM classes of object A contain a method getAtoBJoinA() where they should contain a method getAtoBJoinB()

2013-07-08 Thread Thomas Vandahl (JIRA)
Thomas Vandahl created TORQUE-293:
-

 Summary: The generated OM classes of object A contain a method 
getAtoBJoinA() where they should contain a method getAtoBJoinB()
 Key: TORQUE-293
 URL: https://issues.apache.org/jira/browse/TORQUE-293
 Project: Torque
  Issue Type: Bug
  Components: Templates
Affects Versions: 4.0
Reporter: Thomas Vandahl


I use the getAJoinB() methods in the OM classes. I have the following table 
relation:

  A - AtoB - B

Now in A there used to be a generated method getAtoBJoinB(Criteria) whereas in 
Torque4 there is only getAtoBJoinA(Criteria). This feature was very helpful 
when dealing with m:n relations. It allowed to access all Bs that belong to a 
certain A with one call. So to get all As that belong to a certain A is not 
very useful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



[jira] [Created] (TORQUE-294) An example for the generation of the Init-ID-Table-SQL is missing from the docs.

2013-07-08 Thread Thomas Vandahl (JIRA)
Thomas Vandahl created TORQUE-294:
-

 Summary: An example for the generation of the Init-ID-Table-SQL is 
missing from the docs.
 Key: TORQUE-294
 URL: https://issues.apache.org/jira/browse/TORQUE-294
 Project: Torque
  Issue Type: Bug
  Components: Documentation, Maven 2 Plugin
Affects Versions: 4.0
Reporter: Thomas Vandahl
Priority: Minor


The only place one can find such an example is the POM of the Torque test 
project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



Re: Problems migrating to Torque 4

2013-07-08 Thread Thomas Vandahl

On 08.07.2013 10:12, Thomas Fox wrote:

Probably the best idea is to reimplement the feature. Personally I do not
use it (I use maven on the command line) so I did not miss it.
Please create an issue.


TORQUE-292


This feature is very helpful when dealing with m:n relations. It allows
to access all Bs that belong to a certain A with one call. So to get all
As that belong to a certain A is not very useful. I'll create an issue.


Yes, please.


TORQUE-293


Oops, I thought it was in

http://db.apache.org/torque/torque-4.0/documentation/orm-reference/running-the-generator.html

but it is not.
Please create an issue.


TORQUE-294


The documentation of the option "torque.database" says that it is
required for the "generate" goal.


Which documentation?
In
http://db.apache.org/torque/torque-4.0/documentation/orm-reference/running-the-generator.html
the only required option is torque.om.package.
But maybe there is another place in the dcs I am not aware of...


I was looking at 
http://db.apache.org/torque/torque-4.0/documentation/orm-reference/customizing-generation.html


Bye, Thomas.



-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



svn commit: r1500608 - /db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml

2013-07-08 Thread tfischer
Author: tfischer
Date: Mon Jul  8 08:46:04 2013
New Revision: 1500608

URL: http://svn.apache.org/r1500608
Log:
Fix description of torque.database generation option.

Modified:

db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml

Modified: 
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml
URL: 
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml?rev=1500608&r1=1500607&r2=1500608&view=diff
==
--- 
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml
 (original)
+++ 
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml
 Mon Jul  8 08:46:04 2013
@@ -61,7 +61,7 @@
   N/A
   
 Torque must know the target database platform in order to generate the
-appropriate Java and SQL code, i.e. this option is required.
+appropriate SQL code, i.e. this option is required.
 Currently supported values are:
 derby, hsqldb, mssql, mysql, oracle, postgresql.
 



-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



Re: Problems migrating to Torque 4

2013-07-08 Thread Thomas Fox

> >> The documentation of the option "torque.database" says that it is
> >> required for the "generate" goal.
> >
> > Which documentation?
> > In
> > http://db.apache.org/torque/torque-4.0/documentation/orm-
> reference/running-the-generator.html
> > the only required option is torque.om.package.
> > But maybe there is another place in the dcs I am not aware of...
>
> I was looking at
> http://db.apache.org/torque/torque-4.0/documentation/orm-reference/
> customizing-generation.html

Hm. In your case, there is the entry in the "Used for generation of"
column, which says sql, html, xdoc, so one could conlude that the option is
not required for om generation, but it is not really exlicitly described.
Plus there is the wrong "description", which says required for generation
of java classes, which definitely is a bug. I have already fixed it, can
you please look if it is ok now ? Do you think it is worth creating a jira
issue to let others know that the description is wrong (I personally hav
never looked into an issue tracker to find documentation issues) ?

   Thomas


-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



Re: Problems migrating to Torque 4

2013-07-08 Thread Thomas Vandahl

On 08.07.2013 10:47, Thomas Fox wrote:

Plus there is the wrong "description", which says required for generation
of java classes, which definitely is a bug. I have already fixed it, can
you please look if it is ok now ?


Thanks for looking into this. I'd write "...this option is required for 
SQL generation."


Do you think it is worth creating a jira

issue to let others know that the description is wrong (I personally hav
never looked into an issue tracker to find documentation issues) ?


No, I don't think so.


Bye, Thomas.


-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



svn commit: r1500659 - /db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml

2013-07-08 Thread tfischer
Author: tfischer
Date: Mon Jul  8 11:15:11 2013
New Revision: 1500659

URL: http://svn.apache.org/r1500659
Log: (empty)

Modified:

db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml

Modified: 
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml
URL: 
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml?rev=1500659&r1=1500658&r2=1500659&view=diff
==
--- 
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml
 (original)
+++ 
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml
 Mon Jul  8 11:15:11 2013
@@ -61,7 +61,7 @@
   N/A
   
 Torque must know the target database platform in order to generate the
-appropriate SQL code, i.e. this option is required.
+appropriate SQL code, i.e. this option is required for SQL generation.
 Currently supported values are:
 derby, hsqldb, mssql, mysql, oracle, postgresql.
 



-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



Re: Problems migrating to Torque 4

2013-07-08 Thread Thomas Fox
Thomas Vandahl wrote:
> On 08.07.2013 10:47, Thomas Fox wrote:
> > Plus there is the wrong "description", which says required for
generation
> > of java classes, which definitely is a bug. I have already fixed it,
can
> > you please look if it is ok now ?
>
> Thanks for looking into this. I'd write "...this option is required for
> SQL generation."

Thanks for the suggestion. Done.

   Thomas


-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



Build failed in Jenkins: Torque4-trunk #445

2013-07-08 Thread Apache Jenkins Server
See 

Changes:

[tfischer] 

--
[...truncated 70 lines...]
[INFO] Building Torque Runtime
[INFO]task-segment: [clean, install, cobertura:cobertura, 
findbugs:findbugs, checkstyle:checkstyle, pmd:pmd, pmd:cpd]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[WARNING] The parameter expression: 'project.build.resources' used in mojo: 
'process' has been deprecated. Use 'project.resources' instead.
[INFO] [remote-resources:process {execution: default}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 108 source files to 

[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 31 source files to 

[WARNING] DEPRECATED [systemProperties]: Use systemPropertyVariables instead.
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: 


---
 T E S T S
---
Running org.apache.torque.om.mapper.CompositeMapperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.413 sec
Running org.apache.torque.sql.QueryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.53 sec
Running org.apache.torque.adapter.DBOracleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.apache.torque.om.mapper.ObjectListMapperTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.659 sec
Running org.apache.torque.TorqueInstanceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 sec
Running org.apache.torque.om.ComboKeyTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
Running org.apache.torque.util.BasePeerImplTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.618 sec
Running org.apache.torque.util.functions.MaxTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.apache.torque.util.functions.SumTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.apache.torque.criteria.CriterionTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.179 sec
Running org.apache.torque.util.functions.AggregateFunctionTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
Running org.apache.torque.util.functions.AvgTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.apache.torque.util.functions.CountTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.apache.torque.util.functions.AbstractFunctionTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec
Running org.apache.torque.util.SummaryHelperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.481 sec
Running org.apache.torque.sql.SqlBuilderTest
Tests run: 115, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.464 sec
Running org.apache.torque.om.mapper.StringMapperTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.404 sec
Running org.apache.torque.ColumnImplTest
Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.265 sec
Running org.apache.torque.util.functions.MinTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.apache.torque.map.ColumnMapTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 sec
Running org.apache.torque.om.mapper.BigDecimalMapperTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.408 sec
Running org.apache.torque.avalon.AvalonTest
[DEBUG] Starting container...
[DEBUG] Loading the service container class 
org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Instantiating the service container class 
org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Using the following configuration : yaafiorg.apache.fulcrum.yaafi.framework.container.ServiceContainerImplsrc/test/resources/TestRoleConfig.x

Jenkins build is back to normal : Torque4-trunk #446

2013-07-08 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



Jenkins build became unstable: torque4-test-project-derby » Torque Test Project #350

2013-07-08 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



Jenkins build became unstable: torque4-test-project-derby #350

2013-07-08 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



svn commit: r1500939 - /db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/running-the-generator.xml

2013-07-08 Thread tfischer
Author: tfischer
Date: Mon Jul  8 20:48:52 2013
New Revision: 1500939

URL: http://svn.apache.org/r1500939
Log:
TORQUE-294: Add an example for the generation of the Init-ID-Table-SQL to the 
docs. 

Modified:

db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/running-the-generator.xml

Modified: 
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/running-the-generator.xml
URL: 
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/running-the-generator.xml?rev=1500939&r1=1500938&r2=1500939&view=diff
==
--- 
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/running-the-generator.xml
 (original)
+++ 
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/running-the-generator.xml
 Mon Jul  8 20:48:52 2013
@@ -169,7 +169,117 @@
 documentation of available options which can be used to customize
 the generated output.
   
- 
+
+
+  
+For generating the SQL to fill the IDBroker tables,
+add the following execution to the executions list
+of the Torque Maven plugin:
+  
+  
+  
+Replace ${torque.target.database} with the target database type 
+(e.g. mysql, oracle). Replace ${torque.schema.source.dir} 
+with the directory where you put your database schemata 
+(e.g. /src/main/schema). 
+  
+  
+This will generate the sql code for all source files in the schema
+directory ending on -schema.xml; the output goes to the directory 
+target/generated-sql.
+  
+  
+See the Customizing page for 
a
+documentation of available options which can be used to customize
+the generated output.
+  
+  
+Note that for generating the ddl for the id tables, 
+you need to generate the ddl sql for the following schema file:
+  
+  
+  
+where ${database.name} should be replaced by the symbolic name of the 
+database for which you want to use the idbroker. 
+The generation of om classes is not required for the idbroker table.
+  
+
+
+  
+For generating the SQL scripts for creating a database
+(which does not make sense for every database vendor),
+add the following execution to the executions list
+of the Torque Maven plugin:
+  
+  
+  
+Replace ${torque.target.database} with the target database type 
+(e.g. mysql, oracle). Replace ${torque.schema.source.dir} 
+with the directory where you put your database schemata 
+(e.g. /src/main/schema). 
+  
+  
+This will generate the createdb sql code for all source files
+in the schema directory ending on -schema.xml; 
+the output goes to the directory target/generated-createdb-sql.
+  
+
 
   
 For generating html documentation for the tables,



-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



[jira] [Assigned] (TORQUE-294) An example for the generation of the Init-ID-Table-SQL is missing from the docs.

2013-07-08 Thread Thomas Fox (JIRA)

 [ 
https://issues.apache.org/jira/browse/TORQUE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Fox reassigned TORQUE-294:
-

Assignee: Thomas Fox

> An example for the generation of the Init-ID-Table-SQL is missing from the 
> docs.
> 
>
> Key: TORQUE-294
> URL: https://issues.apache.org/jira/browse/TORQUE-294
> Project: Torque
>  Issue Type: Bug
>  Components: Documentation, Maven 2 Plugin
>Affects Versions: 4.0
>Reporter: Thomas Vandahl
>Assignee: Thomas Fox
>Priority: Minor
>
> The only place one can find such an example is the POM of the Torque test 
> project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



[jira] [Resolved] (TORQUE-294) An example for the generation of the Init-ID-Table-SQL is missing from the docs.

2013-07-08 Thread Thomas Fox (JIRA)

 [ 
https://issues.apache.org/jira/browse/TORQUE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Fox resolved TORQUE-294.
---

   Resolution: Fixed
Fix Version/s: 4.1

> An example for the generation of the Init-ID-Table-SQL is missing from the 
> docs.
> 
>
> Key: TORQUE-294
> URL: https://issues.apache.org/jira/browse/TORQUE-294
> Project: Torque
>  Issue Type: Bug
>  Components: Documentation, Maven 2 Plugin
>Affects Versions: 4.0
>Reporter: Thomas Vandahl
>Assignee: Thomas Fox
>Priority: Minor
> Fix For: 4.1
>
>
> The only place one can find such an example is the POM of the Torque test 
> project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



svn commit: r1500941 - /db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties

2013-07-08 Thread tfischer
Author: tfischer
Date: Mon Jul  8 20:55:00 2013
New Revision: 1500941

URL: http://svn.apache.org/r1500941
Log:
TORQUE-270: Test project fails with derby network server
This fixes the org.apache.torque.util.ExceptionMapperTest test

Modified:
db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties

Modified: 
db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties
URL: 
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties?rev=1500941&r1=1500940&r2=1500941&view=diff
==
--- 
db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties 
(original)
+++ 
db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties 
Mon Jul  8 20:55:00 2013
@@ -31,6 +31,7 @@ torque.dsfactory.bookstore.connection.us
 torque.dsfactory.bookstore.connection.password = SA
 
 torque.dsfactory.bookstore.pool.validationQuery = values(1)
+torque.dsfactory.bookstore.pool.defaultAutoCommit = false
 
 # use Caching. This property is only used if managers are used by generators.
 torque.manager.useCache = true



-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



[jira] [Commented] (TORQUE-270) Test project fails with derby network server

2013-07-08 Thread Thomas Fox (JIRA)

[ 
https://issues.apache.org/jira/browse/TORQUE-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13702411#comment-13702411
 ] 

Thomas Fox commented on TORQUE-270:
---

The failure in the test ExceptionMapperTest comes from a missing 
torque.dsfactory.bookstore.pool.defaultAutoCommit = false
in the Torque.properties file in the derby profile and is now fixed in svn.



> Test project fails with derby network server
> 
>
> Key: TORQUE-270
> URL: https://issues.apache.org/jira/browse/TORQUE-270
> Project: Torque
>  Issue Type: Bug
>  Components: Test Project
>Affects Versions: 4.0
> Environment: Derby  (Networked version)
>Reporter: Greg Monroe
>
> Derby 10.8.3.0 (Networked version):   Failed
>  Test set: 
> org.apache.torque.generated.peer.DefaultValuesFromDatabaseTest
>testNewObjectDatabaseDefault:
>  The syntax of the string representation of a datetime value is 
> incorrect.
>testNewObjectChangedValue
>  The syntax of the string representation of a datetime value is 
> incorrect.
>   Test set: org.apache.torque.util.ExceptionMapperTest
> testTransactionDeadlock
>  autocommit must be set to false for this test
>Derby 10.9.1.0 (Networked version):   Failed
>  Test set: 
> org.apache.torque.generated.peer.DefaultValuesFromDatabaseTest
>testNewObjectDatabaseDefault:
>  The syntax of the string representation of a datetime value is 
> incorrect.
>testNewObjectChangedValue
>  The syntax of the string representation of a datetime value is 
> incorrect.
>   Test set: org.apache.torque.util.ExceptionMapperTest
> testTransactionDeadlock
>  autocommit must be set to false for this test

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



[jira] [Commented] (TORQUE-270) Test project fails with derby network server

2013-07-08 Thread Greg Monroe (JIRA)

[ 
https://issues.apache.org/jira/browse/TORQUE-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13702416#comment-13702416
 ] 

Greg Monroe commented on TORQUE-270:


Thank you for your message. I am no longer with Duke Corporate Education but 
steps have been taken to ensure that your note reaches the appropriate 
resources within the Firm. As of July 5, 2013, please use Steve Mahaley as your 
primary point of contact, who can be reached at by phone at 919-680-5618 or 
email the designgr...@dukece.com.


> Test project fails with derby network server
> 
>
> Key: TORQUE-270
> URL: https://issues.apache.org/jira/browse/TORQUE-270
> Project: Torque
>  Issue Type: Bug
>  Components: Test Project
>Affects Versions: 4.0
> Environment: Derby  (Networked version)
>Reporter: Greg Monroe
>
> Derby 10.8.3.0 (Networked version):   Failed
>  Test set: 
> org.apache.torque.generated.peer.DefaultValuesFromDatabaseTest
>testNewObjectDatabaseDefault:
>  The syntax of the string representation of a datetime value is 
> incorrect.
>testNewObjectChangedValue
>  The syntax of the string representation of a datetime value is 
> incorrect.
>   Test set: org.apache.torque.util.ExceptionMapperTest
> testTransactionDeadlock
>  autocommit must be set to false for this test
>Derby 10.9.1.0 (Networked version):   Failed
>  Test set: 
> org.apache.torque.generated.peer.DefaultValuesFromDatabaseTest
>testNewObjectDatabaseDefault:
>  The syntax of the string representation of a datetime value is 
> incorrect.
>testNewObjectChangedValue
>  The syntax of the string representation of a datetime value is 
> incorrect.
>   Test set: org.apache.torque.util.ExceptionMapperTest
> testTransactionDeadlock
>  autocommit must be set to false for this test

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



Jenkins build is back to stable : torque4-test-project-derby #351

2013-07-08 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org



Jenkins build is back to stable : torque4-test-project-derby » Torque Test Project #351

2013-07-08 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org