Questions tagged [javalite]

JavaLite is a collection of frameworks including ActiveJDBC (an ORM) and ActiveWeb.

JavaLite is a collection of frameworks including and .

http://javalite.io/

123 questions
0
votes
1 answer

IntrumentModels' task: Model class is frozen

I started a little project using Spark Framework and I chose ActiveJDBC as its ORM, It's using Gradle to build all whole thing. (UPDATED, IT WAS USING ActiveJDBC 1.4.12) Here is my build.gradle file: buildscript { repositories { …
Aleff
  • 257
  • 1
  • 3
  • 13
0
votes
0 answers

Issue when updating DB Model column with empty value

I recently upgraded to activejdbc 1.4.12 and I'm noticing a different behavior when updating a record with empty values. Please check example below: public void createClient() { // create new client Client client = new Client(); …
ccarvalho
  • 11
  • 1
0
votes
1 answer

Model instrumentation for inherited classes - ActiveWeb

I have inherited model classes: public class AbstractUser extends Model and public class User extends AbstractUser I'm attempting to extend from a base project into several children project. The Users in each project will have many similar base…
javastunt
  • 20
  • 6
0
votes
1 answer

Activeweb/ActiveJDBC with C3P0 database connections

I'm attempting to get an ActiveWeb/ActiveJDBC connection configured to use C3P0 for connection pooling. I know the documentation provided by Javalite says each transaction will be a single opened/closed connection, but does also mentions we can…
javastunt
  • 20
  • 6
0
votes
1 answer

how to customize xml headers

I have a resultSet formed by: LazyList deliveryLabels = DeliveryLabel.findBySQL(sql); String wxml = deliveryLabels.toXml(true, true); The xml generated start with:
0
votes
1 answer

ERROR: relation "projectfile" does not exist in Activejdbc even if table exists

I am getting the following error: org.javalite.activejdbc.DBException: org.postgresql.util.PSQLException: ERROR: relation "projectfile" does not exist Position: 25, query: SELECT customer.id FROM projectfile LEFT JOIN project ON…
Cosmin D
  • 639
  • 1
  • 11
  • 24
0
votes
1 answer

Maven build fails to instrument classes

I am getting the following error when running a maven build. Seems to not be able to instrument classes. Anyone has an idea what should be the cause? Thanks. Here is build output: [ERROR] Failed to execute goal…
Cosmin D
  • 639
  • 1
  • 11
  • 24
0
votes
1 answer

ActiveJDBC: integer[] on PostgreSQL with multiple schemas in one DB

I am trying to use ActiveJDBC to properly convert an integer[] from my PostgreSQL database into the java equivalent int[]. I get the fetch done properly, but the object that is returned is weblogic.jdbc.wrapper.Array_org_postgresql_jdbc_PgArray. I…
E Lopez
  • 3
  • 2
0
votes
1 answer

An activeweb-bootstrap can not find controller

I dowloaded the ActiveWeb Bootstrap project from gtihub and have troubles with it. First, it was imposssible to import it into Eclipse so I executed mvn eclipse:eclipse and then imported the project into eclipse and converted it to maven. Then I…
rozero
  • 149
  • 3
  • 15
0
votes
1 answer

How to clear EHCache?

I'm in the process of upgrading JavaLite ActiveJDBC from EHCache 2.x to v 3.x. It looks APIs changed dramatically, and I can find equivalents of what I need in v 3.x, except for one: How to clear all caches? For example, in v2.x, I could do this:…
ipolevoy
  • 5,432
  • 2
  • 31
  • 46
-1
votes
1 answer

Table not found exception using javalite

So I have a very simple table I made in SQL using h2 CREATE TABLE USERS( username varchar(255) NOT NULL, password varchar(255), ); I'm trying to use javalite to add an entry to it so I made this following the instructions on the…
-1
votes
2 answers

Instrumentation using gradle on Android App

i am using ActiveJDBC for my Android App, and Im having trouble on instrumentation. Here is my build.gradle apply plugin: 'java' apply plugin: 'org.javalite.activejdbc' buildscript { repositories { google() jcenter() …
-1
votes
1 answer

org.javalite.activejdbc.DBException: Could not find configuration in a property file for environment: development

I want to add a quartz job scheduler on my project, but when I run the project there is an error like that, how do I get the quartz job scheduler to read my database.properties? Thank you very much for your answer, Mr Igor, my problem is I already…
Kurokido
  • 1
  • 1
-1
votes
1 answer

org.javalite.activejdbc.DBException: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

Getting org.javalite.activejdbc.DBException frequently while connecting to DB using activejdbc** Please help to know why this is happening frequently?? exception occurred while getting user : …
-1
votes
1 answer

javalite async event processing failed with error [client] - AMQ214008: Failed to handle packet java.lang.UnsupportedOperationException

please anybody help to fix this issue?
**I am getting issue [client] - AMQ214008: Failed to handle packet java.lang.UnsupportedOperationException while processing the command data in javalite async?**
[2018-03-30…
1 2 3
8
9