Author: dan.j.allen
Date: 2010-08-20 17:10:27 -0400 (Fri, 20 Aug 2010)
New Revision: 6999
Modified:
archetypes/javaee6-webapp/trunk/src/main/resources/import.sql
Log:
switch to portable seed data importer
Modified: archetypes/javaee6-webapp/trunk/src/main/resources/import.sql
===================================================================
--- archetypes/javaee6-webapp/trunk/src/main/resources/import.sql 2010-08-20 21:10:11 UTC
(rev 6998)
+++ archetypes/javaee6-webapp/trunk/src/main/resources/import.sql 2010-08-20 21:10:27 UTC
(rev 6999)
@@ -1 +1,2 @@
-insert into Member (name, email, phone_number) values ('John Smith',
'john(a)mailinator.com', '2125551212')
+-- If you are using Hibernate as the JPA provider, you can use this file to load seed
data into the database using SQL statements
+-- The portable approach is to use a startup component (such as the @PostConstruct method
of a @Startup @Singleton)
\ No newline at end of file
Show replies by date