Hi Patrik, I'm reusing smartclient-bt project as business tier project in other projects. I found that persistent unit generated in parent project contains entities also from smartclient-bt project. Only problem which I feel is that AccessFactory implementations have name of unit manager hard coded. e.g. from GuiDataSourceAccessFactoryImpl:
@PersistenceContext(unitName = "SmartlientGuiPartEntityManagerFactory") protected void setEntityManager(EntityManager entityManager) { this.entityManager = entityManager; } Can't we generate it without unitName? Do you know about any reason why we need unitName? Shouldn't we wave default EntityManager and avoid creating two EntityManagers? TNX Pavel ------------------------------------------------------------------------------ _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer