Ticket #521 (new Improvement)

Opened 3 years ago

database indepent implementation of Concat() function

Reported by: andreas@… Owned by: somebody
Priority: Minor Milestone:
Component: Repository - database support Version: 2.1
Keywords: Cc:

Description

[jira2trac import : issue created on August 1, 2007 3:17:51 PM CEST http://issues.cocoondev.org/browse/DSY-521 ]

Currently, the implementation of the Concat() function of daisy's query language depends on the existence of the SQL string function CONCAT(). However, this MySQL-specific SQL-function is implemented differently on other databases, e.g. on PostgreSQL, we have the
operator for string concatenation (string1 string2 ). Therefore, the Implementation of that function should be made more flexible, the current solution does not allow to easily pass the operator via the getStringConcatFunction() of the JdbcHelper? class.
Affected files: org/outerj/daisy/query/model/functions/ConcatFunction.java, org/outerj/daisy/jdbcutil/JdbcHelper.java
Note: See TracTickets for help on using tickets.