Vielen Dank für Ihre Email.
Ich bin erst wieder erreichbar ab dem 16.08.2010
In dringenden Fällen kontaktieren Sie bitte Fr. Dr. Steinbach
Email: steinbach(a)transdata.net
Fon: +49 5206 9106 0
Thanks a lot for your email.
I won't be reachable until August, 16th 2010.
If your matters are really urgent please contact Mrs. Dr. Steinbach
email: steinbach(a)transdata.net
phone: +49 5206 9106 0
===================================================================
Mit freundlichen Grüßen, Kind regards
Heiko Tappe
Vielen Dank für Ihre Email.
Ich bin erst wieder erreichbar ab dem 16.08.2010
In dringenden Fällen kontaktieren Sie bitte Fr. Dr. Steinbach
Email: steinbach(a)transdata.net
Fon: +49 5206 9106 0
Thanks a lot for your email.
I won't be reachable until August, 16th 2010.
If your matters are really urgent please contact Mrs. Dr. Steinbach
email: steinbach(a)transdata.net
phone: +49 5206 9106 0
===================================================================
Mit freundlichen Grüßen, Kind regards Heiko Tappe
Vielen Dank für Ihre Email.
Ich bin erst wieder erreichbar ab dem 16.08.2010
In dringenden Fällen kontaktieren Sie bitte Fr. Dr. Steinbach
Email: steinbach(a)transdata.net
Fon: +49 5206 9106 0
Thanks a lot for your email.
I won't be reachable until August, 16th 2010.
If your matters are really urgent please contact Mrs. Dr. Steinbach
email: steinbach(a)transdata.net
phone: +49 5206 9106 0
===================================================================
Mit freundlichen Grüßen, Kind regards Heiko Tappe
Vielen Dank für Ihre Email.
Ich bin erst wieder erreichbar ab dem 16.08.2010
In dringenden Fällen kontaktieren Sie bitte Fr. Dr. Steinbach
Email: steinbach(a)transdata.net
Fon: +49 5206 9106 0
Thanks a lot for your email.
I won't be reachable until August, 16th 2010.
If your matters are really urgent please contact Mrs. Dr. Steinbach
email: steinbach(a)transdata.net
phone: +49 5206 9106 0
===================================================================
Mit freundlichen Grüßen, Kind regards Heiko Tappe
Vielen Dank für Ihre Email.
Ich bin erst wieder erreichbar ab dem 16.08.2010
In dringenden Fällen kontaktieren Sie bitte Fr. Dr. Steinbach
Email: steinbach(a)transdata.net
Fon: +49 5206 9106 0
Thanks a lot for your email.
I won't be reachable until August, 16th 2010.
If your matters are really urgent please contact Mrs. Dr. Steinbach
email: steinbach(a)transdata.net
phone: +49 5206 9106 0
===================================================================
Mit freundlichen Grüßen, Kind regards Heiko Tappe
Vielen Dank für Ihre Email.
Ich bin erst wieder erreichbar ab dem 16.08.2010
In dringenden Fällen kontaktieren Sie bitte Fr. Dr. Steinbach
Email: steinbach(a)transdata.net
Fon: +49 5206 9106 0
Thanks a lot for your email.
I won't be reachable until August, 16th 2010.
If your matters are really urgent please contact Mrs. Dr. Steinbach
email: steinbach(a)transdata.net
phone: +49 5206 9106 0
===================================================================
Mit freundlichen Grüßen, Kind regards Heiko Tappe
Hi Kris. Thanks for the reply.
Indeed, it is supported in Hibernate! :) Below is a short snippet that
demonstrates using an alternate config file (or multiple config files). Also, a
SessionFactory factory can also be built by a set of properties, or
a Configuration object.
=============================
public static final SessionFactory stagingFactory = new
org.hibernate.cfg.Configuration()
.configure("hibernate.cfg.xml")
.configure("hibernate-bam.cfg.xml")
.configure("hibernate-drools.cfg.xml")
.buildSessionFactory();
=============================
or =============================
...
org.hibernate.cfg.Configuration hibernateConfig = new
org.hibernate.cfg.Configuration();
hibernateConfig.configure(getProperty("hibernate.configuration"));
hibernateConfig.setProperty("hibernate.connection.driver_class",
getProperty("hibernate.connection.driver_class"));
hibernateConfig.setProperty("hibernate.connection.url",
getProperty("hibernate.connection.url"));
hibernateConfig.setProperty("hibernate.connection.username",
getProperty("hibernate.connection.username"));
hibernateConfig.setProperty("hibernate.connection.password",
getProperty("hibernate.connection.password"));
hibernateConfig.setProperty("hibernate.c3p0.max_size",
getProperty("hibernate.c3p0.max_size"));
hibernateConfig.setProperty("hibernate.c3p0.min_size",
getProperty("hibernate.c3p0.min_size"));
hibernateConfig.setProperty("hibernate.c3p0.acquire_increment",
getProperty("hibernate.c3p0.acquire_increment"));
hibernateConfig.setProperty("hibernate.c3p0.timeout",
getProperty("hibernate.c3p0.timeout"));
hibernateConfig.setProperty("hibernate.c3p0.idle_test_period",
getProperty("hibernate.c3p0.idle_test_period"));
return hibernateConfig.buildSessionFactory();
=============================
or =============================
...
Properties myProperties = new Properties();
... //Set properties; one potentially being the *.cfg.xml file name
org.hibernate.cfg.Configuration hibernateConfig = new
org.hibernate.cfg.Configuration();
hibernateConfig.setProperties(myProperties);
return hibernateConfig.buildSessionFactory();
=============================
Thanks!
Paul
-- View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/History-Logging-tp985...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users