After some poking around I can see how it is a circular dependency issue. I have written many helper classes that work this way but this is the first case where the object I am trying to help has an...
Type: Posts; User: davidcnoel; Keyword(s):
After some poking around I can see how it is a circular dependency issue. I have written many helper classes that work this way but this is the first case where the object I am trying to help has an...
I'm not sure if depends-on is broken or if it does just not work the way I think it should.
First... I'm using Spring 1.2.8
Basically, I have written a helper class that implements Spring's...
Sorry if this is a common question but my search attempts did not find any results.
I am new to acegi security but not spring. I wanted to try it out for one of my Websphere 5.0 based web apps. ...
using a HotSwappableTargetSource with a proxy datasource worked. Thanks for the advice.
An application I am starting to work on requires that I am able to connect to many different databases. I plan on using the standard Dao pattern but my problem is that I will not know which...
Thanks for the reply costin but I think we are talking about different things. I am not trying to do a bulk update. I actually have 100,000 unique updates that need to be performed. What I need to...
I'm not sure what is the best way to do this.
In my business logic I have a query which could return over 100,000 rows from a database. I want to iterate over these objects, modify them and...
When developing my object model for persisting data to a DB, I ran into several advantages/disadvantages to using Objects and primitive datatypes. I'm wondering if there is a "best practice" is to...
I need some JUnit advice for testing my JdbcDaoSupport sub classes.
My methods inside my classes call the getConnection() method from JdbcDaoSupport. My first thought was to subclass my class and...
Rob, thanks for the quick response.
I just realized I had another transaction question.
In this example I have only one datasource and two DAOs associated with the datasource. One of the DAOs...
I'm a little confused about how Spring handles transactions.
I have two Hibernate sessions that are associated with two different DB2 databases. My business logic class uses DAO objects that are...
Thanks. That was it. My Spring library in my dev area was 1.1. Thanks again!
OK. I feel silly for even posting this but I am getting an error when I use the import element in my xml bean def file.
example
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC...
Well I can write this up as user error :) This was not a Spring problem. Thanks for the replies though.
I'm using Spring 1.1.3 with all it's packaged dependencies.
bump. I'm still having this problem. Is there anyone out there that has run into this before?
Thanks for the response Omar. Unfortunatly it did not work. I looked at a few of the different setters on the object and none of them seem to work. I thought perhaps the setMappingJarLocations...
I have an application that is using hibernate. In my bean def file I am using the org.springframework.orm.hibernate.LocalSessionFactoryBean class and am specifying a hbm.xml file like
<property...
well If I I took more time to read the actual JavaDocs I would see that the info is there :)
Thanks for the response Olivier. I do agree that using absolute paths is not the greatest thing to do but my current environment requires it. Putting the config file in the classpath or as a...
I'm seeing some strang behavior when running my application on AIX 5.2 using IBM's Java 1.4 or 1.3 VM.
I use the FileSystemXmlApplicationContext container and use the single String constructor. I...
well that did it. thanks. I guess I was under the impression that all the javamail stuff was merged into the j2ee.jar. My j2ee.jar has a bunch of the javax.mail classes just none of the com.sun...
This question is really not a CORE question but I think this is the best category for it.
I thought I would try out the Spring mail interface. When I run my code I get the folowing exception
...
Gee. I guess I need to put my glasses on before reading the docs. I don't know how I missed those sections.
I'm all set now. Thanks guys
I am setting up some datasources in my beans definition file. This all works fine. My problem is I do not want the passwords to my databases showing up as clear text in the definition file.
To...