Hi,
I have a dump question about naming conventions for foreign keys.

Using ORACLE as back-end all table names are in capital letters. So
Table object looks like:
Table('BRANCH',DynamicMetaData(),Column('id',OracleInteger(),primary_key=True,nullable=False),
Column('name',OracleString(length=500),nullable=False),
Column('lastmodifiedby',OracleInteger(),
ForeignKey('person.id')),
Column('lastmodificationdate',OracleTimestamp(timezone=False),
default=PassiveDefault(<sqlalchemy.sql._TextClause object at
0xb6b142ac>)),
Column('creationdate',OracleTimestamp(timezone=False),
default=PassiveDefault(<sqlalchemy.sql._TextClause object at
0xb6b1430c>)),
Column('createdby',OracleInteger(),ForeignKey('person.id')),schema=None)

The question is why Foreign key is in lower case, since the table
"person" name is actually in capital
Table('PERSON',DynamicMetaData()....)

Thanks,
Valentin.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to