Package net.sf.jagzilla.hibernate

This package contains hibernate mapping classes to the bugzilla database.

See:
          Description

Interface Summary
XmlObject Interface that identifies a class that can be serialized as XML.
XmlObjectTest interface that defines mehtods that must implement test classes for object that implement the XmlObject interface.
 

Class Summary
AllTests  
AllXmlTests Test suit for xml related operations tests.
Attachment represents a record in the table attachments.
AttachmentTest test cases for Attachment.
AttachStatus represents a record in the table attachstatus.
AttachStatusDef represents a record in the table attachstatusdefs.
AttachStatusDefTest test cases for AttachStatusDef.
AttachStatusPrimaryKey represents the primary key for the class AttachStatus.
AttachStatusTest test cases for AttachStatus.
BaseTest  
Bug represents a record in the table bugs.
BugActivity represents a record in the table bugs_activity.
BugActivityPrimaryKey represents the primary key for the class BugActivity.
BugActivityTest test cases for BugActivity.
BugTest test cases for Bug.
Cc represents a record in the table cc.
CcPrimaryKey represents the primary key for the class Cc.
CcTest test cases for Cc.
Component represents a record in the table components.
ComponentPrimaryKey represents the primary key for the class Component.
ComponentTest test cases for Component.
Dependency represents a record in the table dependencies.
DependencyPrimaryKey represents the primary key for the class Dependency.
DependencyTest test cases for Dependency.
Duplicate represents a record in the table duplicates.
DuplicateTest test cases for Duplicate.
FieldDef represents a record in the table fielddefs.
FieldDefTest test cases for FieldDef.
Group represents a record in the table groups.
GroupTest test cases for Group.
Keyword represents a record in the table keywords.
KeywordDef represents a record in the table keyworddefs.
KeywordDefTest test cases for KeywordDef.
KeywordPrimaryKey represents the primary key for the class Keyword.
KeywordTest test cases for Keyword.
LoginCookie represents a record in the table logincookies.
LoginCookieTest test cases for LoginCookie.
LongDesc represents a record in the table longdescs.
LongDescPrimaryKey represents the primary key for the class LongDesc.
LongDescTest test cases for LongDesc.
Milestone represents a record in the table millestones.
MilestonePrimaryKey represents the primary key for the class Milestone.
MilestoneTest test cases for Milestone.
NamedQuery represents a record in the table namedqueries.
NamedQueryPrimaryKey represents the primary key for the class NamedQuery.
NamedQueryTest test cases for NamedQuery.
Product represents a record in the table products.
ProductTest test cases for Product.
Profile represents a record in the table profiles.
ProfileActivity represents a record in the table profiles_activity.
ProfileActivityPrimaryKey represents the primary key for the class ProfileActivity.
ProfileActivityTest test cases for ProfileActivity.
ProfileTest test cases for Profile.
ShadowLog represents a record in the table shadowlog.
ShadowLogTest test cases for ShadowLog.
Token represents a record in the table tokens.
TokenTest test cases for Token.
Version represents a record in the table versions.
VersionPrimaryKey represents the primary key for the class Version.
VersionTest test cases for Version.
Vote represents a record in the table votes.
VotePrimaryKey represents the primary key for the class Vote.
VoteTest test cases for Vote.
Watch represents a record in the table watch.
WatchPrimaryKey represents the primary key for the class Watch.
WatchTest test cases for Vote.
XmlAttachmentTest test cases for Attachment.
XmlAttachStatusDefTest test cases for AttachStatusDef.
XmlAttachStatusTest test cases for AttachStatus.
XmlBaseTest  
XmlBugActivityTest test cases for BugActivity.
XmlBugTest test cases for Bug.
XmlCcTest test cases for Cc.
XmlComponentTest test cases for Component.
XmlDependencyTest test cases for Dependency.
XmlDuplicateTest test cases for Duplicate.
XmlFieldDefTest test cases for FieldDef.
XmlGroupTest test cases for Group.
XmlKeywordDefTest test cases for KeywordDef.
XmlKeywordTest test cases for Keyword.
XmlLoginCookieTest test cases for LoginCookie.
XmlLongDescTest test cases for LongDesc.
XmlMilestoneTest test cases for Milestone.
XmlNamedQueryTest test cases for NamedQuery.
XmlObjectImpl  
XmlProductTest test cases for Product.
XmlProfileActivityTest test cases for ProfileActivity.
XmlProfileTest test cases for Profile.
XmlShadowLogTest test cases for ShadowLog.
XmlTokenTest test cases for Token.
XmlVersionTest test cases for Version.
XmlVoteTest test cases for Vote.
XmlWatchTest test cases for Vote.
 

Package net.sf.jagzilla.hibernate Description

This package contains hibernate mapping classes to the bugzilla database.

At this moment the database is used as is, without any modification. The preference for extending the system is to user hibernate inheritance capabilities to extend the database, and NOT modify the original database.

There are mainly three types of classes in this package:

  • Mapping classes (which represent records in different tables)
  • Primary key classes are needed to use compound primary keys with current versions of xdoclet and hibernate (notice that since I'm not an expert in hibernate, there may be better ways for doing this. Suggestions and patches are welcome).
  • Test classes for mapping classes.



    Distributed under the GPL. By Miguel Griffa. See the Jagzilla project page for more info.