You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by bu...@apache.org on 2001/06/19 08:15:07 UTC

[Bug 2228] New: - doUpdate(Criteria, Criteria) works wrong when dbname other than "default"

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2228

*** shadow/2228	Mon Jun 18 23:15:07 2001
--- shadow/2228.tmp.22524	Mon Jun 18 23:15:07 2001
***************
*** 0 ****
--- 1,23 ----
+ +============================================================================+
+ | doUpdate(Criteria, Criteria) works wrong when dbname other than "default"  |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2228                        Product: Turbine                 |
+ |       Status: NEW                         Version: 2.1b1                   |
+ |   Resolution:                            Platform: Other                   |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Torque                  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: turbine-dev@jakarta.apache.org                               |
+ |  Reported By: lilingz@a-1.net.cn                                           |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When I use SomePeer.doUpdate(selCrit, valueCrit), it generate a Exception containing message "Connection object is null!".
+ 
+ I checked the code in generated BaseSomePeer and find there is a 
+ doUpdate(Criteria) method for it, but there's not doUpdate(Criteria, Criteria)
+ method for it.
+ 
+ I think there should be also one doUpdate(Criteria, Criteria) method that do some criteria.setDbName() work.
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org