Hello, do you have idea how we can create associations to submodule. For example in our system we are using associations to User or FileUpload which are managed by smartclient-bt. Should I do it in Service/Repository/Access? Should we make some generic patter which will allow associations (not reverse) to submodule entity? I found one possibility. If I need entity from submodule I should inherit from it and use same table name as parent e.g.: AccountUser extends @User { databaseTable="USER" }
I know that I have to store all data in one database but we need more functional/service modularization than real independent application integration. Or should I somehow include (external) module with services without actual service generation in child project (reuse services/repositories/access from parent project)? Thanks Pavel On Tue, May 11, 2010 at 7:56 AM, Patrik Nordwall <patrik.nordw...@gmail.com> wrote: > > > > PaloT wrote: >> >> Normally I don't do >> it but if I will define relation from Entity managed by one >> EntityManager to Entity which is managed by another EntityManager will >> it work? >> >> Pavel >> > > That's not a good idea and I don't think it will work. I think we can add an > constraint on that, if not already done. Persistence unit can be defined on > module level so it is easy to check. > > /Patrik > > -- > View this message in context: > http://old.nabble.com/Reusing-BT-projects-tp28510832s17564p28520589.html > Sent from the Fornax-Platform mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Fornax-developer mailing list > Fornax-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fornax-developer > ------------------------------------------------------------------------------ _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer