projects
/
hibernate4-maven-plugin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a2e08b
)
Plugin ignores upper- or lower-case mismatches for "type" and "target"
author
Kai Moritz
<kai@coolibri.de>
Fri, 14 Dec 2012 01:16:44 +0000
(
02:16
+0100)
committer
Kai Moritz
<kai@coolibri.de>
Tue, 15 Jan 2013 20:39:36 +0000
(21:39 +0100)
src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java
b/src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java
index
7a5e0af
..
a2306ac
100644
(file)
--- a/
src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java
+++ b/
src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java
@@
-479,7
+479,7
@@
public class Hbm2DdlMojo extends AbstractMojo
Target target = null;
try
{
- target = Target.valueOf(this.target);
+ target = Target.valueOf(this.target
.toUpperCase()
);
}
catch (IllegalArgumentException e)
{
@@
-490,7
+490,7
@@
public class Hbm2DdlMojo extends AbstractMojo
Type type = null;
try
{
- type = Type.valueOf(this.type);
+ type = Type.valueOf(this.type
.toUpperCase()
);
}
catch (IllegalArgumentException e)
{