我的查询有点问题。这是我的桌子
但我只有一排
这里我的问题是:
Query q = em.createQuery("SELECT OBJECT(historic) FROM Historic historic WHERE historic.user.id = :user_id AND historic.enchere.id = historic.enchere.id AND historic.limcoins = (SELECT MAX(historic.limcoins) FROM Historic historic WHERE histo
jboss.naming.context.java.module.\"javaee7-jms-websocket-example-1.0-SNAPSHOT\".org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010400: Bound data source [javaorg.jboss.as.connector.deployment] (MSC service thread 1-7) JBAS010401: Bound JCA Con