Liferay 7 con db esternoLiferay 7 con db esternohttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=771154932024-03-29T05:11:40Z2024-03-29T05:11:40ZRE: Liferay 7 con db esternoDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=772065302016-08-01T00:37:17Z2016-08-01T00:37:17ZCheck the ext-spring.xml file where I redefine the liferayDataSource bean. Because of class loaders and the like, SB under LR7 can only hit the liferayDataSource for table access. To hit external databases, you have to redefine the liferayDataSource to point to your external database.<br /><br /><br /><br /><br />Come meet me at the <strong><a href="https://web.liferay.com/web/events2016/northamerica/home">LSNA!</a></strong>David H Nebinger2016-08-01T00:37:17ZRE: Liferay 7 con db esternoMassimo La Camerahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=771991792016-07-31T17:50:16Z2016-07-31T17:50:16ZHello David,<br />I tried your example, but does not work. I'm working on Eclipse and Liferay IDE 3.0.1 and Liferay 7 GA2. When I launch my portlet, the objects of access to the database, created with service builder, always try to connect to the default database. Any suggestions?Massimo La Camera2016-07-31T17:50:16ZRE: Liferay 7 con db esternoDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=771177232016-07-28T16:27:52Z2016-07-28T16:27:52ZHey, Mario, sorry for the english reply, but check out my blog post, it will help you use external databases: <a href="https://web.liferay.com/web/26526/blog/-/blogs/liferay-7-service-builder-and-external-databases">https://web.liferay.com/web/26526/blog/-/blogs/liferay-7-service-builder-and-external-databases</a><br /><br /><br /><br /><br /><br />Come meet me at the <strong><a href="https://web.liferay.com/web/events2016/northamerica/home">NAS!</a></strong>David H Nebinger2016-07-28T16:27:52ZLiferay 7 con db esternoMario Coccimigliohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=771154922016-07-28T15:58:33Z