Does anybody know of a good list of what is new in JPA 2? Not what is new with Hibernate/TopLink in the version that supports JPA 2 but what is new in the actual spec.
I made an app built it in debug mode and want to run in on another machine.
There is an error:
the application failed to start because its side-by-side configuration is incorrect
What are possible solutions for that?
I need to have debug version
Is there any way for a before_save filter to halt the entire save without halting the transaction? What I'm trying to do is have a "sample" version of my model that the user can interact with and save but the changes themselves are never actually saved. The following will halt the transaction and (naturally) return false when I call @model.update_attributes:
before_filter :ignore_changes_if_sample
def ignore_changes_if_sample
if self.sample?
return false
end
end
Thanks!
Some times when the URL is clicked it navigates to the videopage, but I am hearing audio but not seeing any video. Why might this be?
I am using the latest version of Flash Player 10. The SWF in question was created in Flash 9 (CS2).
var s1 = new SWFObject("flvplayer.swf","single","560","400","7");
===
What is wrong with this?
I know that ASP.NET MVC 1.0 is bin-deployable as explained in Phil Haack's article.
Is ASP.NET MVC 2.0 also bin-deployable? Has anyone done this already that can point out potential pitfalls specific to version 2.0 if there are any?
I would like to deploy a relatively simple ASP.NET MVC 2.0 onto a Windows 2008 Web server that does not have ASP.NET MVC 2.0 installed. It is running .NET Framework 3.5 Service Pack 1.
Thanks!
I am new to maven and hit a problem that looks easy in the first place but I already kept me busy for a whole day about and no way to get it working.
First as part of running eclipse:eclipse plugin I create a linked folder like below:
<linkedResources>
<linkedResource>
<name>properties</name>
<type>2</type>
<location>${PARENT-2-PROJECT_LOC}/some_other_project/properties</location>
</linkedResource>
<linkedResource>
<name>properties/messages.properties</name>
<type>1</type>
<location>${PARENT-2-PROJECT_LOC}/some_other_project/properties/messages.properties</location>
</linkedResource>
And then I am adding that folder as a source folder like below:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>properties</source>
<source>some_real_folder</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
However when I am looking at the generated .classpath in eclipse the “some_real_folder” is there but the “properties” is not. It looks like by default the build-helper-maven-plugin will check if the folder is there and if it is not it won’t add it.
I am using maven 3.0.4 outside eclipse to run the build and I can see in the maven logs something like this:
[INFO] Source directory: <some path>\properties added.
This is my project structure:
project1
\-- properties (this is the real folder)
project2
\-- some_real_folder
\-- properties (this is the link resource pointing to the project1/properties folder)
All I need is to have both "some_real_folder" and the linked resource "properties" added to the .classpath of the project2
What I've googled so far is that the upcoming BizTalk 2009 R2 will be supported in VS 2010. Nothing is said however regarding support for the current BizTalk 2006 R2 version.
Anyone knows whether BizTalk 2006 is supported in Visual Studio 2010?
if(get_magic_quotes_gpc())
{
$location_name = trim(mysql_real_escape_string(trim(stripslashes($_GET['location_name']))));
}
else
{
$location_name = trim(mysql_real_escape_string(trim($_GET['location_name'])));
}
That's the code I have so far. seems to me this code is fundamentally ... OK. Do you think I can safely remove the inner trim(). Please try not a spam me with endless version of this, I want to try to learn how to do this better.
Is there a command that will convert ASCII into blob?
I have the following table:
sample_table:
-------------
id : NUMBER
type : NUMBER
version : NUMBER
data : BLOB
When doing the following command:
insert into sample_table values (1, 0, 1, '');
I'm getting the following error: ORA-01465: invalid hex number.
How can I find the path to the user's temp folder (e.g. C:\Users\lisnil\AppData\Local\Temp) from Flash/AS3? It needs to work on any version of Windows, at least XP, Vista and 7.
I am running Symfony 1.3.2 on Ubuntu. I need to write a batch script that can:
Access the database using the ORM
Send email(s)
IIRC, this was in a previous cookback, but I thing that was for an earlier version of Symfony (the API may have changed since).
Does anyone know how I may access the database via the ORM layer in a batch script and also how to send out email(s) in a batch script?
I'm using GNU Emacs on Win32.
I want to be able to run jslint as a compilation on .js files, and then step through the errors that jslint reports.
I have jslint, the WScript version.
Hello,
does anyone know something about the future of Microsoft Enterprise Library? The last version was released in october 2008; will it be in use anymore? or should I watch for another equivalent library?
Thanks
I just want to make sure I'm understanding the documentation correctly. If I add System.Data.SqlServerCe as a reference in my Visual Studio 2008 project, compile it, and copy the contents of the "bin\Release" directory to a Windows machine that has the latest version of the .NET framework, will it just work? Or do I need to do something else?
I downloaded the free 10g Express. When I tried downloading the "free" Application Express development tool version 3.2.1 it gave me an error message saying it could not find that download. Anyone have any idea whats going on with this?
Soon I'll be launching my new site and i was planning on using gmail as the email server for things like registration and lost password.
I'll be using google apps (free version) so I can have [email protected].
Besides the 500/day limit are there any other potential problems with using gmail for this service?
am almost done with my project in android, now I want to make the executable version of the application.
I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse.
hi,
I am developing a multi-language site in django.
In order to improve SEO, i will give every language version a unique URL like below,
english: www.foo.com/en/index.html
french: www.foo.com/fr/index.html
chinese: www.foo.com/zh/index.html
However,
Django looks for a "django_language" key in user's session or cookie to determine language in default,
so,Despite which language user chose,
URL is always the same. for instance: http://www.foo.com/index.html
how to resolve this problem ? thank you!
Hi all,
my first question on stackoverflow!!
I'm usgin the last NANT version: 0.90
How do i specify the lib names using the task?
Example: how do i link with the gtest.lib?
Morover i have a curisoity: why NANT doesn't allow an external property file?
Example:
It would be great if one of the developer answers.
Is there a ratio or is only not enough developing time?
I am using Artistic Style version 1.24(http://astyle.sourceforge.net/) for indenting the C++ program but while indentation,it crosses the column 78.Does it contain any option to prevent this?
Given:
var
isIE = $.browser.msie && !$.support.opacity,
isIE6 = isIE && $.browser.version < 7;
Which would be faster:
if(isIE6){ doSomething(); }
else { doSomethingElse(); }
OR
if(!isIE6){ doSomethingElse(); }
else { doSomething(); }
Are they exactly the same in terms of speed?
Hi All,
What LayoutManager should I use to achieve a transposed version of FlowLayout?
Essentially, I want a vertical list which occupies multiple columns if it can't fit all of it's components within one column.
+------------------------+
| item 1 |
| item 2 |
| item 3 |
| item 4 |
| item 5 |
| item 6 |
| item 7 |
| item 8 |
+------------------------+
or
+------------------------+
| item 1 item 7 |
| item 2 item 8 |
| item 3 |
| item 4 |
| item 5 |
| item 6 |
+------------------------+
Is it possible to update an EXEs AssemblyInformationalVersion attribute? I'm trying to include additional information in the setup.exe output from an InstallAware project rather than just the standard 4 digit version info.