Having problems again. My packaged component is working fine except the
hibernate part.
I have my main app and a custom componet packaged into a jar. This component
has:
com.udc.mylib.entities
com.udc.mylib.pages
com.udc.mylib.services
...
When i load the packaged component, its displayed correctly into my main
application but when it comes into action and hibernate part should work, it
fails giving me an exception:
Unknown entity: com.udc.mylib.entities.Hello
(Obviously my entity is called "Hello" and its into com.udc.mylib.entities
package)
When i try to add the package with
public static void
contributeHibernateEntityPackageManager(Configuration<String> configuration)
{
configuration.add("com.udc.mylib.entities");
}
i get an error saying:
....Use of the same entity name twice: Hello
so i suppose it was correctly loaded but somehow, it cant be found.
Any advice?
Thx in advance
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-custom-component-hibernate-tp3254963p3255669.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]