juliocamarero/liferay-portal — pull request #787 by epgarcia (2012-11-21 16:37:53+00:00)
Title: LPS-31033 ServiceBuilder is not escaping bad column names when generating SQLQueries

See brianchandotcom/liferay-portal/pull/7767

I've also taken arrayable_cols into account. Not all the queries including persistence_impl_finder_arrayable_cols.ftl are sqlQueries. See persistence_impl_count_by_arrayable_query.ftl and persistence_impl_find_by_arrayable.query. They include persistence_impl_finder_arrayable_cols.ftl but use Query instead of sqlQuery.

One example of entity using arrayable columns is CalEvent (see use of type in regenerated CalEventPersistenceImpl).

@migue