Questions Tagged With javahttps://answers.axonivy.com/tags/java/?type=rss&user=Michaelquestions tagged <span class="tag">java</span>enThu, 27 Oct 2016 08:34:12 -0400Can I add a Java Project reference instead of a libraryhttps://answers.axonivy.com/questions/2142/can-i-add-a-java-project-reference-instead-of-a-library<p>Hi</p> <p>Is it possible to add a Java Project as project reference to the Java Build Path? Adding a project as a library works fine. Adding a Project as Project reference results in a ClassNotFoundException. <img alt="alt text" src="http://answers.axonivy.com/upfiles/javabuildpath.png"></p> <p>I also tried to add it to the packaging structure but still have the ClassNotFoundException. <img alt="alt text" src="http://answers.axonivy.com/upfiles/DeploymentAssembly.png"></p>MichaelThu, 27 Oct 2016 08:34:12 -0400https://answers.axonivy.com/questions/2142/can-i-add-a-java-project-reference-instead-of-a-librarydesignerjavaUse of Connection Poolhttps://answers.axonivy.com/questions/1677/use-of-connection-pool<p>Hi</p> <p>Is it possible to use the connection pool from ivy in a Java class?</p> <p>I currently reading the database configuration with : <code> Ivy.wfCase().getApplication().findExternalDatabaseConfiguration("myDB") </code></p> <p>and open the configuration with: <code> ch.ivyteam.db.jdbc.DatabaseUtil.openConnection(dbConf) ch.ivyteam.db.jdbc.DatabaseUtil.DatabaseUtil.closeConnection(conn); </code></p> <p>With this approach it doesn't use the pooled connections like in an ivy database step.</p>MichaelThu, 10 Mar 2016 09:17:17 -0500https://answers.axonivy.com/questions/1677/use-of-connection-poolconfigurationjavapersistence