The data is overwritten every time the dbunit runs, so you have at least two
options.
1) To add you information to the test/resources/sample-data.xml so that it
loaded each time so it does not matter if it is overwritten.
2) run without running the tests by adding the -Dmaven.test.skip to the
co
mapping rather than annotations but logic still
follows.
Luke.
Luke McLean wrote:
>
> I will find some more detailed code and post a complete tomorrow.
>
>
--
View this message in context:
http://www.nabble.com/Basic-One-To-Many-tf3764612s2369.html#a10775281
Sent from the AppFus
Hi Paulie,
The example you posted is quite jumbled, you have some annotations and also
some xdoclet tags in the same example. The first thing that you need to do
it decide which you are going to use (I would suggest the annotations and
remove the xdoclet tags).
Hibernate can be quite confusing
em.
I have not performed any performance testing either to see whether I need to
write to a queue and then send from that queue. There is example code in
the smslib download including code to handle queues 0 refer to the
SMSLIBServer code that can use a database or XML files, you could use quartz
ins
Hello preman,
I do a very similar thing. I found it not that easy to implement via SMS
(GPRS) but got there in the end. I use the jSMSEngine which has now found
here http://smslib.sourceforge.net/. It only works with certain GPRS
modems. I use a GPRS modem attached to the server to send the s
Check your mapping (I think that 1.9.4 uses XDoclet tags in the classes to
define the relationships), it sounds like hibernate has been set up to
cascade updates through a relationship between the two classes
(parent/child). Therefore when you update the parent it will automatically
cascade that
Thanks for that, however all the examples I have seen specifically state NOT
to do that from the non-owning side of the relationship, instead
private Set users;
@ManyToMany(mappedBy="roles")
public Set getUsers(){
return users;
}
Perhaps if I cut and pasted my actual classes when I
Easter Greetings,
I am encountering a small problem that is driving me a little insane... I
wish to be able to have a bidirectional Many-to-Many relationship between
Users and Roles. At the moment it is only defined in one side of the
relationship (User.class) but as an administrator I wish to
Hi Rob,
I am also using Flex2 as a client to consume web services (based on appfuse
backend). What version of appfuse are you using? I am currently looking at
using the Spring modular archetype and cutting off the web tier/security etc
(and including xfire) while I wait for M5..6...7 ;) but am
Thank you Michael for such a detailed response. We have followed the advice
given, run 'mvn test' and we get the following error:
Error executing database operation: CLEAN_INSERT Embedded error : user_role
We thought we would be crafty and create the database first using 'mvn
hibernate3:hbm2ddl
I also got the same error using 2.0.4 from the commandline for both
hibernate-annotations and hibernate files. These both try to get downloaded
from an https repository that isn't listed in the pom. The only way I could
get mvn to continue was to download the 2 jars individually from the central
Sorry about this but I'm new to maven and I cannot follow the logic as to how
maven knows which dependencies to download to the user's repository. I need
to use evil mssql for my project, so I assume that I need to add jtds as a
dependency?
http://repo1.maven.org/maven2/net/sourceforge/jtds/jtds
12 matches
Mail list logo