-
1. Re: Problem with Seam Generate Entities. Changing data model.
danielc.roth Feb 15, 2008 10:46 AM (in response to pericles)Did you refresh the Eclipse project (right-click on project, refresh)? Not refreshing project after manually changing files in it ('outside eclipse') tends to make Eclipse unhappy.
After the refresh eclipse rebuilds the workspace, which uses quite a lot of CPU and memory (depending on size of the project) and might 'hang' eclipse for a while (or permanently) on slow machines with low memory.
I have managed to crash eclipse on a linux machine by accidentally changing files in the workspace such that the eclipse process had no permission to read them. (sudo seam-gen generate)
-
2. Re: Problem with Seam Generate Entities. Changing data model.
pericles Feb 15, 2008 11:18 AM (in response to pericles)Hi Daniel,
Yeah, I prove it. I refresh the project after apply Seam Generate Entities again and my project hanged another time, it was hanged since 5 minuts before I reboot Eclipse 3.3. When I generate entities in first time (then always work) the time of generation is 20 seconds approximately.
And my machines is not slow, it has 1 mounth of live, ;)Thanks for the reply Daniel.
-
3. Re: Problem with Seam Generate Entities. Changing data model.
pericles Feb 15, 2008 1:54 PM (in response to pericles)Well, the mistake was that in file project-ejb/ejbModule/META-INF/persistence.xml has to be defined the schema of de data base with this line:
<property name="hibernate.default_schema" value="mySchemaDBName"/>
Bye. -
4. Re: Problem with Seam Generate Entities. Changing data model.
pericles Feb 27, 2008 3:42 PM (in response to pericles)¡LOL!
The line was this:
<property name="hibernate.default_schema" value="MYSCHEMANAME"/>
PS: I don't undersand why it forget to put the line.