Hello All,

It seems to be there is no longer

database.maps.builder=org.apache.turbine.util.db.map.TurbineMapBuilder

property in TR.properties of T2.3

Is there any way to set primary key method to native?

First, but unwanted  method is modify source :-)

Second, modify my om.TurbineUserPeerAdapter:

    public TurbineUserPeerAdapter () 
   {
        try {
                  DatabaseMap dbMap = Torque.getDatabaseMap();
                  TableMap tMap = dbMap.getTable("TURBINE_USER");
                  tMap.setPrimaryKeyMethod(TableMap.NATIVE);
                  tMap.setPrimaryKeyMethodInfo("turbine_user_seq");
        }
        catch (Exception e) {
                log.error (LOGHEADER+"TurbineUserPeerAdapter error:" + e.getMessage());
        }
    }
    
   but it is a little sticky way, because I have an om.TurbineUserPeerAdapter 
(ExtendedUser howto), but I don't have other group-,permission-,role  
adapter.

Or is there an elegant way of this?
-- 
thx,
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to