String cast generates invalid SQL using EclipseLink and MySQL #1106

Closed
nicky9door opened this Issue Dec 22, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@nicky9door

Eclipselink uses the template 'cast({0} varchar(255))' for the STRING_CAST function. This does not work when the underlying database is MySQL. MySQL uses the type 'char' rather than 'varchar'. The correct template in this situation would be 'cast({0} char(255))'.

@timowest timowest added the bug label Dec 23, 2014

@timowest timowest added this to the 4.0.0 milestone Feb 7, 2015

@timowest timowest added the progress label Feb 7, 2015

@Shredder121 Shredder121 closed this in #1182 Feb 17, 2015

@timowest timowest removed the progress label Mar 13, 2015

@timowest timowest modified the milestones: 3.6.2, 4.0.0 Mar 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment