Displaying 20 results from an estimated 200 matches similar to: "rake db:migrate failing against oracle"
2011 May 07
4
Activerecord::JDBCError: Invalid column number
Hi,
I''m rather new to Ruby and RoR, so I do not really know whether this ist
the right forum to place my question.
For my first ''project'' I planned to create a simple online-viewer, which
grabs data from an existing database and make them visible in a
structured form via browsers. So I thought that could be the right
beginner-project, because I have only read datasets
2011 Jun 09
1
Rails 3.1 RC4 has broken migrations
Rails 3.1 RC4 has broken migrations
$ jruby -v
jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_24) [darwin-x86_64-java]
$ jruby -S rails -v
Rails 3.1.0.rc4
$ jruby -S rails new myapp -d jdbcpostgresql
[...]
$jruby -S rake db:create
[...]
$ jruby -S rails g model user name:string
invoke active_record
create
2013 Feb 14
4
Struggling with Jruby Rails + jdbc driver
hi all,
I am having a hard time trying to find out what''s wrong with my setup. It
used to work smoothly until I decided out of the blue to do a selfupdate
and upgrade outdated on MacPort, then things started going south very
quickily.
Since MacPort kinda broke, I pull it all out and re-install the ports I
have before, which went pretty smoothly. Then to my surprise any command I
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
I''m getting the following error while connecting to mysql using
activerecord-jdbcmysql-adapter (1.0.2). Rails 3.0.1.
ActiveRecord::JDBCError: Generated keys not requested. You need to
specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate()
or Connection.prepareStatement().: SET SQL_AUTO_IS_NULL=0
This occurs not matter what application I run it in to e.g. rake,
rails
2007 Mar 05
1
RJDBC
I need help.
I'm trying to connect with an Oracle DBMS and MySQL DBMS, I'm using
RJDBC package.
My code is the next:
library('rJava')
library('DBI')
library('RJDBC')
//Mysql
drv <-
JDBC("com.mysql.jdbc.Driver","C:\\Temporal\\mysql-connector-java-3.0.9-stable-bin.jar","'")
conn <- dbConnect(drv,
2010 Nov 24
1
RJDBC doesn't load Oracle driver?
After installing RJDBC on RedHat Linux and using it successfully with mySQL
JDBC driver i am trying to use it with Oracle database. I use the JDBC
driver that works fine elsewhere (use it in DBVizualizer). However, when i
try to load the driver,
drv<-JDBC("oracle.jdbc.driver.OracleDriver",
"/home/az05625/DBdrivers/ojdbc6.jar", identifier.quote="`")
it gives me
2011 Mar 31
1
Question about setting database config without database.yml
A little background.
We are deploying a rails app on jboss by using warbler and the app is
using rails 3.0.3.
There are several parameters the customer may need to change. Some of
these parameters include database connection information, ie shema,
username, password, host, port, and database. We are connecting
through oracle thorugh the jdbc adapter.
My problem lies in the fact that I cannot
2016 Sep 23
0
[ANNOUNCE] xproto 7.0.31
A bit of a brownbag release; sorry I didn't catch the typo in review.
Keith Packard (2):
Fix typo __has_extenstion -> __has_extension
xproto 7.0.31
git tag: xproto-7.0.31
http://xorg.freedesktop.org/archive/individual/proto/xproto-7.0.31.tar.bz2
MD5: 16791f7ca8c51a20608af11702e51083 xproto-7.0.31.tar.bz2
SHA1: 779fa333c5522cca40ca810c25a8fa60b6ccedfb xproto-7.0.31.tar.bz2
2007 Mar 05
0
RJDBC
I need help.
I'm trying to connect with an Oracle DBMS and MySQL DBMS, I'm using
RJDBC package.
My code is the next:
library('rJava')
library('DBI')
library('RJDBC')
//Mysql
drv <-
JDBC("com.mysql.jdbc.Driver","C:\\Temporal\\mysql-connector-java-3.0.9-stable-bin.jar","'")
conn <- dbConnect(drv,
2012 Oct 04
1
Intermittent connectivity issues for JDBC / Oracle
I have been experiencing issues with an R script hanging when connecting to
an Oracle database. To help debug, I found a function here in the nabble
forum and made a small test script:
#!/usr/bin/Rscript --no-restore --no-save --no-init-file
library("RJDBC")
drv<-JDBC("oracle.jdbc.OracleDriver","/home/oracle/lib/ojdbc6.jar", "'")
dbCheck =
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a
migration. i created a demo app (the demo_app from michael hartl''s
tutorial) as usual: rails new demo_app, rails generate scaffold User
name:string email:string, and when i do rake db:migrate, this stack appears:
rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment
2010 Oct 30
12
Anyone successfully ran JRuby 1.5.3, Rails 3, Tomcat6
Hi,
I''ve been trying to get JRuby 1.5.3 with Rails 3 to run on the Tomcat6
server with little success.
Has anyone been able to do this? If so, what issues did you have to
overcome to get this to work?
Also, is this a combination that you would recommend for a production
site, or is it all too new and untested?
The latest issue I''m stuck on right now is with the mysql-connector-
2013 Feb 17
0
Can Cisco 5XX phones share asterisk phone directory?
Hi!
Please is it possible for Cisco 5XX phones to use asterisk/FreePBX phone
directories, and if so, how?
Thanks in advance!
On Feb 17, 2013 6:40 PM, <asterisk-users-request at lists.digium.com> wrote:
> Send asterisk-users mailing list submissions to
> asterisk-users at lists.digium.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2012 Jun 03
3
Modify pdf file with Illustrator.
Dear list,
Some times I want to modify the pdf file which produced by R with
illustrator. But when I use Illustrator open the pdf file, it often
makes the pdf some little changed. Anyone have some suggestions? Is it
better to use other file type, not pdf? Or when I produced the pdf, I
should set some other parameters?
Thank you
2013 Feb 02
2
rake db:migrate problem
mini@mini:~/Sites/music_library$ rake db:migrate
rake aborted!
couldn''t parse YAML at line 28 column 6
/home/mini/my_gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in
`database_configuration''
/home/mini/my_gems/gems/activerecord-3.2.9/lib/active_record/railtie.rb:78:in
`block (2 levels) in <class:Railtie>''
2006 Nov 15
2
ODBC Voicemail Storage
I current have a working Asterisk 1.2.12 server with ODBC voicemail storage,
realtime static maps for voicemail, sip and iax configuration files.
Realtime extensions, etc. All works great. I have verified that this
configuration works on my test server as well. Now I am trying to test the
1.4B3 version on the same test server, and all works well except for ODBC
voicemail. I am using the same
2009 Jun 05
2
[PATCHv3 12/13] qemu: virtio save/load bindings
Implement bindings for virtio save/load. Use them in virtio pci.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
hw/virtio-pci.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++-
hw/virtio.c | 31 ++++++++++++++-----------------
hw/virtio.h | 4 ++++
3 files changed, 66 insertions(+), 18 deletions(-)
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index
2009 Jun 05
2
[PATCHv3 12/13] qemu: virtio save/load bindings
Implement bindings for virtio save/load. Use them in virtio pci.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
hw/virtio-pci.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++-
hw/virtio.c | 31 ++++++++++++++-----------------
hw/virtio.h | 4 ++++
3 files changed, 66 insertions(+), 18 deletions(-)
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index
2005 Dec 23
0
RE: Maintaining a Dev and a QA environment
Since I develop on one platform and my production servers will be on
another, I use virtualization a lot. You can use Microsoft Virtual PC,
or VMWare''s products. I am using Microsoft''s Virtual Server, which has
a free download, and a 180 day evaluation license. Despite the name, it
runs on Windows XP too.
With enough memory, I can run a QA system, or a full production
2006 Dec 21
0
how does capistrano get the ENV?
I don''t have the same environment variables with a capistrano task as I
do with a conventional ssh session.
When I ssh in and try "env" I see my GEM_HOME and GEM_PATH environment
variables from my ~/.bash_profile (I also have a .gemrc file).
But when I try "cap shell" and "env" I don''t see the GEM_HOME and
GEM_PATH environment variables.
How do I