You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
F<EFBFBD>r att skapa connection poolen och resursen jdbc/school,
|
|
|
|
|
k<EFBFBD>r f<>ljande kommando i asadmin
|
|
|
|
|
(OBS: ni m<>ste eventuellt anpassa l<>senordet...)
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(Om DB inte igång, skriv: "start-domain" kommando tolken)
|
|
|
|
|
|
|
|
|
|
create-jdbc-connection-pool --datasourceclassname org.postgresql.ds.PGSimpleDataSource --restype javax.sql.XADataSource --property portNumber=5432:password=LexiconJava:user=postgres:serverName=localhost:databaseName=school jpa_school_postgresql_pool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create-jdbc-resource --connectionpoolid jpa_school_postgresql_pool jdbc/school
|
|
|
|
|
|
|
|
|
|
stop-domain
|