Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Connection string not excepted by Scout
Connection string not excepted by Scout [message #756076] Thu, 10 November 2011 19:26 Go to next message
Bertin Kiekebosch is currently offline Bertin Kiekebosch
Messages: 303
Registered: August 2011
Senior Member
Hi,

to make a connection with my MS SQLServer database I have to enter the following JDBCMappingName

@Override
protected String getConfiguredJdbcMappingName() {
return "jdbc:sqlserver://localhost:1433;databaseName=MY_DATABASE";
}

If I open the Scout Object Properties Editor on the SQLService I get an error in this editor "Unaccepted value"

It won't accept the semicolon ";" between the port number and the databaseName.

I am doing this in a wrong way or is the a bug.

Tried to use the database properties field for this but without succes.

Regards Bertin
Re: Connection string not excepted by Scout [message #756137 is a reply to message #756076] Fri, 11 November 2011 08:11 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 702
Registered: October 2011
Senior Member
This might be a Scout SDK error (in Scout Properties View for SQL services) -> please file a bug.

I assume your application works with this mapping name.

In case of a "conflict" between your code and the Scout Tools (Scout Properties View in this case), your code win. This "Unaccepted value" just indicates that scout SDK could not interpret your code to represent it in the view.
Re: Connection string not excepted by Scout [message #756145 is a reply to message #756137] Fri, 11 November 2011 08:49 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin Kiekebosch
Messages: 303
Registered: August 2011
Senior Member
Bug is filed
Re: Connection string not excepted by Scout [message #756155 is a reply to message #756145] Fri, 11 November 2011 09:56 Go to previous message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 702
Registered: October 2011
Senior Member
@bertin
Thank you.
For traceability: add a link of the bug in the forum and vice versa. (When the bug is opened, discussion should take place in bugzilla, but it is not always the case)

https://bugs.eclipse.org/bugs/show_bug.cgi?id=363560
Previous Topic:*.product and config.ini files
Next Topic:User specific session data form
Goto Forum:
  


Current Time: Sat Sep 20 18:08:43 GMT 2014

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

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