-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from OsgiliathEnterprise/embeddedid
Add mapsid on composite keys
- Loading branch information
Showing
5 changed files
with
96 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,4 +83,49 @@ | |
</fileset> | ||
</replaceregexp> | ||
</target> | ||
|
||
|
||
<!-- I hope noone will have a composite key containing 5 foreign keys --> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,5 +81,51 @@ | |
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
|
||
|
||
<!-- I hope noone will have a composite key containing 5 foreign keys --> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
<replaceregexp flags="gm"> | ||
<regexp pattern="(@AttributeOverride\(name\s*=\s*"((?:(?!").)+)", .*name\s*=\s*"((?:(?!").)+)"(?:(?!^\s+@JoinColumn)[^£])*)(^\s*\@JoinColumn\(name\s*=\s*"\3)"/> | ||
<substitution expression="\[email protected]("\2") \4"/> | ||
<fileset dir="${maven.project.build.directory}"> | ||
<include name="**/*.java"/> | ||
</fileset> | ||
</replaceregexp> | ||
|
||
</target> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters