This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 171392 - [68cat] HibernateUtil.java gets generated without Hibernate library references
Summary: [68cat] HibernateUtil.java gets generated without Hibernate library references
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 11:59 UTC by tusharvjoshi
Modified: 2016-07-07 08:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tusharvjoshi 2009-09-03 11:59:49 UTC
[ BUILD # : 200909011401 ]
[ JDK VERSION : 1.6.* ]

Steps to reproduce the issue:

1) Make sure Hibernate plugin is activated
2) Create a new Java application
3) From File > New > Hibernate > choose HibernateUtils
4) Click finish and HibernateUtil.java gets added to the project
5) Shows error marks as Hibernate Library doesn't get added with
HibernateUtil.java
6) Even if you try to add the Hibernate library from Add Library
option Hibernate Library is not shown in the Libraries list.

Expected Result:

While adding HibernateUtils.java to a Java project which doesn't have
Hibernate library referenced yet, the library shall get added
automatically OR the option shall not create the HibernateUtils.java
file asking to add Hibernate first

with regards
Tushar Joshi, Nagpur

Product Version: NetBeans IDE Dev (Build 200909011401)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02-83
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US
(nb)
Userdir: /Users/tusharjoshi/.netbeans/dev
Comment 1 Martin Janicek 2011-10-21 09:24:16 UTC
Reassigning to Persistence component.
Comment 2 Martin Balin 2016-07-07 08:56:09 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss