org.squashtest.tm.service.internal.hibernate
public class GroupConcatFunction extends org.hibernate.dialect.function.StandardSQLFunction
This custom implementation of group_concat. Because it can contain an embedded expression, hibernate will try to parse it just as if it was within the scope of the main query - thus causing parsing exception.
To prevent this we had to make the awkward syntax as follow:
| Constructor and Description |
|---|
GroupConcatFunction(String name) |
GroupConcatFunction(String name,
org.hibernate.type.Type registeredType) |
| Modifier and Type | Method and Description |
|---|---|
String |
render(org.hibernate.type.Type firstArgumentType,
List arguments,
org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory) |
public GroupConcatFunction(String name, org.hibernate.type.Type registeredType)
public GroupConcatFunction(String name)
public String render(org.hibernate.type.Type firstArgumentType, List arguments, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
render in interface org.hibernate.dialect.function.SQLFunctionrender in class org.hibernate.dialect.function.StandardSQLFunctionCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.