which version of Jetspeed?
If its 1.4, then its best to change your Torque schema and regenerate
(build/torque/schema/security-schema.xml).
If you would only like to change the table name, Torque allows you to use a
different name for the TABLE than the JavaClass:
See the DTD:

<!ELEMENT table (column+,(foreign-key|index|unique|id-method-parameter)*)>
<!ATTLIST table
  name CDATA #REQUIRED
<------------------------------------------------- name of the table
  javaName CDATA #IMPLIED
<------------------------------------------------- name of the JavaClass
  idMethod (idbroker|native|autoincrement|sequence|none|null) "null"
  skipSql (true|false) "false"
  abstract (true|false) "false"
  baseClass CDATA #IMPLIED
  basePeer CDATA #IMPLIED
  alias CDATA #IMPLIED
  interface CDATA #IMPLIED
  javaNamingMethod (nochange|underscore|javaname) #IMPLIED
  heavyIndexing (true|false) #IMPLIED
  description CDATA #IMPLIED
>

or documentation

http://jakarta.apache.org/turbine/torque/schema-reference.html

> -----Original Message-----
> From: Aur�lien Pernoud [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 6:22 AM
> To: 'Jetspeed Users List'
> Subject: Trying not to use the default TURBINE_USER table in database
>
>
>
> Hi there,
>
> I'm trying to use another table name for users inside my webapp (not the
> default TURBINE_USER one), so I went into turbine 2.x docs, and found that
> in turbineresources.properties I could specify my own MapBuilder by
> modifying :
> # -------------------------------------------------------------------
> #
> #  P E E R S
> #
> # -------------------------------------------------------------------
> # Supplies Turbine with information about the database schema, which
> # can simplify any required Peer classes.
> #
> # Default: org.apache.turbine.util.db.map.TurbineMapBuilder
> # -------------------------------------------------------------------
> database.maps.builder=org.apache.turbine.util.db.map.TurbineMapBuilder
>
> Si I looked into the turbineresources.properties included in jetspeed and
> there's no such line. Well, no matter, I added it and pointed to my own
> mapbuilder.
>
> But it doesn't work, jetspeed is still looking for users in
> TURBINE_USER...
> Has anyone done this before succesfully ? How ? I  think i'm not far but
> don't know what I've done wrong.
>
> Thanks,
>
> Aur�lien Pernoud
> Sopra Group
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>



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

Reply via email to