Skip to main content



      Home
Home » Eclipse Projects » Dali » JPA entites from tables
JPA entites from tables [message #890180] Thu, 21 June 2012 07:42 Go to next message
Eclipse UserFriend
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).

Thanksa
Re: JPA entites from tables [message #890299 is a reply to message #890180] Thu, 21 June 2012 15:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

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.

Neil
Re: JPA entites from tables [message #890317 is a reply to message #890299] Thu, 21 June 2012 18:11 Go to previous messageGo to next message
Eclipse UserFriend
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?

This is likely a bug we will need fix.


Re: JPA entites from tables [message #890419 is a reply to message #890317] Fri, 22 June 2012 05:12 Go to previous messageGo to next message
Eclipse UserFriend
Hi.
My file isn't empty. Do you want that i upload the file ?
Thanks.
Re: JPA entites from tables [message #890423 is a reply to message #890419] Fri, 22 June 2012 05:15 Go to previous messageGo to next message
Eclipse UserFriend
Reopen the wizard doesn't solve the problem....
Re: JPA entites from tables [message #890460 is a reply to message #890423] Fri, 22 June 2012 06:51 Go to previous messageGo to next message
Eclipse UserFriend
I join files. (mysql creation base + jpa custom file)
Re: JPA entites from tables [message #891615 is a reply to message #890460] Mon, 25 June 2012 07:07 Go to previous message
Eclipse UserFriend
I've found the problem. I fixed it renaming my connection database (from mysql/cash to mysql_cash).
Previous Topic:Setting level to warning for all validations
Next Topic:Dali 3.2 released as part of Eclipse Juno!
Goto Forum:
  


Current Time: Wed Jul 16 02:18:48 EDT 2025

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

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

Back to the top