Instead of using database to store data you can always store them in the CQ repository in the nodes properties. Everything is depend how many data you need to store and you need consider this for the node structure which you want to create. In case when you expect that there will be a hundreds of nodes there should be created more hierarchical structure to avoid problems with access to JCR repository.
If you want more information about idea of JCR and storing data there please see presentation from the last adaptTo conference
http://www.pro-vision.de/content/medialib/pro-vision/production/adaptto/2012/adaptto2012-a -jcr-view-of-the-world-alexander-klimetschek-pdf/_jcr_content/renditions/rendition.file/ad aptto2012-a-jcr-view-of-the-world-alexander-klimetschek.pdf