Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » quoted name and constraint
quoted name and constraint [message #861457] Sat, 28 April 2012 11:23 Go to next message
Eclipse UserFriend
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 11:45 Go to previous messageGo to next message
Eclipse UserFriend
Seems to be a bug. Please log the bug and vote for it.
Re: quoted name and constraint [message #867303 is a reply to message #865831] Tue, 01 May 2012 04:17 Go to previous message
Eclipse UserFriend
done:
see bug #378140
Previous Topic:SequenceGenerator Error
Next Topic:Use of sequences with EclipseLink (native) and Postgres
Goto Forum:
  


Current Time: Wed Jul 23 00:39:54 EDT 2025

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

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

Back to the top