Hi,

I am using the Lobos library - https://github.com/budu/lobos
In it there's a function create, which is called like this - (create db 
(table :some-name)), where db is earlier defined as - (def db
     {:classname "org.postgresql.Driver"
      :subprotocol "postgresql"
      :user "postgres"
      :password ""
      :subname "//localhost:5432/flyway"})

If I have to call the above function from Java, how do I -
1) define the def (do I have to load some variable)?
2) I am loading the reqd. lobos libraries using [ RT.load("lobos/core", 
true); ] and then getting the reference to the create function like - [ Var 
foo = RT.var("lobos.core", "create"); ]
    But how do I pass the required arguments to this function. Do I need to 
create an array?

Any help is truly appreciated.

Thanks,
Manoj.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to