Hello, 

On Monday 23 June 2003 15.55, Quinton McCombs wrote:
> 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.

ok, thx to response


> > 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]

-- 
udv,
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