ds.getDriverProperties().put( "URL", "jdbc:h2:mem:mydb" );
ds.init();
Bitronix还提供简单的嵌入式JNDI服务,非常适合测试。要使用它,请将jndi.properties文件添加到META-INF文件夹并向其添加以下行:
JNDI属性
KIE即Knowledge Is EveryThing的缩写(158):http://www.chuibin.com/fanwen/lunwen_61915.html