File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes MongoDB and the fly likes Triggers and Procedures in NoSQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » MongoDB
Bookmark "Triggers and Procedures in NoSQL" Watch "Triggers and Procedures in NoSQL" New topic
Author

Triggers and Procedures in NoSQL

jagrutkumar dalwadi
Ranch Hand

Joined: Mar 26, 2009
Posts: 83

I have just read some of the blog to know about the NoSql.

Can any one suggest that is there any provision of trigger/procedures(which are there in RDBMS) in NoSql like MongoDB/Neo4j?
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1871
    
  16

Each NoSQL database is different, but MongoDB does not support stored procedures or triggers. It has an interactive shell which uses a Javascript API to interact with the database, as well as a range of drivers supporting other languages such as Java and Python. I think the main focus of many NoSQL databases is on horizontal scalability via various mechanisms and data models, rather than including extra code within the database.

If you want a good overview of several different NoSQL databases, try the book Seven Databases In Seven Weeks.


No more Blub for me, thank you, Vicar.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Triggers and Procedures in NoSQL