What is the intended usage of org.squeryl.Schema in 0.9.7?
See original GitHub issueLooks like the documentation is still lagging a little behind. The only way I could work out to do it is like the following:
import org.squeryl.PrimitiveTypeMode
object Schema extends org.squeryl.Schema()(PrimitiveTypeMode)
with PrimitiveTypeMode
But this still uses the deprecated PrimitiveTypeMode
object in the implicit argument. The only other way I could think of was:
import org.squeryl.PrimitiveTypeMode
object Schema extends org.squeryl.Schema()(this)
with PrimitiveTypeMode
but this won’t compile for obvious reasons.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Schema Definition
Scala classes are mapped to tables via instances of org.squeryl. ... Inside the example schema defined above, we could influence the DDL generation...
Read more >scala - Migrating from Squeryl 0.9.5 to 0.9.6
Corrected answer : You are importing the org.squeryl.PrimitiveTypeMode companion object and also your own extension (object DateTime extends ...
Read more >Squeryl
Squeryl is a Scala object-relational mapper and domain-specific language for talking to databases in a succinct and typesafe way. We'll use Squeryl with...
Read more >squeryl in scala - liveBook · Manning
val appDependencies = Seq( jdbc, "org.squeryl" %% "squeryl" % "0.9.5-6" ) ... We're using an H2 database in this example, but most mainstream...
Read more >squeryl
How to build. Download or clone repository: git clone git://github.com/squeryl/squeryl.git; Open a shell in the project's root directory and launch SBT with ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Don’t you think that the website documentation should be updated ?
This is not the proper forum for a request like this. Please take your question to the Squeryl mailing list or Stack Overflow.