I'm reading the book Spring Recipes right now, and am puzzled by one thing: Any exceptions are thrown as a subclass of DataAccessException, a RuntimeException you're not meant to ... |
I nedd to localize application and now files are loaded from text files. Is it possible to change source to database?
This is how localized messages are now loaded:
<!-- Application Message Bundle ...
|
I'm developing a project with Flex, Spring, Hibernate, MySQL, Tomcat, but one of the functionality is: " i have to store a mathematical rule like for example " a+b " into ... |
Specify Database Vendor In the interest of efficiency, can we specify the RDBMS vendor somewhere, so the framework does not have to do this for every single database command (Thanks): Sep ... |
Urgent Help needed - Composite writer with two diff databases We are doing a proof-of-concept for using Spring and Spring Batch in an existing application to cut costs. Without explaining the ... |
STS, Maven, Server and DB HI - I am very new to java. I want to set up my local environment. I have jdk version 1.6 and my path and java_home ... |
Retrieving login information from database Heya guys! I've just begun using spring-security and I've encountered a problem, I can't seem to find how to retrieve username, password and Role from a ... |
|
Hi friends, I am wondering if it is possible to load dynamic pointcut expressions from database. I have to calculate the method execution times for class methods configured dynamically through the ... |
Originally posted here. I need to make a legacy application start using spring security 3. This app already has its security data model. The follow diagram illustrates: Very simple by far. ... |
SpringBatch without SpringBatch internal DB / database Hi, I've been searching around the forums but I haven't found a good solution to running SpringBatch without its internal tables. I'd say that ... |
11. multi db forum.springsource.orgHi . Im using meaven,jetty and sql. What do i have to if i want my application to be able to save the data in different databases in same time. I ... |
Possible to make an application without database Hi I want to make web-application (front-end application) without any database. My application is going to be a front-end to some REST/Webservices back-end. However ... |
Hello, I am trying to write a simple batch job that reads from a flat file and writes the data to database tables. I have the job running properly when everything ... |
Decrease in fetch - speed (on the UI) with increase in db entries Hi, We have a large model and the UI that was generated by Roo became so slow it's ... |
Database ItemReaders - which one better? Hi All, This might not be a question purely related to Spring Batch, but thought if someone could help me out I have a table ... |
May 18th, 2011, 05:47 PM #1 luisb View Profile View Forum Posts Private Message Junior Member Join Date May 2011 Posts 5 Database Insert problems Hey guys, I have an issue ... |
Hi, I use Hibernate to map my database, I use also the reverse engineering to convert fast my database. I have two databases. I apply the reverse engineering one, It works ... |
JobRepositoryFactoryBean and dataBase hey, am still new in spring batch and i have some questions hope you can help me with!! 1-i want to use a JobRepositoryFactoryBean so do i have ... |
Cross database context issue Hi guys, I've a pickling issue that I'm sure someone out there has encountered before, if maybe a slightly different scenario. Essentially, I'm using Spring and Hibernate, ... |
Loading Image from DB Hello developers, how do i load image from my datbase(mysql) cause i can't get it correctly.The image doesn't load. this is my entity class: Code: @Entity public ... |
Recovering from Transient Database Outages Hi, I have set up a test application based on the JPetstore application. It uses the iBatis database mapping layer with a Commons basic data source. ... |
Anyone has implemented any audit trail solution for Spring? Could you give me some idea or even source code? My wish is to have a audit trail interceptor catching the method ... |
|
Jul 20th, 2011, 09:15 AM #1 presidentrodel View Profile View Forum Posts Private Message Member Join Date Apr 2011 Location General Santos City, Philippines Posts 42 Trouble in removing from DB ... |
Two/Dual Databases Hello! I've gone through many threads of how to use spring roo with two databases but none are sufficient I feel. Specifically I need one database to be reverse ... |
Enums in a database Hi I have a drop down list of enums (think the pet clinic example). When the values are stored in the database they are stored as their ... |
Using the database transactioning. I am converting some of the code in use for a while to use the spring. Currently I am trying to use the transactioning support in spring ... |
Recovering from abnormal shutdown (with a persistent database) We have a long running spring context that is a part of our batch + integration system, if the container that runs batch ... |
Replicating databases maintaining consitency Hi, I 've a system which provisioned data into a database..., today's requieriment is to have two databases and perform certain actions on both databases. I 've ... |
Hi, I have created a Roo application using the reverse engineering feature and I am having the following problem: Object fails to get updated, instead I see a new record added ... |
Maybe the question itself was somewhat fuzzy... I'll try to explain how I mean: We have quite a few different environments; test, stage, prod and so on. And the test-environment might ... |
truly dynamic number of database instances Hello, I need to setup a component that uses Spring and it receives as input parameter the number of database instances and the needed properties ... |
Hi Guys, Good day. I am new to Spring and its DI. Basically, I want to pass a value in appContext dynamically coming from my database. For example, in applicationContext: Code: ... |
deployment build issues with DB on another machine I have my site on one IP and my MySQL server on another. I can't connect directly and must use ssh. So I ... |
I am trying to do some junit tests, but I need some data on the database. For example, I have a table with all the provinces, so I want the provinces ... |
I have a databases which references rows to another database. Using them both in transactions and such is easy. The ugly part is displaying data from both databases. Currently I have ... |
I'd like to be able to grab the next primary key id (or maybe the last id used + 1) from a table so I can set an image name that ... |
Is there a Bugzilla or something similar for Spring? The Sourceforge page lacks the usual "Bugs" link, and I could find nothing on springframework.org. Thanks. rodney |
Not flushing changes to database Hi I am currently using spring 1.1.3 and hibernate 2.1.7. I am new to these and used the xample to model my simple situation of saving ... |
commons database pooling initialize? Hi whats the best way to initialize a commons pooling Datasource with Spring? currently I have an Init servlet that runs the following code: Class.forName("org.apache.commons.dbcp.PoolingDriv er").newInstance(); Class.forName("com.mysql.jdbc.Driver").newInstance ... |
Where's the database? - Newbie Question Previously with JDBC connections we (I) created a properties object and set the "DatabaseName".... This is not taking place in the Spring examples. How does ... |
login fails once when DB is restarted Not sure if this is a database pooling issue or Acegi issue. My web app was left running overnight however the database was shutdown ... |
Database fallback strategy Hello Spring-Fans, maybe someone of you can give me some hints for the following problem: I have multiple databases (Oracle and MySQL) which are replicated on slave-servers. The ... |
Issue when trying to save to the database. Hi Guys, Quick Question on this one. I am using Spring to manage hibernate for me. I try and save an object but ... |
Accessing two databases, one readonly Hi, in my application I have now to access two databases. The first one, that I'm already using, is accessed thru Hibernate, using a DBCP connection ... |
Placing API in the database, Business Rules in the database Rod's books have indicated that the use of stored procedures is more than acceptable, but indicates that business rules do not ... |
Hi all!!! Can somebody tell me how can I populate my drop-down list in my jsp page from a table stored in database. Thanks for you help!!! |
Database exception handling Hi, I use Oracle in my day to day projects. Our organisation mandates all db interaction is via stored procs. I have seen exisiting code take an pproach ... |
|
Can you post some code from the OSWorkflow example (I'm searched the example bundled with the distribution but I didn't find any JNDI reference)? With the current support of OsWorkflow you ... |
I would subclass MethodInterceptor and provide a means to inject a DataSource for accessing the database. Since you likely want to measure performace independently of errors I would refrain from taking ... |
Hi, How can I detect a change in my database from my java source code? javax.sql has a RowSetListener where an interested component can listen on to a RowSetEvent when there ... |
Exception while accessing DB Hi, My application an not find the Data base connection due 2 following exception. org.springframework.jdbc.UncategorizedSQLException : Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL ... |
Problem facing in poulating dropdown, by getting values from the database Hi all, I have got one entry page, where i want to populate the dropdowns by getting the values from ... |
database application design I am pretty new to Spring, I would like to know if this framework along with its Rich Client module, does provide RAD development for database oriented software ... |
Hi, I am at the moment creating the design of a rich client application. I have come across spring in the past when searching for a framework for a web project. ... |
Database view resolver Has anyone implemented a database resource view resolver ? I would like a view resolver which can be extended in real time. Ie a live server where customers ... |
JOTM Not rolling back db state Could someone please take a quick look at my app context and tell me why I can't get JOTM to roll back database state after ... |
Hi, I have a scenario where I added some more fields in user table. I don't want user to login automatically after signup. Instead I want a notification mail to user, ... |
May 23rd, 2006, 02:03 PM #1 viniciuscarvalho View Profile View Forum Posts Private Message Senior Member Join Date Jun 2005 Posts 129 Empty Result from database Hello there! I'm really not ... |
When I unplug my network cable, my code gets stuck in the method getHibernateTemplate(). After x seconds (1 minute? I haven't timed it but it's not short) the database connection times ... |
default values specified in the database I have written my pojos to be similar to the pojos in the examples directory of the downloads where the member variables don't have a ... |
Optimizing Derived Values from a Database A colleague of mine and I got into a discussion about calculating derived values from data located in a database. In our case, we have ... |
Confusion around spring/db usage Im having some problem understanding the differences and usage of the Spring jdbc support. I am hoping someone could help me clear a couple of things up. ... |
Problem inserting to Database I am trying to insert the record to DB using org.springframework.orm.hibernate3.HibernateTempla te. Everything is going fine no error on the console but when I try to see ... |
|
Spring - Database Commit Fails Hi All, A very fundamental issue using : Spring 1.2.8, Hibernate 3.1, DB2 and JBoss 4.0.2 I am trying to use Spring Declarative Transaction Support but ... |
Sep 18th, 2006, 02:53 PM #1 ccollins_29687 View Profile View Forum Posts Private Message Junior Member Join Date Sep 2006 Location Greenville, SC Posts 8 loadAll going to Database? I'm trying ... |
Conflict with Eclipse 3.2, Spring IDE plugin and Quantum DB plugin? Hello. I've been using the spring plugin and the quantum database (http://quantum.sourceforge.net/) plugins for a while. I was able to ... |
Dynamically switching databases HI all, We are stuck with one problem , We are switching from one database to other database which has same schema but Different data base using hibernate ... |
StaleConnectionException while accessing mutiple databases I'm using Spring 1.2.8 , Hibernate 3.0 and Websphere 5.1 and found out some time I do get StaleException when application is running longer and it ... |
Proxy, load from db when touched. Hi. I'll start by describing the problem... In my domain model, I have a one-to-many relationship. The relation to the objects on the many side ... |
Nov 21st, 2006, 10:28 PM #1 newbieMA View Profile View Forum Posts Private Message Junior Member Join Date Nov 2006 Posts 2 Support unlimited number of (dynamically configured) databases This is ... |
Hi, I'm with a problem to insert data into a database. I have an CRUD application, and when the user input your data in a form and submit, all the fields ... |
Does the Spring team intend to tackle the problem of automatic database migration? Spring likes to solve those problems in the enterprise space that are ubiquitous and prone to wheel reinvention; ... |
How to design a DB aware component... Trying to figure out how to best architect a component with the following characteristics: This component will be used by multiple threads in an ... |
Synchronizing database state - a Hiberate issue I run into a Hibernate issue with a many-to-many relationship. It seems to me that is a Hibernate session management issue within Spring. Code: ... |
Hi Folks, I am new to Spring Framework. I have one basic question. I dont have any database operations in my class. So not even configuring the datasource can i make ... |
Application supporting many databases Hello Note: This is not a question directly related to spring. I'm developing a webapp using spring/spring mvc. I am asked to build it in a way ... |
Database Persistence Hello, I've been going through the tutorial from the spring website using RAD 6, and everything has been going well so far. I'm at the database persistence part of ... |
What's the best strategy to work with legacy DB with integrat. in differ. projects? Hello, I have a big decision to make for a system that's going to production. My project ... |
Mar 25th, 2007, 01:49 PM #1 raynic View Profile View Forum Posts Private Message Junior Member Join Date Mar 2007 Posts 15 AbstractTransactionalSpringContextTests with setComplete() - no database entries Hi, i ... |
Database Replication I'm just doing some investigation into database replication. The application is currently uses HSQLDB or MySQL (it could work with any other database if required). The application is starting ... |
OracleConnectionCacheImpl : reconnect after database outage I have a dataSource defined to use OracleConnectionCacheImpl as follows: Code: database.url=jdbc:oracle:thin:@10.0.10.115:1521:orcl user password ... |
85. accessing DB forum.springsource.orgaccessing DB Hi, I'm new to Spring (didn't even download it yet...). I came here because I have an application which needs to access a database. I didn't want to create ... |
Ways to provide a database (model) Hi, my webapp is working, I could not happier. But one question remains. What is the best practise to deliver the database used as data ... |
What to extend to provide dynamic Config Attributes from a database Hi everyone I have a question regarding methodInvocation security. I usually annotate the methods that I want to secure with ... |
Hi all, we are using spring/ibatis combination for our jsr168 portlet development. Our database is oracle and there are some stored procedures to check user input data and throw oracle errors, ... |
Which transactionManager do you use? If you use the basic DatasourceTransactionManager you can only assign one datasource to it. The other will be ignored. Can you post your whole (relevant) config. ... |
JComboBox fillup reading from database I am facing problem in displaying JComboBox. I have DAO which returns me the List. I know this is correct because I have TestCase to verify. ... |
how to create a JbpmTemplate with a ProcessDefinition that stored in database? I can get a JbpmTemplate with ProcessDefinition defined in a xml by: Code: <!-- helper for reading jBPM process ...</p> |
I'd like to use Java constants (public static final) to be able to make comparisions like myProcess.getState.equals(ProcessState.CLOSED), but I'd also like them to be in the database. In my example, I'd ... |
Populating jbpm DB using Spring Hi all, I am facing a problem in creating the schema using spring for JBPM. I am using spring to populate my Database for the process ... |
[Lucene] Mixed directory & db approach? Hi everyone, I've been thinking if there's a simple way to mix the mass directory indexing approach and the db-approach. Want I would ideally like ... |
Spring + Log4j + Database Hi. I wanna use log4j for logging in my application but i need to write all logs to a database. The objective is to analyse the ... |
Hmm, I'm not sure how this is related to spring web services. If you're making a web application, spring mvc might be the project you're using and maybe the right forum ... |
In our project (Struts, Spring, Hibernate) we create a custom tld for the combobox, and then in the combobox we configure which Hibernate NamedQuery to be call. So during rendering the ... |
|
Programatically setting the database URL I want to set the database url programmatically to something the user can write in from a GUI. Normally something like this is written in the ... |
Database exceptions not translated by the SQLErrorCodeSQLExceptionTranslator We have transactions that spans call to hibernate daos (hibernateTemplate) and jdbc daos (jdbcTemplate). All daos use the same dataSource. First we tried with ... |