Skip to content

Underscore handled inconsistently, causing duplication errors #15

Description

@GoogleCodeExporter
Create a table with columns like this:
Pk
Name1
Name_1

I expected Name1 and Name_1 to be treated as separate columns, but while the 
constants distinguish between them, the setter methods are both named setName1. 
 (Not:  setName1 and setName_1)

This causes errors such as:
Cannot redeclare MyModel::setName1() ...

Obviously, changing the column names would fix this, but I need to use the 
database as it is, not as I wish it could be.

Windows 7, NetBeans IDE 7.0.1 (Build 201107282000)
DB2PHP Version: 1.3

Original issue reported on code.google.com by dan...@gmail.com on 23 Mar 2012 at 11:20

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions