-->
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.  [ 1 post ] 
Author Message
 Post subject: Examples / tips for implementing a custom EntityPersister?
PostPosted: Tue Apr 25, 2006 5:55 pm 
Newbie

Joined: Tue Apr 25, 2006 5:48 pm
Posts: 1
Location: Venice, CA
I'm trying to persist objects to a database that I must write to via a propreitary API, and though I have noted the ability to specify a custom persister in the hibernate mapping, I haven't been able to find much information regarding implementing this interface. Any pointers? Or are the API docs of the EntityPersister interface the closest I am going to get? I need to use the propreitary API only to write to the database; I can read from it normally using SQL, so one solution I have reached some success with is hacking the jTDS driver and intercepting all insert and update statements, rerouting them as appropriate. Any tips on a more kosher approach would be really appreciated. Plus, I'd be happy to document this if I have any success and share it with the community. Thanks!


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

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.