java.sql.SQLException: Invalid argument value, message from server: "Not unique table/alias: 'x0_'"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Ravi K, 1 year ago
Invalid argument value, message from server: "Not unique table/alias: 'x0_'"
via Hibernate JIRA by Ravi K, 1 year ago
Invalid argument value, message from server: "Not unique table/alias: 'x0_'"
via java2s.com by Unknown author, 1 year ago
General error, message from server: "Too many tables. MySQL can only use 31 tables in a join"
via hibernate.org by Unknown author, 2 years ago
General error, message from server: "Unknown table 'Archivable_1_' in field list"
via mysql.com by Unknown author, 1 year ago
General error, message from server: "Illegal mix of collations (latin2_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation '='"
via Oracle Community by 814491, 1 year ago
Syntax error or access violation message from server: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''enrollment'' at line 1"
java.sql.SQLException: Invalid argument value, message from server: "Not unique table/alias: 'x0_'"
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1651)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:889)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:956)
at com.mysql.jdbc.Connection.execSQL(Connection.java:1874)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1538)
at net.sf.hibernate.impl.BatcherImpl.getResultSet(BatcherImpl.java:87)
at net.sf.hibernate.loader.Loader.getResultSet(Loader.java:795)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:189)
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
at net.sf.hibernate.loader.Loader.doList(Loader.java:950)
at net.sf.hibernate.loader.Loader.list(Loader.java:941)
at net.sf.hibernate.loader.CriteriaLoader.list(CriteriaLoader.java:118)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:3571)
at net.sf.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:223)
at net.sf.hibernate.impl.CriteriaImpl$Subcriteria.list(CriteriaImpl.java:84)

Users with the same issue

7 times, 1 week ago
2 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 years ago
Once, 3 months ago
24 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.