HI, Trey
class slqmeta idName='table_id' IF that is the only thing you need to set then this is probably the solution. if you need to do more customisation the documentation mensions that there is sqlmeta has a style paramater, there are a couple of pre defiend styles and I would assume (although I havent looked) that it would be possible to define other styles if your schema is sufficently consistent. I do this as a matter of course as my legacy database uses an auto increment calumn called recno for the primary key of every table. Regards Konrad On 5/1/06, Erik Stephens <[EMAIL PROTECTED]> wrote:
Short of hacking up SQLObject, is there a way to customize the 'ID' string that gets appended when specifying ForeignKey columns? To better work with my legacy code, I would like to be able to refer to '<column>_id' instead of '<column>ID'. Thanks a bunch, Erik ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ sqlobject-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ sqlobject-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
