You could build from the source version. There is a schema file for the turbine tables. Just modify it to make the primary key generation use the database's native method.
-------------------------------------------- Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com > -----Original Message----- > From: Zamek [mailto:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 5:20 AM > To: 'Turbine Users List' > Subject: Turbine-security and id_table primary key method > > > 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] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
