-
Notifications
You must be signed in to change notification settings - Fork 16
Yes. The only problem is that it won't be able to use the container datasources. To connect to a database you must modify the jongo.properties file inside the WAR.
Yes, with a little tweaking thought.
On the works
Jongo delegates the responsibility of access control to the RDBMS. So to limit access to some resources on the database, use GRANTs or READ ONLY tables.
Yes, and functions.
No, you can't give Jongo a query like SELECT * FROM foo
, since this would be a major security hole. If you need more complex queries than accessing resources, use the tools provided by your RDBMS: triggers, views, stored procedures, functions, etc.
Getting a hold on every database used today is almost impossible so we really need your help. If you're using an unsupported database you can help by developing database configurations which can be later added to the main jongo distribution.
You created a class MyModel
which extends from jongo.JongoModel
but forgot to call the parent's init method: jongo.JongoModel.__init__(self)
Yes, with Cygwin try this:
$ /cygdrive/c/dev/Java/jdk/bin/java -Denvironment=demo -cp `cygpath -wp ./lib/jongo-jetty-X.X.jar:./lib/*:./etc` jongo.JongoJetty
Also, for Windows cmd, this works:
C:\dev\servers\jongo-jetty-X.X-demo\jongo-jetty-X.X>c:\dev\Java\jdk1.6.0_07\bin\
java -Denvironment=demo -cp "lib\*;etc" jongo.JongoJetty