Hello,
I wanted to see if someone would please respond to my problem below. I need
to make a decision on the approach to take so I can move forward with
development.
Thanks
paulie wrote:
>
> Hello,
>
> I am getting a data access failure on my Struts project when I when
>
Hello,
I am getting a data access failure on my Struts project when I when
attempting to save a change to a select box. I have another select box
working based off a different action and set this one up identically (or so
it appears).
Data Access Failure
identifier of an instance of com.pola.
You can give the attribute any name that you like. I have been including the
base object name on mine so once I start working on the action class and
have multiple ids represented, I can follow the same naming convention that
was established in the model.
shendel_18 wrote:
>
> Hello im using
You need to define which field in Person will be the foreign key:
@ManyToOne( cascade = {CascadeType.PERSIST, CascadeType.MERGE} )
@JoinColumn(name="PersonId")
shendel_18 wrote:
>
> Hello im using appfuse 2, i need help on how to change the value type in
> database.
>
> Example.
>
> M
I think that there is still a problem with my action test cases. With
isRollback() set to false, I can see the update and delete queries executing
and their updates on the database. I can also see a foreign key exception
that I have been trying to recreate with an action test case.
When I lea
You're correct. I turned off the rollback and was able to see the additional
queries. Thanks.
--
View this message in context:
http://www.nabble.com/ActionTest---Not-executing-sql-queries-on-Action.class-tp23680254s2369p23753384.html
Sent from the AppFuse - User mailing list archive at Nabble
Can someone tell me if you see the update and delete sql on the console
during the execution of SomeActionTest.java methods testSave() and
testRemove()? Thanks.
--
View this message in context:
http://www.nabble.com/ActionTest---Not-executing-sql-queries-on-Action.class-tp23680254s2369p23735755
paulie wrote:
>
> Having problems getting testSave() and testRemove() methods to work
> properly from my CropActionTest class.
>
> For testSave(), I can see the select statement where the Crop object is
> getting loaded. When I modify the crop name on the object and at
Having problems getting testSave() and testRemove() methods to work properly
from my CropActionTest class.
For testSave(), I can see the select statement where the Crop object is
getting loaded. When I modify the crop name on the object and attempt to
save, I don't see a subsequent update stat
s via a
Maven command. I also wanted to find out about getting rid of the old,
unused jar files. Thanks again.
mraible wrote:
>
> vi pom.xml > find and replace ;-)
>
> On Thu, Aug 21, 2008 at 10:09 AM, paulie <[EMAIL PROTECTED]> wrote:
>>
>> I have followed th
I have followed the upgrade guide and made the necessary changes to convert
to AppFuse 2.0.2 from 2.0.1. I am not sure how to get my referenced
libraries to the newer versions defined in the pom.xml.
Can someone please provide me the Maven command to make this happen.
Thanks.
--
View this mess
This seems to be the enumeration solution that I have been looking for and
have set up my enum to follow this model. I am new to the enum concept and
have a couple of questions that the tutorial didn't discuss.
First, where do I put the property tag reference for the enumClassName
parameter? I
r IDE to exclude this file from being copies w/o filtering. I
> believe some folks have blogged about this in the last couple months.
>
> Matt
>
> On 2/21/08, paulie <[EMAIL PROTECTED]> wrote:
>>
>> I am having the same issue having deployed my 2.0.1 app from
I am having the same issue having deployed my 2.0.1 app from MyEclipse to
Tomcat 5.5. I updated the applicationContext-resources.xml with values from
the pom.xml file.
Old:
New:
Hello,
I am using Struts 2 basic archtype version 2.0.1. I have been unsuccessful
in using DAO for deleting a child in a simple parent/child relationship.
Here are the steps that I took.
1. Create Master POJO:
@Entity
public class Parent extends
I have been looking through the forum and user guides trying to piece
together the code for putting together a one-to-many relationship. In my
code, a Person can have many Addresses. The error I am getting is
MappingException: Could not determine type for: java.util.List, for columns:
[org.hiber
ses. If enough folks think this is a better approach, we can try
> to make it happen after 2.0.
>
> Matt
>
> On 4/19/07, paulie <[EMAIL PROTECTED]> wrote:
>>
>> It just felt weird having something refered to as 'TestCase' promoted to
>> product
It just felt weird having something refered to as 'TestCase' promoted to
production. I wanted to make sure that this was the right approach.
mraible wrote:
>
> On 4/18/07, paulie <[EMAIL PROTECTED]> wrote:
>>
>> I have gone through the Hibernate tu
I have gone through the Hibernate tutorials and built an app extending
BaseDaoTestCase. Everything is working great. I wanted to see if I should
deploy my code extending BaseDaoTestCase, build my own DAO base class, or
extend another DAO base class. Let me know if there is somewhere I can find
I
> believe you can use setComplete() in your test method if you want to
> change that behavior. See Spring's Javadocs for more information.
>
> Matt
>
> On 3/16/07, paulie <[EMAIL PROTECTED]> wrote:
>>
>> I am using AppFuse 2.0 and have set up the H
I am using AppFuse 2.0 and have set up the Hibernate tutorial. Having
problems saving the Person to the database. I have commented out the code
to remove the person (it was failing here anyways) and I would expect that I
would be able to see the saved Person on the table after executing
PersonDa
I have searched the code and the forum but haven't figured out where
build.xml (as well as database.properties, properties.xml, and
jdbc.properties) are supposed to be derived from or where they belong in the
project structure.
I am going through the CreateDAO tutorial and am using AppFuse basic-
paulie wrote:
>
> I tried a few attempts with the same result. Here is the summary:
>
> Modified src\main\respirces\mail.properties:
>
> [EMAIL PROTECTED]
> mail.debug=false
> mail.transport.protocol=smtp
> mail.host=smtp.sbcglobal.yahoo.com
> [EMAIL PROTECT
is likely that applicationContext-resources.xml is the
>first Spring context file loaded, so applicationContext-service.xml
>(from the JAR) is overwriting your class. Try adding your bean>
>definition to a src/main/webapp/WEB-INF/applicationContext.xml file.
>
>Matt
On 2/8/07, paulie
>
>
> If you comment out the bottom part in your local bean definition, it
> should work.
>
> Matt
>
>
>
> On 2/7/07, paulie <[EMAIL PROTECTED]> wrote:
>>
>> I have been able to send an email with a simple Java app using javax.mail
&g
I have been able to send an email with a simple Java app using javax.mail by
setting SMTP authentication:
Properties props = System.getProperties();
props.put("mail.smtp.auth", "true");
I have been trying to do the same thing through mail.properties:
mail.smtp.auth=true
or
mail.auth = true
I k
26 matches
Mail list logo