Skip to content

Commit 62fda26

Browse files
committed
Adding more descriptive output statement
1 parent d2d2277 commit 62fda26

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

  • jpa/schema-gen-scripts/src/main/webapp

jpa/schema-gen-scripts/src/main/webapp/index.jsp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,18 @@
4646
<html>
4747
<head>
4848
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
49-
<title>JPA 2.1 Schema Generation</title>
49+
<title>JPA 2.1 Schema Generation (using scripts)</title>
5050
</head>
5151
<body>
52-
<h1>JPA 2.1 Schema Generation</h1>
52+
<h1>JPA 2.1 Schema Generation (using scripts)</h1>
5353

5454
<a href="${pageContext.request.contextPath}/TestServlet"/>List</a> employees.
5555

5656
<br><br>
5757
If you see this page, that means database tables are created
58-
using JPA 2.1 standard properties. Look for table name "EMPLOYEE_SCHEMA_GEN_SCRIPTS" in the
59-
database resource identified by "jdbc:derby://localhost:1527/sun-appserv-samples". If this application
60-
is deployed on GlassFish, then this is the default JavaDB database.
58+
using JPA 2.1 standard properties. Look for table name "Employee" in the
59+
default database configured for your application server. <br><br>
60+
WildFly8: in-memory database is used.<br>
61+
GlassFish4: connect to "jdbc:derby://localhost:1527/sun-appserv-samples"
6162
</body>
6263
</html>

0 commit comments

Comments
 (0)