Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Diffrence of parameter format
Diffrence of parameter format [message #389700] Wed, 17 June 2009 16:59 Go to next message
John Z is currently offline John ZFriend
Messages: 1
Registered: July 2009
Junior Member
i have named query with parameters, both of following format seems working:

select * from table_a where row_id=?id
select * from table_a where row_id=:id

What are the diffrence of them?

Re: Diffrence of parameter format [message #389701 is a reply to message #389700] Thu, 18 June 2009 13:52 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

No real difference.

Normally : is used for named parameters, and ? is used for positional


James : Wiki : Book : Blog : Twitter
Previous Topic:question on ClassNotFoundException: org.eclipse.persistence.sdo.SDOResolvable
Next Topic:fetch multi-level relations
Goto Forum:

Current Time: Sat May 26 02:34:33 GMT 2018

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

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

Back to the top