git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now using connections managed by JPA instead of using JNDI mocking.
[utils]
/
test
/
enterprise
/
src
/
main
/
java
/
org
/
wamblee
/
support
/
persistence
/
DatabaseStarter.java
diff --git
a/test/enterprise/src/main/java/org/wamblee/support/persistence/DatabaseStarter.java
b/test/enterprise/src/main/java/org/wamblee/support/persistence/DatabaseStarter.java
index 5fdaa25aca3c781deed6d8afbeef07b26edf4485..45e964999476eab3697e453d15e2518991203759 100644
(file)
--- a/
test/enterprise/src/main/java/org/wamblee/support/persistence/DatabaseStarter.java
+++ b/
test/enterprise/src/main/java/org/wamblee/support/persistence/DatabaseStarter.java
@@
-37,10
+37,10
@@
public class DatabaseStarter {
* where the database class name must be the name of a concrete subclass of
* {@link Database}.
*
* where the database class name must be the name of a concrete subclass of
* {@link Database}.
*
- * @param args
+ * @param a
A
rgs
*/
*/
- public static void main(String[] args) throws Exception {
- String clazz = args[0];
+ public static void main(String[] a
A
rgs) throws Exception {
+ String clazz = a
A
rgs[0];
try {
new DatabaseStarter(Class.forName(clazz)).start();
} catch (Exception e) {
try {
new DatabaseStarter(Class.forName(clazz)).start();
} catch (Exception e) {