-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Is Hibernate good for this?
PostPosted: Thu Mar 16, 2006 7:02 am 
Newbie

Joined: Thu Mar 16, 2006 6:21 am
Posts: 1
I'm new to hibernate, have only make a small app that reads and writes to one small table, so only got the basics.

But now I need to write a pieces of code that watches a database, and if a "special" string is inserted in to the database the app needs to react. The database is a select only syslog_ng database.
That means that sometimes there will be ALOT of inserts(syslog_ng does this ;-) ), and i need to keep up with this, so that I don't loss any of the entrys. I can not afford to loss a entry or read the same twice, and when the "special" string comes in I need to react with in seconds.

Is this something Hibernate can do and can do great?


Top
 Profile  
 
 Post subject: Is Hibernate good for this?
PostPosted: Thu Mar 16, 2006 2:39 pm 
Newbie

Joined: Tue Mar 07, 2006 11:34 am
Posts: 2
I think this would be using an overkill aproach to the problem. If you need a single query only looking for a word it has no sense for me to use Object Relation Mapping.
Rather, you should be using JDBC directly.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.