SQL : Keep camel-case of database identifiers

Bug #627376 reported by Timo Westkämper
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

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

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
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.