Search:

Type: Posts; User: ryannorris; Keyword(s):

Search: Search took 0.02 seconds.

  1. It works fine from the command line - I'll hit up...

    It works fine from the command line - I'll hit up JIRA. Thanks.

    Sadly, it's a showstopper for me now.

    These are brand new grails projects, so the only dependencies are the ones required by...
  2. java.lang.LinkageError: loader constraint violation when running grails scripts 2.6.1

    Doesn't seem to matter what I do - every grails command ends up with the following problem:

    Stack trace:

    Error executing script CreateApp: loader constraint violation: when resolving overridden...
  3. RC2->RC3 - BeanCurrentlyInCreationException with tx:annotation-driven transactions

    Upon upgrade of spring from rc2 to rc3, I get the following problem with the below configuration


    <bean id="transactionManager"
    ...
  4. PersistenceAnnotationBeanPostProcessor problem with JPA Support

    Information regarding this issue is currently being tracked in JIRA - SPR-2298

    As the original author for this issue notes, when trying to implement Per Mellqvists' Generic Dao pattern using JPA,...
  5. Found the problem - wrong transaction propogation...

    Found the problem - wrong transaction propogation for my findByPrimaryKey method. Needed to be @Transactional(propogation=Propogation.NOT_SUPPORTED)
  6. Issue in JUnit testing as well...

    This appears to be happening when extending AbstractTransactionalDataSourceSpringContextTests for JPA as well, with Hibernate as the underlying persistence manager. My unit tests run fine, until i...
  7. Follow-up

    So it appears the solution to most of this is to move the actual implementation of FinderExecutor to the GenericDao, and have the GenericDao interface extend the FinderExecutor interface. From a...
  8. JPA, GenericDAO, and ClassCastException on a Proxy Object

    Silly me - below is the stacktrace:


    java.lang.ClassCastException: $Proxy29
    at...
  9. JPA, GenericDAO, and ClassCastException on a Proxy Object

    Hello friends,

    I am currently implementing a solution using JPA on top of Hibernate, combined with the GenericDAO Pattern described here.


    I am having difficulty getting the interceptor used...
  10. Rob - Thanks for your response. I noticed...

    Rob -

    Thanks for your response. I noticed upon further evaluation of the JIRA entry that indeed it was for a different issue, sorry about that.

    I was under the impression though that expanded...
  11. mappingJarLocations with deployed WAR on Tomcat

    Hello All -

    I have a Jar that contains my data objects and their respective mapping files that I am trying to gain access to via mappingJarLocations as so:


    <bean id="sessionFactory" ...
  12. Will do. I was not aware that transaction...

    Will do. I was not aware that transaction management was neccesary even in cases where a non-transactional database is in use. I've use the JTA proxies in other instances where I've had...
  13. Here is my applicationContext.xml. I am...

    Here is my applicationContext.xml. I am currently not implementing a transaction proxy as the backend is mysql, and it seems unneccesary to use tx's with a MyISAM DB.


    <!DOCTYPE beans PUBLIC...
  14. session.flush() really needed after session.delete()?

    I was tinkering with a DAO pattern using HibernateDaoSupport recently, but found that if i didn't explicitly call flush() after a delete() call in the DAO layer, the delete query for the persisted...
Results 1 to 14 of 14