Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » quoted name and constraint
quoted name and constraint [message #861457] Sat, 28 April 2012 15:23 Go to next message
atao Missing name is currently offline atao Missing nameFriend
Messages: 13
Registered: July 2009
Junior Member
Hello,

I'm using "delimited-identifiers" to get all the table and column names quoted. It works. But the quotes are still there inside the constraint name, e.g.:

Quote:

[EL Warning]: 2012-04-28 11:10:24.479--ServerSession(252116116)--Thread(Thread[main,5,main])--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Wrong data type: _7 in statement [ALTER TABLE "ABSTRACTTYPE" ADD CONSTRAINT UNQ_"ABSTRACTTYPE"_7]
Error Code: -16
Call: ALTER TABLE "ABSTRACTTYPE" ADD CONSTRAINT UNQ_"ABSTRACTTYPE"_7 UNIQUE ("NAME")
Query: DataModifyQuery(sql="ALTER TABLE "ABSTRACTTYPE" ADD CONSTRAINT UNQ_"ABSTRACTTYPE"_7 UNIQUE ("NAME")")


Did I miss something?

Regards
Pierre
Re: quoted name and constraint [message #865831 is a reply to message #861457] Mon, 30 April 2012 15:45 Go to previous messageGo to next message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Seems to be a bug. Please log the bug and vote for it.


James : Wiki : Book : Blog : Twitter
Re: quoted name and constraint [message #867303 is a reply to message #865831] Tue, 01 May 2012 08:17 Go to previous message
atao Missing name is currently offline atao Missing nameFriend
Messages: 13
Registered: July 2009
Junior Member
done:
see bug #378140
Previous Topic:SequenceGenerator Error
Next Topic:Use of sequences with EclipseLink (native) and Postgres
Goto Forum:
  


Current Time: Sat Nov 29 01:46:15 GMT 2014

Powered by FUDForum. Page generated in 0.02025 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software