Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Not A Bug
-
Affects Version/s: 1.4
-
Fix Version/s: None
-
Labels:None
-
Environment:Hidejava version "1.6.0_03-p4"
Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_20_dec_2008_19_46-b00)
Java HotSpot(TM) Server VM (build 1.6.0_03-p4-root_20_dec_2008_19_46-b00, mixed mode)
mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000)
Java version: 1.6.0_03-p4
Java home: /usr/local/jdk1.6.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "freebsd" version: "7.3-stable" arch: "i386" Family: "unix"
mysql -V
mysql Ver 14.14 Distrib 5.5.4-m3, for portbld-freebsd7.3 (i386) using 5.2Showjava version "1.6.0_03-p4" Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_20_dec_2008_19_46-b00) Java HotSpot(TM) Server VM (build 1.6.0_03-p4-root_20_dec_2008_19_46-b00, mixed mode) mvn -v Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000) Java version: 1.6.0_03-p4 Java home: /usr/local/jdk1.6.0/jre Default locale: en_US, platform encoding: UTF-8 OS name: "freebsd" version: "7.3-stable" arch: "i386" Family: "unix" mysql -V mysql Ver 14.14 Distrib 5.5.4-m3, for portbld-freebsd7.3 (i386) using 5.2
-
Testcase included:yes
-
Number of attachments :
Description
I am trying to create a database with tables, having foreign keys attached to them. Unfortunately I am getting strange error:
Can't create table 'testdb.configuration' (errno: 150)
from maven. The same SQL file, if imported into MySQL with command-line client, gets imported without any error.
If you remove foreign key declaration - tables will be created without any error.
I attached the package with sample Maven project.
Thank you in advance!
I've been trying to reproduce this error, did not succeed. Unpacked the zip,
2 minor changes in the pom.xml (initial database and root password), and
'mvn test' ends with 'BUILD SUCCESSFULL', nothing strange in the output.
Maybe you can supply a more consequently failing example of the problem
mentioned in the issue.
My platform: Ubuntu-8.04, mysql-5.0.15-, sun-java-1.6.0.20, mvn-2.2.1/2.0.10.