Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Load Codes Problem(Load Codes Problem)
Load Codes Problem [message #1006247] Wed, 30 January 2013 14:59 Go to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member

I am working against multiple databases. After the login of the user I show the user a selection dialog and only then I know what databases to use.

1: The codes load before the selection dialog has opened, can I change this?

2: I have to load codes from the database. Are these codes loaded per user session or per server session. If per server session I have a problem because the codes are functionally the same over the databases, but generated primary keys can be different.

Regards Bertin

Re: Load Codes Problem [message #1006248 is a reply to message #1006247] Wed, 30 January 2013 15:13 Go to previous messageGo to next message
Arthur vD is currently offline Arthur vDFriend
Messages: 52
Registered: March 2010
Hi Bertin. Codes are meant for all users and are usually used for some sort of master data. There are also some caching mechanisms easing the load on the server. CodeTypes can be partitioned by partitionId, this is usually employed in companies with different divisions where each division has its own needs regarding master data. Probably you can use that mechanism to partition your codes per user, but I'm not sure whether it's easily possible to load them from different databases on a per partition base.
Re: Load Codes Problem [message #1006315 is a reply to message #1006248] Wed, 30 January 2013 19:25 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1250
Registered: October 2011
Senior Member
In my opinion, it seems to me that you are looking for LookupCall instead of CodeType.

CodeType are very static.

I think that with a specific LookupCall you will get the flexibility you want.
Previous Topic:File Chooser and Upload for RAP UI
Next Topic:How to switch outlines with SWT
Goto Forum:

Current Time: Fri May 25 16:31:26 GMT 2018

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

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

Back to the top