You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by yacur <ya...@yahoo.com> on 2011/10/04 04:37:30 UTC

Jackrabbit 2.2.8 connection to MySQL 5.x

After getting the right user/password in MySQL.  Even though the app tries to
create some tables ( PM_SOMEUNIQUEPREFIX_NAMES,
pm_someuniqueprefixes_binval, pm_someuniqueprefixes_bundlw,
pm_someuniqueprefixes_ref ) 


when running the test case,   I get the following exception:
Caused by:
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:
Duplicate entry 'Ê?º?Ê?º?Ê?º?Ê?º?' for key 'PM_SOMEUNIQUEPREFIX_BUNDLE_IDX'
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
	at com.mysql.jdbc.Util.getInstance(Util.java:381)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)
	at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)
	at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:995)
	


*Anyone has any idea or has come across this  exception before?????*

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-2-2-8-connection-to-MySQL-5-x-tp3869765p3869765.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.