Hello!
Thanks for making ebean! I'm excited about an ORM that is not as complicated as Hibernate. Also, coming from Django, the basic setup and concepts seem quite familiar to me. So far I'm finding the documentation very good.
I wanted to share a couple snags I ran into while getting started.
Just a heads up that I wasted some time getting started because I pulled a jetbrains Kotlin spring example project and tried to add ebean to it. The agent is set up to
exclude certain "well known" packages from enhancement, and the example had everything in `org.jetbrains`. It took me a while to figure this out (and to figure out that the plugin was actually running, just ignoring my class).
I'm not sure what I'd recommend to prevent this, maybe the plugin could be more explicit about *why* it was ignoring certain files. I'd also recommend the help or troubleshooting page that encourages turning the agent debug verbosity all the way up.
I also had some trouble using the latest version (42.2.2). I ran into an error during gradle setup:
Cannot execute null+[]
If interesting, I could post more details. Rolling back to version 11.41.1 seems to have fixed this.
Finally, I'm noticing that the DDL generator doesn't escape SQL reserved words like `order`.
Caused by:
java.sql.SQLException: Error executing stmt[create table task (
id bigserial not null,
name varchar(150),
description varchar(150),
order integer,
version bigint not null,
constraint pk_task primary key (id)
)] error[ERROR: syntax error at or near "order"
Position: 167]
at io.ebean.migration.ddl.DdlRunner.runStatement(DdlRunner.java:113)
at io.ebean.migration.ddl.DdlRunner.runStatements(DdlRunner.java:70)
Obviously, I can work around this by renaming my columns.
Thanks again,