Tagged Questions
2
votes
0answers
59 views
WiFi conflicting with local mysql connection (Java/Spring)
I'm using java/spring to connect to a local mysql database and run some integration tests. Sometimes I get Hibernate errors saying that a connection cannot be established. I've noticed this only ...
2
votes
0answers
66 views
executeUpdate() hibernate and spring return to controller number of rows
I have a problem with return affected rows in Springmvc/Hibernate project(MySQL databse).
This is my DAO file, which must return the size of affected rows in my database.
When i execute this method ...
1
vote
0answers
36 views
Composite Unique Index created on each deploy
I'm using Spring 3.2 with Hibernate 4.2.1.Final and MySql 5.5.
Each time I reload my webapp hibernate creates a new Composite Unique Index of my entities.
For example in my entity I have:
...
1
vote
0answers
191 views
Jboss7 datasource configuration to work in mysql master slave mode
following is my datasource in the standalone.xml file
<datasources>
<datasource jta="false" jndi-name="java:/smslite" pool-name="smslite" enabled="true" use-java-context="false">
...
1
vote
0answers
185 views
Spring jdbcTemplate throws an SQL syntax error exception when creating a trigger
Is there a way to handle the "DELIMITER $$" in jdbcTemplate.execute() other than parsing the string to remove the DELIMITER lines?
I have a file containing a trigger declaration that I need to ...
1
vote
0answers
618 views
Spring 3 + Hibernate: java.sql.BatchUpdateException: Cannot add or update a child row (ManyToMany)
I am having problem with storing an Account item after editing. The Account item contains a Set of Roles (@ManyToMany). If i load the Account item and try to edit it everything works fine, until I try ...
1
vote
0answers
885 views
Flex 4 + Spring3 + Hibernate + MySQL5 configuration
I have been following the excellent tutorial at http://refcardz.dzone.com/refcardz/flex-4-and-spring-3.
It has all worked fine up to the point where I tried to configure Hibernate to use MYSQL ...
1
vote
0answers
269 views
jsf 2.0 spring stored procedure
Hello friends I am getting problem when injecting JSF bean into a bean that extends StoredProcedure abstract class...
The Bean return null values...
0
votes
0answers
16 views
Spring/Hibernate MySQL Database replication/migration
I have a web application running on Hibernate 3 and Spring. This application interacts with a local MySQL database (master).
I'm planning to develop a separate PHP module which will be hosted online ...
0
votes
0answers
31 views
Form submit not working- Struts 2
I am building an application with struts 2 hibernate spring 3 with mysql as database. When i am trying to submit the form(with 2 file uploads) its not hitting the action at all. If I remove both the ...
0
votes
0answers
32 views
one-to-many with hibernate 4.2.2
I have the below entities.
Order{
@Id
private Long id;
@OneToMany(fetch=FetchType.LAZY)
@JoinColumn(name="order_id_fk", updatable = false)
private List<OrderRelease> orderReleases;
}
and ...
0
votes
0answers
40 views
Spring annotation driven scheduled task failure with JDBC tansaction exception
I am using Spring3.2 + Struts2.3 + hibernate4.1 to build a website. I scheduled a task to run at 7:00AM each day. The task can run successfully if I scheduled the task run immediately, which means ...
0
votes
0answers
56 views
Obscure MySql Connector/J error message - java.sql.SQLException: boo {exclamation mark}
What the hey does this MySql error message mean?
java.sql.SQLException: boo!
springframework.dao.TransientDataAccessResourceException: CallableStatementCallback; SQL [{call sp_MyStoredProc(?, ?, ...
0
votes
0answers
82 views
Spring transaction rollback not working
I'm developing an application that is based on Spring MVC + mySQL.
I'm trying to use Spring's transaction management but for some reason the transaction is never being rolled back.
Can you please ...
0
votes
0answers
172 views
Spring MVC + Hibernate web application. Web server hangs on load of CRUD operations
I am working on the following project and have came across a runtime issue.
http://github.com/dmcquillan314/YouthMinistryHibernate
The instructions to run this project are located in the README.md ...