location",
> to ensure the proper function of container managed transactions (BTW, this
> also works much faster than using the normal "location"). I never used the
> "xa-location", i don't know where it may be usefull.
>
> Best regards,
>
> Jens Stut
an using the normal "location"). I never used the
"xa-location", i don't know where it may be usefull.
Best regards,
Jens Stutte
> -Ursprüngliche Nachricht-
> Von: Johan Fredriksson [mailto:[EMAIL PROTECTED]]
> Gesendet am: Mittwoch, 20. Juni 2001 13
This is how I always do
import java.sql.*;
public class DB {
private static javax.sql.DataSource ds = null;
//Initieringsblock
static {
String dbsource = "jdbc/MyPooledDS";
try
{
javax.naming.Context ctx = new javax.naming.InitialContext();
if (ctx == null) {
System.out