Issue Details (XML | Word | Printable)

Key: APF-875
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Matt Raible
Reporter: Matt Raible
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

AMP results in a FATAL ERROR when entity doesn't exist or doesn't have @Entity

Created: 06/Sep/07 04:28 AM   Updated: 15/Sep/07 12:29 PM   Resolved: 15/Sep/07 12:29 PM
Component/s: Tools - AMP
Affects Version/s: 2.0-RC1
Fix Version/s: 2.0 Final


2951 by  Matt Raible (3 files)
15/Sep/07 12:29 PM (34 months, 29 days ago)
APF-875: AMP now detects when an entity doesn't exist or when @Entity is missing.

WARNING: The entity check occurs in src/main/java + groupId + model. If your model objects are in a different directory, and they're mapped in hibernate.cfg.xml, you can use -Dentity.check=false to disable checking for an entity in the default package.
appfuse: trunk/plugins/appfuse-maven-plugin/src/test/java/org/appfuse/mojo/exporter/AppFuseGenerateCoreJPATest.java 2951 history download (+1 -0) diffs
appfuse: trunk/plugins/appfuse-maven-plugin/src/main/java/org/appfuse/mojo/exporter/AppFuseGeneratorMojo.java 2951 history download (+75 -24) diffs
appfuse: trunk/plugins/appfuse-maven-plugin/src/test/java/org/appfuse/mojo/exporter/AppFuseGenerateWebTest.java 2951 history download (+27 -0) diffs

Matt Raible added a comment - 15/Sep/07 12:29 PM
AMP now detects when an entity doesn't exist or when @Entity is missing.

WARNING: The entity check occurs in src/main/java + groupId + model. If your model objects are in a different directory, and they're mapped in hibernate.cfg.xml, you can use -Dentity.check=false to disable checking for an entity in the default package.

Matt Raible made changes - 15/Sep/07 12:29 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
2953 by  Matt Raible (1 file)
15/Sep/07 12:31 PM (34 months, 29 days ago)
APF-875: AMP now detects when an entity doesn't exist or when @Entity is missing.

WARNING: The entity check occurs in src/main/java + groupId + model. If your model objects are in a different directory, and they're mapped in hibernate.cfg.xml, you can use -Dentity.check=false to disable checking for an entity in the default package.
appfuse: trunk/plugins/appfuse-maven-plugin/src/test/java/annotationconfiguration/Dog.java 2953 history download (+28) new