Setting up sbt with private repo
The solve was suggested here: https://github.com/sbt/sbt/issues/2817
Steps for read access
- in ~/.sbt/repositories put:
|Setting the hibernate.show_sql to true tells hibernate to Write all SQL statements to console. This is an alternative to setting the log category org.hibernate.SQL to debug.|
|So even if you set this property to false, make sure that you don't have the following category defined (or configured to use a console appender):|
|Also, make sure that you don't set the hibernate.show_sql programmatically to true when instancing your Configuration object. Hunt something like this:|
|Configuration cfg = new Configuration().configure().|
|Note that the setProperty(String propertyName, String value) takes as first parameter the full name of a configuration property i.e. hibernate.show_sql, not just show_sql.|
Copyright © 2017 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x