Can anyone please elaborate and tell me how this
@TransactionConfiguration and
@Transactional works -
and is it necessary to mention
<tx:annotation-driven...
Type: Posts; User: kewlkeny; Keyword(s):
Can anyone please elaborate and tell me how this
@TransactionConfiguration and
@Transactional works -
and is it necessary to mention
<tx:annotation-driven...
@matthias.hubber - It dint work bro -
but if i remove drop
in this
<property name="jpaProperties">
<props>
<prop key="hibernate.hbm2ddl.auto">create-drop</prop>
</props>...
Hey @abhijith_p tqq buddy, i gotacha i did small silly mistake in place of dialect, now my junit test is compiling and working but unfortunately its not creating the table in mysql :(
@abhijith_p yep i gotcha :) But u see my configuratin file, i dont see anything wrong, if can find juzz tell me
here is my contex.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans...
@abhijith_p i am afraid, i dint get u, wht exactly ur asking me t recheck, can u pls elaborate bit more
i have a MessageEntity class
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;
private String text;
public MessageEntity() {
Hey i am sorry i fund the mistake, i did nt add the
derby client dependency in the pom.xml
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyclient</artifactId>...
My sincere apologies for post such a crap code
My JpaDao class is
public final class JpaMessageDao extends JpaDaoSupport {
public long count() {
return (Long)...
Hello, i have a maven spring project in which i am using derby database, i have message entity class, with JpaMessageDao extending JpaDaoSupport
public final class JpaMessageDao extends...
Hello, i 've a very small spring project which is working with some .properties information
.properties file have information of file paths by using those file path i doing some operations with...
Thanks mate its working :)
@dkarr
I tried that one too mate - as the code would be
<bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property...
@Enrico Pizzi
Hey thanks mate - u mean i just have to add the above placed code with path of the .properties file, correct if i am wrong
my code would be something like
<bean...
I appreciate @dkarr
do u mean have to create two .property files with same info,that is a great idea, but i have one more doubt, the one "/home/dev06/..." is available for me to customize right....
Hello evryone,i am newbie i have a small query
i have added .properties file, and in my configuration.xml when i enter code
<bean id="placeholderConfig"...
Hey btw its resolved,
with this code
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
Hello, i am newbie to this forum, in my config.xml file i added the below code, adn i am getting an exception
can anyone please help me what exactly is that ?
<?xml version="1.0"...