java Programming Glossary: hposg
Configure hibernate to connect to database via JNDI Datasource http://stackoverflow.com/questions/5303671/configure-hibernate-to-connect-to-database-via-jndi-datasource name hibernate.connection.url jdbc mysql localhost hposg characterEncoding UTF 8 property property name connection.username.. true property Mapping files mapping resource com hposg hibernate resources Player.hbm.xml mapping resource com hposg.. hibernate resources Player.hbm.xml mapping resource com hposg hibernate resources Game.hbm.xml ... session factory hibernate..
Getting org.hibernate.exception.JDBCConnectionException: could not execute query even through JNDI http://stackoverflow.com/questions/5340316/getting-org-hibernate-exception-jdbcconnectionexception-could-not-execute-query property name connection.datasource java comp env jdbc hposg property property name dialect org.hibernate.dialect.MySQLDialect.. I've put in META INF derictory Context Resource name jdbc hposg global jdbc hposg auth Container type javax.sql.DataSource username.. INF derictory Context Resource name jdbc hposg global jdbc hposg auth Container type javax.sql.DataSource username root password..
|