|
From: <leg...@at...> - 2003-08-08 08:24:14
|
Message:
The following issue has been closed.
Resolver: Gavin King
Date: Fri, 8 Aug 2003 3:23 AM
I fixed this a while ago.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-84
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-84
Summary: Add debug/info log message to net.sf.hibernate.cfg.Configuration
Type: Improvement
Status: Closed
Priority: Minor
Resolution: FIXED
Project: Hibernate2
Fix Fors:
2.0.2
Versions:
2.0rc2
Assignee:
Reporter: Mike Panzitta
Created: Sat, 17 May 2003 3:52 PM
Updated: Fri, 8 Aug 2003 3:23 AM
Description:
Please add a log.info or similar message in the secondPassCompile() method to improve isolating problems with .hbm.cfg files. For example:
------------excerpt from Configuration.java ----------
private void secondPassCompile() throws MappingException {
...
iter = getTableMappings();
while ( iter.hasNext() ) {
Table table = (Table) iter.next();
log.info("Running second pass on table: " + table.getName());
Iterator subIter = table.getForeignKeyIterator();
while ( subIter.hasNext() ) {
ForeignKey fk = (ForeignKey) subIter.next();
log.info("-- Resolving foreign key: " + fk.getName());
...
---------------------------
With a lot of classes, it is difficult to figure out in which .hbm.cfg file a problem is occurring.
Thanks in advance,
-Mike
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|