Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Refreshing of Persistence Properties
Refreshing of Persistence Properties [message #584828] Tue, 25 April 2006 20:06
Kevin Sutter is currently offline Kevin SutterFriend
Messages: 104
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
Previous Topic:Online help and user guide
Next Topic:DDL Generation observations
Goto Forum:
  


Current Time: Sun Nov 23 06:00:17 GMT 2014

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

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