Hi,
is there a way of having a writeable JNDI context in Tomcat? I need one
to place dataSources in it, because I have a perfectly running
DataSourceFactory that is used in other applications as well, so I'd
prefer to use this one above everything else to avoid database
configurations in mul
Christopher Schultz schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jens,
On 11/19/2009 2:59 PM, Jens Greven wrote:
is there a way of having a writeable JNDI context in Tomcat? I need one
to place dataSources in it, because I have a perfectly running
DataSourceFactory that is used
Christopher Schultz schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jens,
On 11/19/2009 5:22 PM, Jens Greven wrote:
Christopher Schultz schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jens,
On 11/19/2009 2:59 PM, Jens Greven wrote:
is there a way of having a writeable JNDI
You can also use c3p0 with Tomcat JNDI, e. g.
description="DB Connection"
jdbcUrl="jdbc:mysql://server:3306/mysql?autoReconnect=true"
driverClass="com.mysql.jdbc.Driver"
user="root"
password="password"
}
public static void close() {
if (sessionFactory != null) {
sessionFactory.close();
}
sessionFactory = null;
}
}
dishmily schrieb:
is it possible to define SQL Dialects "org.hibernate.dialect.MySQLDialect" in
context.xml in Tomc