NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

problems in creating new cmp entity bean from database

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
beanryu



Joined: 23 Sep 2010
Posts: 1

PostPosted: Thu Sep 23, 2010 7:59 am    Post subject: problems in creating new cmp entity bean from database Reply with quote

when I do new CMP bean from database at step 2, it asks me for data source, I select TestDB, which is a network derby server. Then netbeans will pop up the "new database connection" window with all the fields of TestDB filled out, I click ok, then it asks for to "select schema" and I select "app" and click ok, and it saids "error, unable to add connection, connection already exists". Then I click okay which closes the error popup and press cancel that closes the "new database connection" window and now the tables in TestDB are shown in the available tables section. Is this whole thing a bug or did I do something wrong becaues the whole "new database connection" thing seems that it shouldn't be there when I select a data source that I've already added to netbeans. But everytime I click on TestDB for data source, the same thing happens.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo