0
나는 1.2.4알 수없는 열 - JPA
org.hibernate.util.JDBCExceptionReporter logExceptions - Unknown column 'mytable0_.id' in 'field list'
내 모델은 플레이 프레임 워크와 함께이 오류가
@javax.persistence.Entity
@Table(name="mytable")
public class MyTable extends Model{
@Id
public BigInteger pid;
public String ip;
...
}
pid는 내가로부터 연장 시도 기본 키
입니다
GenericModel하지만 같은 오류가 발생했습니다.
것은 내가 내 컨트롤러
List<MyTable> currentIP = MyTable.find("select a from MyTable a where ip = '" + SelectedIP + "'").fetch();
다음 내가 스레드에서 '예외가 "기본"play.exceptions.JPAException :의 EntityManagerFactory를 구축 할 수 없음을 ' – user1361914