[jboss-user] [JBoss Tools] - Hibernate Tools ignoring reverse engineering package=".." in table-filter

Ravindar Reddy do-not-reply at jboss.com
Thu May 9 13:20:15 EDT 2013


Ravindar Reddy [https://community.jboss.org/people/rroopreddy] created the discussion

"Hibernate Tools ignoring reverse engineering package=".." in table-filter"

To view the discussion, visit: https://community.jboss.org/message/817044#817044

--------------------------------------------------------------
Working with Eclipse with Tools version 3.6.0.Final-v20130327
With MySQL 5.6.x version with InnoDB dialect

My file looks like the following

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-reverse-engineering PUBLIC "-//Hibernate/Hibernate Reverse Engineering DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" >


  <!--  These are from entity.common included to generate proper reference package name  -->
  <table-filter match-catalog="entity" match-name="status_code" package="entity.common" />

 <!--  These are from entity.person included to generate proper reference package name  -->
  <table-filter match-catalog="entity" match-name="person" package="entity.person" />

</hibernate-reverse-engineering>

I left the default package in GUI empty as I have the "package" specified for each table-filter. Code for the above two files are generated into "default" package and not into respective "entity.common", "entity.person". If I specify the default package in GUI then both classes are generated into that package.

Somehow the package specified in reverse engineering file is ignored
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/817044#817044]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130509/c3c3b327/attachment.html 


More information about the jboss-user mailing list