Ahoy! 

I'm haveing a really deep need to directly access database without using 
Hibernate. I'm upgrading Dspace from Version 5 to 6, and in the older 
version it was used a statistics module that ran independent queries ( i 
really can't create an abstraction level with hibernate for that, since 
every query is unique)

Before the DB access was performed with Database Manager + TableRow but now 
I cant do it that way since those classes no longer exist. I've already 
tried to access the context -> getDbConnection -> getSession and get the 
SQL connection through there. I've also tried with the 
DSpaceServicesFactory to get the dataSource and then the connection.

Both of this methods interfere with the hibernate access since I get an 
invalid session after I've run any query to DB.

Can anyone help me?

Thanks in advance

Tiago Oliveira

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to