I have a problem with entity versioning. Here's what I want to archive:
Let's say that I have entity class A (POJO with javax.persistance.* annotations). It's in relations with other entities. Then I need to insert new version of A. All rows should still reffer to old one, but it should be marked as archived and new version should be in...
i have a method inside service layer that is called by view layer to save content. the model is annotated with @Version JPA so support concurrent-update. but during web application peak-usage, sometime, i will get
17 Aug 2010 16:30:26,477 ERROR [http-2020-23] - Could not synchronize database state with session
org.hibernate.StaleObjec...
I have three WCF services (.svc) which generate .wsdl references for SOAP messages.
Given that part of the namespace needs to change for all ServiceContract, OperationContract, DataContract attributes, for example
[DataContract(Namespace = "http://old.com.au/types/")]
to
[DataContract(Namespace = "http://new.com.au/types/")]
How ...
I've developed a platform for creating desktop applications from web content: deskml
Now I've also created an application using deskml, so that users can just "point" (at web content on their hard drive) "and click" to create these applications automatically. I call it dexygen, but have not yet released it, as first I want some advice....
Hi,
I developed an open source forum engine called nearforums (http://nearforums.codeplex.com/) and I wanted an advice on how to name the releases.
Until now the releases were named release1, release2, etc. but in the next few days I will make a new release and I don't know if it is a good idea to follow the releaseN naming...
Should I...
I have a C# class that is serialized to disk by the BinaryFormatter, such as this example:
// Version 3.0
[Serializable]
public class Person
{
public string FullName;
[OptionalField(VersionAdded=2)]
public string NickName;
[OptionalField(VersionAdded=2)]
public DateTime BirthDate;
[OptionalField(VersionAdded=3)...
Hi All,
Can some one tell me how to do I enable LOGIN function for WebSVN in Ubuntu 9.1?
I was tasked to create a SVN for my team, and the following is one of the link i followed which helped me successfully setup my first repos.
http://agilior.pt/blogs/pedro.rainho/archive/2010/02/06/11698.aspx
But after installing WebSVN, i can see...
I need to implement a revision system for articles in my grails web app. After searching grails forum, stackoverflow, grails plugins and googling internet, I have ended up with 3 options:
Option 1 - Using the grails Envers plugin (see http://code.google.com/p/grails-envers-plugin/). Has anyone used it successfully? Or using Envers with...
We work with a small development team and a system engineer who deploys the software at certain times.
At the moment we don't have any leading document for database changes. Changes are done in the staging database and added manually to production when the system engineer deploys a new release.
We started to work with DBDesigner Fork t...
So first, this question helped a lot with getting on the right track toward working core data versioning. So I added a new version for my model, and now I'm trying to get the automatic migration working, but I have a problem. I can't remember what my old version looked like! I'm trying to run the app on my phone, but I've been using the ...
Hello SO,
This question concerns XML schemas and files.
Suppose I am developing a desktop application with a file-based interface, i.e. the user stores their progress in a file on disk - pretty standard for the vast majority of productivity applications and many more besides. The file is fundamentally XML, whose schema is stored by som...
I want to redirect consumers of dll v1 to dll v2.
I will add a publisher policy in GAC for that.
Must the policy be in GAC?
Does this mean dll v2 itself must also reside in GAC?
...
I am shipping my product X version 1.
It is installed in folder "%program files%\X V1".
It has a sub folder /addins where users will put addins to my product written by the community.
Fast forward to V2. What should be the deployment strategy?
Create a folder "%program files%\X V2" and manually copy all addins from V1 to it.
Always us...
The main problem is the versioning of the database structure.
The standard mysqldump and pg_dump utilities do not produce very well suited files for versioning.
The dump commands produces the dump files with autoincrement values, TOC entries and so on. Since these objects is subject to continuous changes it always produces the huge di...
Hi there,
We have a DotNetNuke application for which we build a number of modules and lately it seems a specific problem keeps coming up.
The modules we build make use of a third party DLL from Telerik.
Some of the older modules use the DLL that targets .net 2.0 whilst others use the DLL that targets .net 3.5
We now get conflicts w...
Hi everyone,
Is it possible to leverage eclipses built-in local history to create and save versions. I find local history very useful, but if I could restore the whole project to a previous state that would be even better. I've considered using version management, but it seems unnecessary as I am the only person working on my project. A...
Hi,
We are in a middle of an migration process of converting EJB2.1 entity beans to EJB3 we have chosen Hibernate as JPA 1.0 provider in Weblogic.
We would like to disable auto. increment of entity version when persisting. Is it possible to turn of this feature? (as in property or persistence.xml?)
Do JPA 1.0 support pessimistic lo...
Hello!
I would like to create a system for storing and updating the following pieces of information relating to clinical research studies:
research study guidelines
agreements
study status
principal investigator
research coordinator
billing instructions
reporting methods.
interesting research/teaching cases
The information needs to be...
I'm trying to work out if it is possible to come up with a solution for branching by feature even if part of my application is based on inherently non-mergeable (i.e. binary) files.
The only (obvious) ideas I have come up with:
Keep a note of all changes and merge by hand
Implement merge in the tool that generates the files
I fear ...
I copied over my project to another PC. I have a reference to a assembly on my project.
On this new PC, a higher version of this referenced assembly exists. I keep getting a warning each time I compile. The warning is along these lines.
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3247: Foun...