mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Add test for old (427) : Binding enum on find throws No ScalarType registered
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.avaje.tests.query.other;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import com.avaje.ebean.BaseTestCase;
|
||||
import com.avaje.ebean.Ebean;
|
||||
import com.avaje.tests.model.basic.MNonEnum;
|
||||
import com.avaje.tests.model.basic.MNonUpdPropEntity;
|
||||
|
||||
public class TestFindWhereUsingEnumerated extends BaseTestCase {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
|
||||
Ebean.find(MNonUpdPropEntity.class).where().eq("nonEnum", MNonEnum.BEGIN).findList();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user