SQL : Keep camel-case of database identifiers

Bug #627376 reported by Timo Westkämper on 2010-08-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

Bug Description

Keep camel-case from database identifiers

Here is a related unit test :

    @Test
    public void testGetPropertyName() {
        EntityType entityModel = new EntityType("Q", Types.OBJECT);
        assertEquals("whileCol", namingStrategy.getPropertyName("while", "Q", entityModel));
        assertEquals("name", namingStrategy.getPropertyName("name", "Q", entityModel));
        assertEquals("userId", namingStrategy.getPropertyName("user_id", "Q", entityModel));
        assertEquals("accountEventId", namingStrategy.getPropertyName("accountEvent_id", "Q", entityModel));
    }

Changed in querydsl:
status: New → Fix Committed

Fixed in 1.9.3

summary: - SQL : Keep camel-case from database identifiers
+ SQL : Keep camel-case of database identifiers
Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers