{"action":"opened","issue":{"url":"https://api.github.com/repos/payara/Payara/issues/1074","repository_url":"https://api.github.com/repos/payara/Payara","labels_url":"https://api.github.com/repos/payara/Payara/issues/1074/labels{/name}","comments_url":"https://api.github.com/repos/payara/Payara/issues/1074/comments","events_url":"https://api.github.com/repos/payara/Payara/issues/1074/events","html_url":"https://github.com/payara/Payara/issues/1074","id":174377869,"number":1074,"title":"Is it possible to configure deployment for doesn't process each persistence unit?","user":{"login":"edilmar","id":428673,"avatar_url":"https://avatars.githubusercontent.com/u/428673?v=3","gravatar_id":"","url":"https://api.github.com/users/edilmar","html_url":"https://github.com/edilmar","followers_url":"https://api.github.com/users/edilmar/followers","following_url":"https://api.github.com/users/edilmar/following{/other_user}","gists_url":"https://api.github.com/users/edilmar/gists{/gist_id}","starred_url":"https://api.github.com/users/edilmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edilmar/subscriptions","organizations_url":"https://api.github.com/users/edilmar/orgs","repos_url":"https://api.github.com/users/edilmar/repos","events_url":"https://api.github.com/users/edilmar/events{/privacy}","received_events_url":"https://api.github.com/users/edilmar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-31T21:01:51Z","updated_at":"2016-08-31T21:01:51Z","closed_at":null,"body":"I have an webapp in Payara 4.1.1.162 + JPA + Hibernate 4.3.\r\nMy webapp has more than 20 PUs, because it needs to look for data in many databases.\r\nBut these databases aren't neeeded at the same time, there are options in the menu that\r\nuse one or other database at this time. I would like to know if it is possible to configure\r\nPayara/JPA/Hibernate to doesn't do the initial check of databases at deploy time, leaving\r\nit for a time it will be needed at running time, on demand of first user interaction.\r\nInformações:   HHH000204: Processing PersistenceUnitInfo [\r\n\tname: myPU1\r\n\t...]\r\nInformações:   HHH000204: Processing PersistenceUnitInfo [\r\n\tname: myPU2\r\n\t...]\r\n etc\r\nThis part of deployment is the main processing time, then the webapp is deployed\r\nmore than 4 minutes. If I disable the majority of the PUs, leaving just one, the deployment\r\nis very fast."}}
{"actor":{"display_login":"edilmar"}}