I have tried to create a new Realm using beta-2 and the latest master code.  I always get the same error:

Violation of UNIQUE KEY constraint 'UK_2cek0xo8yixluudnb1njcl94d'. Cannot insert duplicate key in object 'dbo.RoleEntity'. The duplicate key value is (view-realm, <NULL>).
17:30:07,680 INFO  [org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl] (default task-8) HHH000010: On release of batch it still contained JDBC statements
17:30:07,741 ERROR [io.undertow.request] (default task-8) UT005023: Exception handling request to /auth/admin/realms: java.lang.IllegalStateException: Transaction not active