Showing
2 changed files
with
4 additions
and
4 deletions
... | @@ -10,7 +10,7 @@ public class JpaConfiguration { | ... | @@ -10,7 +10,7 @@ public class JpaConfiguration { |
10 | 10 | ||
11 | @Produces | 11 | @Produces |
12 | @RequestScoped | 12 | @RequestScoped |
13 | - @PersistenceContext(unitName = "v3-pu") | 13 | + @PersistenceContext(unitName = "development-pu") |
14 | public EntityManager entityManager; | 14 | public EntityManager entityManager; |
15 | 15 | ||
16 | } | 16 | } | ... | ... |
1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> |
2 | <tomee> | 2 | <tomee> |
3 | - <Resource id="bookDatabase" type="javax.sql.DataSource"> | 3 | + <Resource id="H2Database" type="javax.sql.DataSource"> |
4 | JdbcDriver = org.h2.Driver | 4 | JdbcDriver = org.h2.Driver |
5 | JdbcUrl = jdbc:h2:mem:test | 5 | JdbcUrl = jdbc:h2:mem:test |
6 | UserName = sa | 6 | UserName = sa |
7 | JtaManaged= true | 7 | JtaManaged= true |
8 | </Resource> | 8 | </Resource> |
9 | - <Resource id="v3Database" type="javax.sql.DataSource"> | 9 | + <Resource id="migrationDatabase" type="javax.sql.DataSource"> |
10 | JdbcDriver = com.mysql.jdbc.Driver | 10 | JdbcDriver = com.mysql.jdbc.Driver |
11 | - JdbcUrl = jdbc:mysql://localhost/v2?useSSL=false | 11 | + JdbcUrl = jdbc:mysql://localhost/migration?useSSL=false |
12 | UserName = grogdev | 12 | UserName = grogdev |
13 | password = grogdev | 13 | password = grogdev |
14 | JtaManaged= true | 14 | JtaManaged= true | ... | ... |
-
Please register or login to post a comment