<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:admin="http://webns.net/mvcb/"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
		
	<channel>
		<title>Hibernate Community - Forums > Tools</title>
		<link>https://forum.hibernate.org/index.php</link>
	<!--<atom:link href="https://forum.hibernate.org/index.php" rel="alternate" type="application/rss+xml" />-->
		<description>Hibernate Community Forums</description>
		<language>en-gb</language>
		<copyright>Copyright (c) 2003 Hibernate Community</copyright>
		<managingEditor>webmaster@hibernate.org (Hibernate Community)</managingEditor>
		<webMaster>webmaster@hibernate.org (Hibernate Community)</webMaster>
		<pubDate>Tue, 14 Jul 2020 00:00:00 -0500</pubDate>
		<lastBuildDate>Tue, 14 Jul 2020 08:23:50 -0500</lastBuildDate>
		<generator>MSSTI RSS Feed 2.0 Version 1.0.9 - (C) 2008-2009 leviatan21 - http://www.mssti.com/</generator>

		<image>
			<title>Hibernate Community - Forums > Tools</title>
			<url>https://forum.hibernate.org/styles/hibernate/imageset/site_logo.gif</url>
			<link>https://forum.hibernate.org/index.php</link>
		</image>
		<ttl>60</ttl>
		
			<item>
			<title>Tools | Re: Using Autofetch (Hibernate 3.1 tool) with newer versions</title>
			<link>https://forum.hibernate.org/viewtopic.php?p=2494341#p2494341</link>
				<description><![CDATA[Sure thing. By the way, when you have the article, please write a new entry on our new forum:<br /><br /><a class="postlink" href="https://discourse.hibernate.org/">https://discourse.hibernate.org/</a><br /><br />We are going to lock this one, as stated in the big banner above.<hr />]]></description>
					<content:encoded><![CDATA[Sure thing. By the way, when you have the article, please write a new entry on our new forum:<br /><br /><a class="postlink" href="https://discourse.hibernate.org/">https://discourse.hibernate.org/</a><br /><br />We are going to lock this one, as stated in the big banner above.]]></content:encoded>
		<guid isPermaLink="false">https://forum.hibernate.org/viewtopic.php?p=2494341#p2494341</guid>		</item>
			<item>
			<title>Tools | Re: Hooking into entity enhancement</title>
			<link>https://forum.hibernate.org/viewtopic.php?p=2494234#p2494234</link>
				<description><![CDATA[I don't think you can inject code using the Hibernate Enhancer. Maybe you need to customize the Enhancer.<hr />]]></description>
					<content:encoded><![CDATA[I don't think you can inject code using the Hibernate Enhancer. Maybe you need to customize the Enhancer.]]></content:encoded>
		<guid isPermaLink="false">https://forum.hibernate.org/viewtopic.php?p=2494234#p2494234</guid>		</item>
			<item>
			<title>Tools | Re: Compatiablity of Hibernate 4.0 with JBoss EAP 7.1.0</title>
			<link>https://forum.hibernate.org/viewtopic.php?p=2494189#p2494189</link>
				<description><![CDATA[There are changes that you need to consider. Check out the <a href="https://developer.jboss.org/wiki/HibernateCoreMigrationGuide40" class="postlink">4.0 migration guide</a>.<hr />]]></description>
					<content:encoded><![CDATA[There are changes that you need to consider. Check out the <a href="https://developer.jboss.org/wiki/HibernateCoreMigrationGuide40" class="postlink">4.0 migration guide</a>.]]></content:encoded>
		<guid isPermaLink="false">https://forum.hibernate.org/viewtopic.php?p=2494189#p2494189</guid>		</item>
			<item>
			<title>Tools | Re: Hibernate Tools Maven Plugin</title>
			<link>https://forum.hibernate.org/viewtopic.php?p=2494152#p2494152</link>
				<description><![CDATA[I think it's a better idea to simply provide a Pull Request to the official GitHub repository for Hibernate Tools:<br /><br /><a class="postlink" href="https://github.com/hibernate/hibernate-tools">https://github.com/hibernate/hibernate-tools</a><br /><br />And attach the PR to the issue on Jira.<hr />]]></description>
					<content:encoded><![CDATA[I think it's a better idea to simply provide a Pull Request to the official GitHub repository for Hibernate Tools:<br /><br /><a class="postlink" href="https://github.com/hibernate/hibernate-tools">https://github.com/hibernate/hibernate-tools</a><br /><br />And attach the PR to the issue on Jira.]]></content:encoded>
		<guid isPermaLink="false">https://forum.hibernate.org/viewtopic.php?p=2494152#p2494152</guid>		</item>
			<item>
			<title>Tools | Re: hbm2dll fails to generates schema.dll ArrayIndexOutOfBounds</title>
			<link>https://forum.hibernate.org/viewtopic.php?p=2494005#p2494005</link>
				<description><![CDATA[  I'm still debugging to the point when it fails but from the code it is visible that in ANSIJoinFragment.addJoinmethod<br />String[]  lhsColumns is not emtpy butString[]  rhsColumns is. There is no check for the array non emptiness for rhsColumns. My question is why it couldn't find the columns being joined to?<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">&nbsp; <br />/**<br />&nbsp; &nbsp; * Adds a join, represented by the given information, to the fragment.<br />&nbsp; &nbsp; *<br />&nbsp; &nbsp; * @param rhsTableName The name of the table being joined (the RHS table).<br />&nbsp; &nbsp; * @param rhsAlias The alias applied</div><br />...<hr />]]></description>
					<content:encoded><![CDATA[  I'm still debugging to the point when it fails but from the code it is visible that in ANSIJoinFragment.addJoinmethod<br />String[]  lhsColumns is not emtpy butString[]  rhsColumns is. There is no check for the array non emptiness for rhsColumns. My question is why it couldn't find the columns being joined to?<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">&nbsp; <br />/**<br />&nbsp; &nbsp; * Adds a join, represented by the given information, to the fragment.<br />&nbsp; &nbsp; *<br />&nbsp; &nbsp; * @param rhsTableName The name of the table being joined (the RHS table).<br />&nbsp; &nbsp; * @param rhsAlias The alias applied</div><br />...]]></content:encoded>
		<guid isPermaLink="false">https://forum.hibernate.org/viewtopic.php?p=2494005#p2494005</guid>		</item>
			<item>
			<title>Tools | Ant task now appends to current file</title>
			<link>https://forum.hibernate.org/viewtopic.php?p=2491759#p2491759</link>
				<description><![CDATA[  I've been using the ant task to generate a schema.sql file for years.<br />I recently upgraded from Hibernate 4 to 5 to find that now the task always appends to any existing file.<br />I traced the behavior to the org.hibernate.tool.schema.internal.exec.ScriptTargetOutputToFile class:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">&nbsp; <br />&nbsp; &nbsp;@SuppressWarnings(&quot;ResultOfMethodCallIgnored&quot;)<br />&nbsp; &nbsp;static Writer toFileWriter(File file) {<br />&nbsp; &nbsp;&nbsp; &nbsp;try {<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if ( ! file.exists() ) {<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;// best effort, since this is very likely not allowed in EE environments<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;log.debug(</div><br />...<hr />]]></description>
					<content:encoded><![CDATA[  I've been using the ant task to generate a schema.sql file for years.<br />I recently upgraded from Hibernate 4 to 5 to find that now the task always appends to any existing file.<br />I traced the behavior to the org.hibernate.tool.schema.internal.exec.ScriptTargetOutputToFile class:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">&nbsp; <br />&nbsp; &nbsp;@SuppressWarnings(&quot;ResultOfMethodCallIgnored&quot;)<br />&nbsp; &nbsp;static Writer toFileWriter(File file) {<br />&nbsp; &nbsp;&nbsp; &nbsp;try {<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if ( ! file.exists() ) {<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;// best effort, since this is very likely not allowed in EE environments<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;log.debug(</div><br />...]]></content:encoded>
		<guid isPermaLink="false">https://forum.hibernate.org/viewtopic.php?p=2491759#p2491759</guid>		</item>
			<item>
			<title>Tools | Re: FreeMarker instead of Velocity</title>
			<link>https://forum.hibernate.org/viewtopic.php?p=2491520#p2491520</link>
				<description><![CDATA[Kotlin instead of freemarker<br /><br /><a class="postlink" href="https://kotlinlang.org/">https://kotlinlang.org/</a><br /><br />--MG<hr />]]></description>
					<content:encoded><![CDATA[Kotlin instead of freemarker<br /><br /><a class="postlink" href="https://kotlinlang.org/">https://kotlinlang.org/</a><br /><br />--MG]]></content:encoded>
		<guid isPermaLink="false">https://forum.hibernate.org/viewtopic.php?p=2491520#p2491520</guid>		</item>
			<item>
			<title>Tools | Using Kotlin instead of freemarker for code generation</title>
			<link>https://forum.hibernate.org/viewtopic.php?p=2491519#p2491519</link>
				<description><![CDATA[Using Kotlin instead of freemarker for code generation.<br /><br />I think it would be nice to replace freemarker with Kotlin as a tool for code generation.<br />What do you think?<br /><br />Thanks,<br />--MG<hr />]]></description>
					<content:encoded><![CDATA[Using Kotlin instead of freemarker for code generation.<br /><br />I think it would be nice to replace freemarker with Kotlin as a tool for code generation.<br />What do you think?<br /><br />Thanks,<br />--MG]]></content:encoded>
		<guid isPermaLink="false">https://forum.hibernate.org/viewtopic.php?p=2491519#p2491519</guid>		</item>
			<item>
			<title>Tools | Creating a customized JDBCMetaDataDialect</title>
			<link>https://forum.hibernate.org/viewtopic.php?p=2491027#p2491027</link>
				<description><![CDATA[  I am working in Eclipse, using HibernateTools 4.0.0.<br /><br />I am trying to create a custom JDBCMetaDataDialect that extracts CHECK CONSTRAINTS info from a Firebird database.<br /><br />Two questions:<br /><br />1) Where do I set<span style="font-weight: bold">hibernatetool.metadatadialect</span>  so that I can use my custom class during the reverse engineering process?<br /><br />2) The code below will help me validate that things are setup properly before I begin making an customizations.<br /><br />It fails to run because of the following exception:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />11:38:03[main]  DEBUG org.jboss.logging:<br /></div><br />...<hr />]]></description>
					<content:encoded><![CDATA[  I am working in Eclipse, using HibernateTools 4.0.0.<br /><br />I am trying to create a custom JDBCMetaDataDialect that extracts CHECK CONSTRAINTS info from a Firebird database.<br /><br />Two questions:<br /><br />1) Where do I set<span style="font-weight: bold">hibernatetool.metadatadialect</span>  so that I can use my custom class during the reverse engineering process?<br /><br />2) The code below will help me validate that things are setup properly before I begin making an customizations.<br /><br />It fails to run because of the following exception:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />11:38:03[main]  DEBUG org.jboss.logging:<br /></div><br />...]]></content:encoded>
		<guid isPermaLink="false">https://forum.hibernate.org/viewtopic.php?p=2491027#p2491027</guid>		</item>
			<item>
			<title>Tools | Reverse Engineering MySQL not applying identity annotation</title>
			<link>https://forum.hibernate.org/viewtopic.php?p=2490857#p2490857</link>
				<description><![CDATA[  Java 1.8<br />Hibernate 5.2.4.Final<br />HibernateTools 5.2.0.CR1<br />MySQL-Connector 5.1.40<br />MySQL 5.6.25<br /><br />We are doing a simple reverse engineering.<br /><br />The ID column which is defined as NotNull AutoIncrement is being created at an int vs an Integer.  In addition it is missing the following annotation.  @GeneratedValue(strategy=IDENTITY)<br /><br />I have applied my own MetaDataDialect which is just a copy of the MySQLMetaDataDialect with additional debug to determine if AutoIncrement is seen.   I have applied this in the<br />...<hr />]]></description>
					<content:encoded><![CDATA[  Java 1.8<br />Hibernate 5.2.4.Final<br />HibernateTools 5.2.0.CR1<br />MySQL-Connector 5.1.40<br />MySQL 5.6.25<br /><br />We are doing a simple reverse engineering.<br /><br />The ID column which is defined as NotNull AutoIncrement is being created at an int vs an Integer.  In addition it is missing the following annotation.  @GeneratedValue(strategy=IDENTITY)<br /><br />I have applied my own MetaDataDialect which is just a copy of the MySQLMetaDataDialect with additional debug to determine if AutoIncrement is seen.   I have applied this in the<br />...]]></content:encoded>
		<guid isPermaLink="false">https://forum.hibernate.org/viewtopic.php?p=2490857#p2490857</guid>		</item>
	
	</channel>
</rss>