grouper-users - Re: [grouper-users] creating empty groups from an SQL source
Subject: Grouper Users - Open Discussion List
List archive
- From: Jeff McCullough <>
- To: Shilen Patel <>
- Cc: Gouper Users List <>
- Subject: Re: [grouper-users] creating empty groups from an SQL source
- Date: Mon, 10 Oct 2016 11:39:35 -0700
- Ironport-phdr: 9a23:hqOilxS7sR4E/C/zidl2b7CW/Npsv+yvbD5Q0YIujvd0So/mwa67bRKN2/xhgRfzUJnB7Loc0qyN7PCmBDdLuMvJmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3XfDB4LeXtG4PUk9//l6Xro8WSME10g2+GYbJ2IRP+lQzNu81e1ZBiK6I8zDPFv3hFPela2DU7C0iUmkPe68m+tLto2DlUv/U8+M4IBaf3cao9RpRSAS4lPmQ49YvmuQSVHljH3WcVTmhDykkAOAPC9hyvG86p6iY=
I had thought that might be possible, but tried moving the select from grouperLoaderQuery to grouperLoaderGroupQuery. I get this error: // Error: unable to evaluate command: Sourced file: inline evaluation of: ``loaderRunOneJob(group);'' : Error invoking compiled command: : Error in compiled command: java.lang.RuntimeException: java.lang.RuntimeException: Invalid query, must start with select: order by group_name java.lang.RuntimeException: Invalid query, must start with select: order by group_name at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderResultset.<init>(GrouperLoaderResultset.java:404) ------- if (!query.toLowerCase().trim().startsWith("select")) { throw new RuntimeException("Invalid query, must start with select: " + query); } ——— I realized after a bit that what it means is that there isn’t a select statement in grouperLoaderQuery. As I read further, the grouperLoaderGroupQuery appeared to be an additional query that was only used as a way to add more descriptive information as well as permissions to the group. Given that, I went back to trying to find a way to load the empty groups independently of the grouperLoaderGroupQuery. If grouperLoaderGroupQuery is the way to do it, then I’m still missing what select statement needs to go in the grouperLoaderQuery? Thank you, Jeff
|
- [grouper-users] creating empty groups from an SQL source, Jeff McCullough, 10/10/2016
- Re: [grouper-users] creating empty groups from an SQL source, Shilen Patel, 10/10/2016
- Re: [grouper-users] creating empty groups from an SQL source, Jeff McCullough, 10/10/2016
- RE: [grouper-users] creating empty groups from an SQL source, Hyzer, Chris, 10/10/2016
- Re: [grouper-users] creating empty groups from an SQL source, Jeff McCullough, 10/10/2016
- RE: [grouper-users] creating empty groups from an SQL source, Hyzer, Chris, 10/10/2016
- Re: [grouper-users] creating empty groups from an SQL source, Jeff McCullough, 10/10/2016
- Re: [grouper-users] creating empty groups from an SQL source, Shilen Patel, 10/10/2016
Archive powered by MHonArc 2.6.19.