1,079 questions
141
votes
5
answers
109k
views
Migrating from JSF 1.2 to JSF 2.0
I am working with a rather large app written in JSF 1.2.
JSF 1.2 is around 6 years old now. I need to upgrade to JSF 2.0. How painful will this be? I noticed that some attributes in custom tags have ...
310
votes
5
answers
118k
views
Version of SQLite used in Android
What version of SQLite is used in Android?
I'm wondering how to handle schema migrations. The newer SQLite versions support an ALTER TABLE SQL command which save me from having to copy data, drop the ...
130
votes
13
answers
233k
views
Java error: Comparison method violates its general contract
I saw many questions about this, and tried to solve the problem, but after one hour of googling and a lots of trial & error, I still can't fix it. I hope some of you catch the problem.
This is ...
272
votes
27
answers
1.1m
views
SQL Server String or binary data would be truncated
I am involved in a data migration project. I am getting the following error when I try to insert data from one table into another table (SQL Server 2005):
Msg 8152, Level 16, State 13, Line 1
...
257
votes
42
answers
345k
views
Migration: Cannot add foreign key constraint
I'm trying to create foreign keys in Laravel however when I migrate my table using artisan i am thrown the following error:
[Illuminate\Database\QueryException]
SQLSTATE[HY000]: General error: 1215 ...
266
votes
17
answers
384k
views
Quick easy way to migrate SQLite3 to MySQL? [closed]
Anyone know a quick easy way to migrate a SQLite3 database to MySQL?
179
votes
17
answers
551k
views
How to implement LIMIT with SQL Server? [duplicate]
I have this query with MySQL:
select * from table1 LIMIT 10,20
How can I do this with SQL Server?
88
votes
15
answers
87k
views
Using Rails, how can I set my primary key to not be an integer-typed column?
I'm using Rails migrations to manage a database schema, and I'm creating a simple table where I'd like to use a non-integer value as the primary key (in particular, a string). To abstract away from my ...
52
votes
6
answers
14k
views
Problem Updating to .Net 6 - Encrypting String
I'm using a string Encryption/Decryption class similar to the one provided here as a solution.
This worked well for me in .Net 5.
Now I wanted to update my project to .Net 6.
When using .Net 6, the ...
9
votes
1
answer
37k
views
Migration from Struts 1 to Struts 2
I am planning to migrate to the Struts 2 with the Struts 1 code base. I am not getting any good source to proceed on this migration. Could you please help on this approach?
129
votes
13
answers
127k
views
Warning about `$HTTP_RAW_POST_DATA` being deprecated
I switched to PHP 5.6.0 and now I get the following warning everywhere:
Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will
be removed in a future version. To avoid this ...
1586
votes
32
answers
645k
views
How can I rename a database column in a Ruby on Rails migration?
I wrongly named a column hased_password instead of hashed_password.
How do I update the database schema, using migration to rename this column?
55
votes
3
answers
71k
views
Calling 32bit Code from 64bit Process
I have an application that we're trying to migrate to 64bit from 32bit. It's .NET, compiled using the x64 flags. However, we have a large number of DLLs written in FORTRAN 90 compiled for 32bit. ...
346
votes
19
answers
234k
views
Maven is not working in Java 8 when Javadoc tags are incomplete
Since I use Maven I have been able to build and install in my local repository projects that have incomplete Javadoc tags (for example, a missing parameter).
However, since I migrated to Java 8 (1.8....
105
votes
8
answers
47k
views
Loading initial data with Django 1.7+ and data migrations
I recently switched from Django 1.6 to 1.7, and I began using migrations (I never used South).
Before 1.7, I used to load initial data with a fixture/initial_data.json file, which was loaded with the ...