Bug 191720 - Unable to create JPA Project without a database connection when at least one available
Summary: Unable to create JPA Project without a database connection when at least one ...
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0 M7   Edit
Assignee: Pascal Filion CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed, PII
Depends on:
Blocks:
 
Reported: 2007-06-08 11:04 EDT by Shaun Smith CLA
Modified: 2008-10-21 16:38 EDT (History)
2 users (show)

See Also:


Attachments
Added <None> to the connection combo (28.43 KB, patch)
2008-04-10 08:24 EDT, Pascal Filion CLA
neil.hauge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Smith CLA 2007-06-08 11:04:42 EDT
When working "top down" and developing Entities without a database selecting any connection will result in numerous erroneous errors.  Obviously working top down there are no tables for your Entities and errors to that effect are just noise.  Once you are ready to generate DDL you should choose a connection.  Then validation of mappings against the data model make sense.

The fix is simple--provide a "<None>" choice for Connection in the JPA Project Wizard just like is available for JPA Implementation Library.
Comment 1 Neil Hauge CLA 2007-06-12 09:54:19 EDT
Workaround:  Errors do not occur if you don't log into the DB, which is a user directed action.  If logged in, logging out will remove the errors.

Post 1.0 change.
Comment 2 Neil Hauge CLA 2008-04-08 15:10:13 EDT
<None> option should be available, and should also be the default when creating a new project.
Comment 3 Pascal Filion CLA 2008-04-10 08:24:14 EDT
Created attachment 95508 [details]
Added <None> to the connection combo
Comment 4 Karen Butzke CLA 2008-04-14 10:11:19 EDT
Looks good, I've checked this patch in to HEAD
Comment 5 David Williams CLA 2008-04-24 00:49:13 EDT
mass change to add 'contributed' keyword based on bugzilla query, please
correct if that's not accurate (by marking patches as obsolete and removing the
'contributed' keyword. 
Comment 6 Neil Hauge CLA 2008-05-02 15:17:01 EDT
Verified in wtp-sdk-I-I20080501032258-20080501032258.zip