|
I think you are looking at someone elses test case. Please download the test.tar.gz file attached to this issue to see the following project structure:
$ tar -tzvf test.tar.gz
rw-r
r
- cmorris/cmorris 1767 2015-02-09 19:30 test/pom.xml drwxr-xr-x cmorris/cmorris 0 2015-02-09 18:47 test/src/ drwxr-xr-x cmorris/cmorris 0 2015-02-10 02:43 test/src/main/ drwxr-xr-x cmorris/cmorris 0 2015-02-09 19:11 test/src/main/java/ drwxr-xr-x cmorris/cmorris 0 2015-02-09 19:39 test/src/main/java/test/ drwxrwxr-x cmorris/cmorris 0 2015-02-09 19:39 test/src/main/java/test/A/
rw-rw-r
- cmorris/cmorris 322 2015-02-09 19:12 test/src/main/java/test/A/OtherObject.java
rw-rw-r
- cmorris/cmorris 258 2015-02-09 19:33 test/src/main/java/test/A/OtherObjectDao.java
rw-rw-r
- cmorris/cmorris 544 2015-02-09 19:39 test/src/main/java/test/A/MyObject.java
rw-rw-r
- cmorris/cmorris 253 2015-02-09 19:39 test/src/main/java/test/A/MyObjectADao.java drwxrwxr-x cmorris/cmorris 0 2015-02-09 19:39 test/src/main/java/test/B/
rw-rw-r
- cmorris/cmorris 253 2015-02-09 19:32 test/src/main/java/test/B/MyObjectBDao.java
rw-rw-r
- cmorris/cmorris 272 2015-02-09 19:33 test/src/main/java/test/B/SomethingDifferentDao.java
rw-rw-r
- cmorris/cmorris 804 2015-02-09 19:39 test/src/main/java/test/B/SomethingDifferent.java
rw-rw-r
- cmorris/cmorris 642 2015-02-09 19:39 test/src/main/java/test/B/MyObject.java
rw-r
r
- cmorris/cmorris 1513 2015-02-09 19:39 test/src/main/java/test/TestApplication.java drwxr-xr-x cmorris/cmorris 0 2015-02-09 19:10 test/src/main/resources/
rw-rw-r
- cmorris/cmorris 61 2015-02-09 19:08 test/src/main/resources/hibernate.properties
rw-r
r
- cmorris/cmorris 263 2015-02-09 19:10 test/src/main/resources/application.properties
rw-rw-r
- cmorris/cmorris 6308 2015-02-09 19:16 test/test.iml
Also, I forgot to mention that you will have to manually create schema "testB" in your database as I don't think hbm2ddl is supposed to handle that step.
Also also, I have found that upgrading to MariaDB 5.5.41 fixed the first issue listed (no creating some of the tables), but the other issue (attempting to reference the wrong schema in the foreign key constraint) remains.
|