NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Klavs
Joined: 26 Jan 2011 Posts: 12
|
Posted: Wed Apr 27, 2011 3:58 pm Post subject: Problem using multiple projects for a single program |
|
|
Hello
I was wondering can eneyone help me with this.
My problem is that I have several projects for my database program and one main project that binds these projects together and from which i can open these project but i seem to be unable to lunch these projects trought the main project (it dosen't connect to database for some reason).
Im using Toplink persistance model for tables and Hibarnate for adding new data. |
|
| Back to top |
|
 |
jyeary
Joined: 21 Oct 2008 Posts: 606 Location: Simpsonville, SC
|
Posted: Thu Apr 28, 2011 12:44 pm Post subject: Re: Problem using multiple projects for a single program |
|
|
Is there a specific error message, or more details you can provide? Your post is very general.
On Wed, Apr 27, 2011 at 11:58 AM, Klavs <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Hello
I was wondering can eneyone help me with this.
My problem is that I have several projects for my database program and one main project that binds these projects together and from which i can open these project but i seem to be unable to lunch these projects trought the main project (it dosen't connect to database for some reason).
Im using Toplink persistance model for tables and Hibarnate for adding new data.
|
--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
@jyeary
"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt |
|
| Back to top |
|
 |
Klavs
Joined: 26 Jan 2011 Posts: 12
|
Posted: Sat Apr 30, 2011 1:14 pm Post subject: |
|
|
The error im getting when im opening the jFrame with the table trought the main project:
Exception Description: Error compiling the query [SELECT p FROM Precesnoliktava p]. Unknown abstract schema type [Precesnoliktava]
The thing is when im runing the project (Precesnoliktava) which is for this table sepratly it works fine. And whats even more confusing is that before i could lunch this same project (Precesnoliktava) trought the main project without problems but I couldn't lunch a project (Bankas) for a different table, but i can lunch the project (Bankas) without eney issues. |
|
| Back to top |
|
 |
Klavs
Joined: 26 Jan 2011 Posts: 12
|
Posted: Tue May 03, 2011 1:48 pm Post subject: |
|
|
If eneyone else needs i found a fix:
I simply combined all the projects into a single project and that prety much fixed it. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|