Some validation errors appear on 3.4-SNAPSHOT
---------------------------------------------
Key: HIB-220
URL: http://jira.andromda.org/browse/HIB-220
Project: Hibernate Cartridge
Type: Bug
Environment: andromda 3.4-SNAPSHOT
Reporter: Benjamin Lerman
Assigned to: Carlos Cuenca
Priority: Critical
Attachments: hibernate-tests.xml
On the model I'll join, I have two validations errors. One about one-to-one
association that must have one side as primary, the second about the type of
generator that do not apply to string.
On the first case, I have one side of the association marked as primary with
stereotypes.
On the second, I have my Identify column marked with the Identify stereotype
with the andromda.persistence.assigned.identifier tagged value set to true.
This same model does not cause any validation error with andromda 3.3.
When I tried to check what is happening, at least for the first problem, it
seems that findTaggedValue(
HibernateProfile.TAGGEDVALUE_PERSISTENCE_ASSOCIATION_END_PRIMARY) in
handleIsOne2OnePrimary in
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEndLogicImpl
is returning null.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com