Re: Unable to compare Diagram with database

Postby dancj » Fri Nov 18, 2011 9:32 am

Where is that setting? I can't find it.
dancj
 
Posts: 21
Joined: Tue Oct 11, 2011 1:20 pm
 

Re: Unable to compare Diagram with database

Postby donose.mihai » Fri Nov 18, 2011 10:01 am

1. The setting for the memory is located on: C:\Program Files\DbSchema\DbSchema.bat (Edit with Notepad)
2. See the attached images
Attachments
c1.png
c1.png (155.58 KiB) Viewed 1305 times
c2.png
c2.png (161.28 KiB) Viewed 1305 times
c3.png
c3.png (163.35 KiB) Viewed 1305 times
donose.mihai
 
Posts: 354
Joined: Thu Apr 07, 2011 11:05 am
 

Re: Unable to compare Diagram with database

Postby dancj » Fri Nov 18, 2011 10:06 am

Thanks, but is there any way to get at those settings without creating a new project? When I create a new connection for an existing project I get the same connection dialogue box, but not the Database Objects one.
dancj
 
Posts: 21
Joined: Tue Oct 11, 2011 1:20 pm
 

Re: Unable to compare Diagram with database

Postby donose.mihai » Fri Nov 18, 2011 10:20 am

Please let me understand, so the project your working on it's offline?
It would be great if you can post some screenshots.
Attachments
c4.png
c4.png (35.51 KiB) Viewed 1304 times
donose.mihai
 
Posts: 354
Joined: Thu Apr 07, 2011 11:05 am
 

Re: Unable to compare Diagram with database

Postby dancj » Fri Nov 18, 2011 10:59 am

The project is online - created using the cops2 connection in the attached pic. I guess I didn't untick procedures when I originally created it and now I can't find a way to do so - but I've put hours of work into the layouts in this project and don't want to have to create a new project just to unselect procedures and packages.

I tried creating a new connnection (COPS2 in the pic), but that didn't help.
Attachments
Untitled.png
Untitled.png (36.95 KiB) Viewed 1304 times
dancj
 
Posts: 21
Joined: Tue Oct 11, 2011 1:20 pm
 

Re: Unable to compare Diagram with database

Postby roberto » Wed Nov 23, 2011 12:51 pm

You can do some tricks to fullfill your target:
1. the project file is an XML. You can reimport the schema in a new project file and copy over the layouts from one XML in the other. During the import get rid of the outofmemory exception by not importing the procedures.
2. If you select all / some tables in the layout or tree you have a option 'Refresh' which should do the synchronization only for the selected tables. Usually the synchronization would import again all tables, which will lead to out of memory problems. But doing so you will again not import all objects.

Hope this will help,
Roberto Luca
roberto
 
Posts: 2
Joined: Thu Jun 30, 2011 7:59 am
 

Re: Unable to compare Diagram with database

Postby dancj » Wed Nov 23, 2011 3:20 pm

Thanks.

The XML editing method works to update the file (losing the virtual foreign keys though - sadly). Unfortunately if I then try to compare this new file it looks at all of the procedures and gets a memory leak again, so as it stands I'd need to do this every time I refresh the file.

This will tide me over until the new version is released though.

Thanks again.

Dan
dancj
 
Posts: 21
Joined: Tue Oct 11, 2011 1:20 pm
 

Re: Unable to compare Diagram with database

Postby donose.mihai » Thu Dec 08, 2011 8:52 am

Hi Dan,

Can you please let us know if in the latest version your issue has been fixed?

Thanks
donose.mihai
 
Posts: 354
Joined: Thu Apr 07, 2011 11:05 am
 

Re: Unable to compare Diagram with database

Postby dancj » Thu Dec 08, 2011 11:04 am

It's not giving the error any more - and it's going much faster.

Unfortunately it claims there are no differences even though I just added a column to a table.
dancj
 
Posts: 21
Joined: Tue Oct 11, 2011 1:20 pm
 

Re: Unable to compare Diagram with database

Postby donose.mihai » Thu Dec 08, 2011 2:49 pm

Did you edit the schema mapping?

From the menu:

Databases -> Edit Schema mapping
Attachments
2011-12-08_164732.png
2011-12-08_164732.png (24.94 KiB) Viewed 1243 times
donose.mihai
 
Posts: 354
Joined: Thu Apr 07, 2011 11:05 am
 
PreviousNext

Return to DbSchema Issues