standalone « Connection « JPA Q&A





1. datasource configuration in standalone app when using Hibernate    stackoverflow.com

I am wondering, where do we store database config in standalone app.The client is connected to database directly (I know it's not a good idea, but I am not allowed to ...

2. How to create datasource for standalone application using JPA    coderanch.com

Hi thank, I know this method, I just don't want users to modify persistence.xml directly. I plan to provide customized format ot properties file, so users can easily change database parameters when application is running their environment. I just wonder how to create data source Java programming just like Java web application server.

3. Connection pooling and standalone aplication login.    forum.hibernate.org

Hi All, I am using Hibernate for client-server Swing Desktop application, that connect's to MySQL database. I am using DBMS auth. for user login. With Apache Avalon framework I have a custom Service Manager, that ask's a user for a login before configuring the pool. And pool won't be configuren until user supply a valid login. Since I am using Hibernate ...

4. DataSource Configuration for Standalone application    forum.hibernate.org

Hi All, Im new to Hibernate.I have a doubt on using Datasource name in hibernate.cfg.xml. I have a standalone java application which uses hibernate configuration. I have been given only the datasource name configured in oc4j.I need to use that datasource name for connecting to database. So how can i configure my hibernate configuration file. Please help me out.. Thanks in ...