[hibernate-issues] [Hibernate-JIRA] Created: (HBX-780) table-filter exclude issue
jacky hua (JIRA)
noreply at atlassian.com
Tue Oct 17 22:23:24 EDT 2006
table-filter exclude issue
--------------------------
Key: HBX-780
URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-780
Project: Hibernate Tools
Type: Bug
Components: reverse-engineer
Versions: 3.2beta8
Environment: windows xp sp2, jdk 1.4.2, eclipse 3.1.2
Reporter: jacky hua
Attachments: hibernate.cfg.xml, hibernate.reveng.xml
I used ant task provided by hibernate-tools like the below:
<target name="default" description="generate hbm">
<delete dir="./generate"/>
<mkdir dir="./generate"/>
<hibernatetool destdir="./generate">
<jdbcconfiguration
configurationfile="./metadata/hibernate.cfg.xml"
revengfile="./metadata/hibernate.reveng.xml"
packagename="net.ema.examples.sa"
detectmanytomany="true"
detectoptimisticlock="true">
</jdbcconfiguration>
<hbm2hbmxml destdir="./generate" />
</hibernatetool>
</target>
In hibernate.reveng.xml, I defined a table-filter rule like the below:
<!-- include tables -->
<table-filter match-name="T_SA_*" exclude="false"/>
but if I added these lines, I would get none genreated hbm files, otherwise if I didn't add, it worked. And BTW in my database schema all tables's name was prfixed with "T_SA_".
I think this is a bug, am I right? anybody can help me?
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list