[weld-commits] Weld SVN: r6999 - archetypes/javaee6-webapp/trunk/src/main/resources.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Fri Aug 20 17:10:27 EDT 2010
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 at 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
More information about the weld-commits
mailing list