Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Is @ColumnResult case-sensitive by design or is it a bug?

Database column names in general are case sensitive on some databases, so
EclipseLink is case sensitive, so you should include the correct case in
your column/table names.  If you database always uses upper (or lower) case,
then you should do the same.

There is an EclipseLink persistence unit property that will force case to
upper case on column meta-data.

"eclipselink.jdbc.uppercase-columns"="true"

There are also two methods on DatabasePlatform,
setShouldForceFieldNamesToUpperCase()
and, setShouldIgnoreCaseOnFieldComparisons() which may be useful.



akutovoy wrote:
> 
> 
> 


-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://old.nabble.com/Is-%40ColumnResult-case-sensitive-by-design-or-is-it-a-bug--tp26518000p26581271.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top