Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Refreshing of Persistence Properties
Refreshing of Persistence Properties [message #433930] Tue, 25 April 2006 20:06 Go to next message
Kevin Sutter is currently offline Kevin SutterFriend
Messages: 106
Registered: July 2009
Senior Member
I thought I had seen this problem described somewhere, but now I can't
find it...

I'm having a problem with the Persistence Properties panel getting updated
when the database gets updated. For example, if I add a new table to my
database, or I drop and add a new schema for a table already in use, I
can't seem to refresh the Persistence Properties to represent the new
state. In the past, I think I was able to refresh this information by
"adding persistence" to the project. But, now that this has moved to the
Project->Properties panel, I can't seem to refresh it. My only workaround
at this point is to stop and re-start Eclipse.

Here's a simple scenario...

1. Fire up Eclipse
2. Show Persistence Perspective
3. Either external to Eclipse or using the Database Explorer, create a
new table called Table1.
4. Go to an Entity definition for any of your classes.
5. Select the Table pulldown. Your new table (Table1) will not be
selectable.

I've tried several options of attempting to get this list refreshed while
keeping Eclipse running and I can't find the magic sequence. If I stop
and re-start Eclipse, the table will appear.

I've had the same problem with new/updated columns for an existing table.

Thanks,
Kevin
Re: Refreshing of Persistence Properties [message #433936 is a reply to message #433930] Tue, 25 April 2006 21:24 Go to previous messageGo to next message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Kevin,

Please enter a bug for this problem. We are not listening to the RDB model
appropriately (not that we're sure of what is appropriate there :-)) to
handle these updates. I can't think of another workaround right now, but
if I do I'll update the bug with it.

thanks,
Karen
Re: Refreshing of Persistence Properties [message #433940 is a reply to message #433936] Wed, 26 April 2006 13:41 Go to previous messageGo to next message
Kevin Sutter is currently offline Kevin SutterFriend
Messages: 106
Registered: July 2009
Senior Member
Karen wrote:

> Kevin,

> Please enter a bug for this problem. We are not listening to the RDB model
> appropriately (not that we're sure of what is appropriate there :-)) to
> handle these updates. I can't think of another workaround right now, but
> if I do I'll update the bug with it.

> thanks,
> Karen

Thanks, Karen. Bug report 138624 was just opened for this problem.
Re: Refreshing of Persistence Properties [message #433941 is a reply to message #433940] Wed, 26 April 2006 13:55 Go to previous messageGo to next message
Neil Hauge is currently offline Neil HaugeFriend
Messages: 475
Registered: July 2009
Senior Member
Kevin,

I believe the workaround for this is to disconnect from the database in
the explorer and reconnect. This should bring everything in synch if I
remember correctly.

Neil
Re: Refreshing of Persistence Properties [message #433943 is a reply to message #433941] Wed, 26 April 2006 14:34 Go to previous message
Kevin Sutter is currently offline Kevin SutterFriend
Messages: 106
Registered: July 2009
Senior Member
Neil,
Nope, that doesn't do it either. I tried that already. I've tried
disconnecting and re-connecting to the database, closing and re-opening of
files, closing and re-opening of projects, and several combinations of
these actions. Every great once in a while, I seem to get lucky and can
find the new table definitions. But, then when I try to reproduce the
scenarion, no luck... :-)

I also have noticed old tables that no longer exist in my database show up
in the list of available tables. Even after I restart Eclipse... Not
sure if this related to the same problem or not.

Thanks,
Kevin


Neil Hauge wrote:

> Kevin,

> I believe the workaround for this is to disconnect from the database in
> the explorer and reconnect. This should bring everything in synch if I
> remember correctly.

> Neil
Re: Refreshing of Persistence Properties [message #584902 is a reply to message #433930] Tue, 25 April 2006 21:24 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Kevin,

Please enter a bug for this problem. We are not listening to the RDB model
appropriately (not that we're sure of what is appropriate there :-)) to
handle these updates. I can't think of another workaround right now, but
if I do I'll update the bug with it.

thanks,
Karen
Re: Refreshing of Persistence Properties [message #584951 is a reply to message #433936] Wed, 26 April 2006 13:41 Go to previous message
Kevin Sutter is currently offline Kevin SutterFriend
Messages: 106
Registered: July 2009
Senior Member
Karen wrote:

> Kevin,

> Please enter a bug for this problem. We are not listening to the RDB model
> appropriately (not that we're sure of what is appropriate there :-)) to
> handle these updates. I can't think of another workaround right now, but
> if I do I'll update the bug with it.

> thanks,
> Karen

Thanks, Karen. Bug report 138624 was just opened for this problem.
Re: Refreshing of Persistence Properties [message #584960 is a reply to message #433940] Wed, 26 April 2006 13:55 Go to previous message
Neil Hauge is currently offline Neil HaugeFriend
Messages: 475
Registered: July 2009
Senior Member
Kevin,

I believe the workaround for this is to disconnect from the database in
the explorer and reconnect. This should bring everything in synch if I
remember correctly.

Neil
Re: Refreshing of Persistence Properties [message #584983 is a reply to message #433941] Wed, 26 April 2006 14:34 Go to previous message
Kevin Sutter is currently offline Kevin SutterFriend
Messages: 106
Registered: July 2009
Senior Member
Neil,
Nope, that doesn't do it either. I tried that already. I've tried
disconnecting and re-connecting to the database, closing and re-opening of
files, closing and re-opening of projects, and several combinations of
these actions. Every great once in a while, I seem to get lucky and can
find the new table definitions. But, then when I try to reproduce the
scenarion, no luck... :-)

I also have noticed old tables that no longer exist in my database show up
in the list of available tables. Even after I restart Eclipse... Not
sure if this related to the same problem or not.

Thanks,
Kevin


Neil Hauge wrote:

> Kevin,

> I believe the workaround for this is to disconnect from the database in
> the explorer and reconnect. This should bring everything in synch if I
> remember correctly.

> Neil
Previous Topic:Online help and user guide
Next Topic:DDL Generation observations
Goto Forum:
  


Current Time: Tue Apr 23 09:07:46 GMT 2024

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

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

Back to the top