I 've used eclipse to generate entites from table.
So I followed the wizards, customized (Mapping int to Integer, relationships, ...) and my entites are ok.
But now i've switching from ubuntu to windows and imported project to my new workspace
(i've seen a file named "org.eclipse.jpt.entitygen.mysql_cash.cash" in my .setting directory of the project --> i was thinking that the file contains description of my custom choices of the wizard but it isn't).
So. How can i get my customed choices again ? (the name of datasource is the same).
The file in your .settings directory is indeed the file that should store these customizations in the wizard. Is the file empty? It unfortunately isn't editable, but you should be able to see some of the settings in plain text.
I would think the use case you described should work find, so something must have gotten askew along the way, or we have a bug.
I was able to reproduce with similar behavior.
Can you try this workaround:
- after you import the project on Windows, launch the wizard,
- click the connect to database button to load the list of tables
- If you don't see the table pre-selected in the list, close the Wizard and start it again. Does the previous customization gets populated?