portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15511] - nonexistent sequence error with oracle
Date Mon, 10 Feb 2003 20:32:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15511>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

nonexistent sequence error with oracle





------- Additional Comments From a_mikhin@yahoo.com  2003-02-10 20:32 -------
This bug is due to the incorrect db sequence names generated in the doBuild() 
method of the "MapBuilder" classes. For instance, in the 
org.apache.jetspeed.om.security.turbine.map.TurbineUserMapBuilder.java
 
    public void doBuild() throws TorqueException
    {
         ...                
        tMap.setPrimaryKeyMethodInfo("TURBINE_USER");
        ...
    }

"TURBINE_USER" must be replaced with "TURBINE_USER_SEQ". 

The analogous errors can be also found in the following classes:

TurbineRoleMapBuilder.java
TurbinePermissionMapBuilder.java
TurbineGroupMapBuilder.java
CoffeesMapBuilder.java

from the org.apache.jetspeed.om.security.turbine.map package

and 

JetspeedGroupProfileMapBuilder.java
JetspeedRoleProfileMapBuilder.java
JetspeedUserProfileMapBuilder.java

from the org.apache.jetspeed.om.dbpsml.map package.

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


Mime
View raw message