vagarwala
07/10/2019, 12:43 AMDatabase.connect()
, but the only way I can interact with it is by using raw sql statements (and this works). any way I can access the values of some fields and use that information to do other things? for reference, this is what I currently have:
val db = Database.connect("jdbc:<postgresql://localhost:5433/<dbname>>",
driver = "org.postgresql.Driver",
user = "user",
password = "pass")
transaction{
val conn = TransactionManager.current().connection
val statement = conn.createStatement()
val query = "<postgresql insert and update statement>"
statement.execute(query)
}